Home
last modified time | relevance | path

Searched refs:Num_ (Results 1 – 4 of 4) sorted by relevance

/external/grpc-grpc/src/csharp/Grpc.Examples/
DMathExamples.cs52 new Num { Num_ = 1 }, in SumExample()
53 new Num { Num_ = 2 }, in SumExample()
54 new Num { Num_ = 3 } in SumExample()
83 new Num { Num_ = 1 }, in DependendRequestsExample()
84 new Num { Num_ = 2 }, in DependendRequestsExample()
85 new Num { Num_ = 3 } in DependendRequestsExample()
95 …DivReply result = await client.DivAsync(new DivArgs { Dividend = sum.Num_, Divisor = numbers.Count… in DependendRequestsExample()
DMath.cs531 public long Num_ { property in Math.Num
551 if (Num_ != other.Num_) return false; in Equals()
558 if (Num_ != 0L) hash ^= Num_.GetHashCode(); in GetHashCode()
572 if (Num_ != 0L) { in WriteTo()
574 output.WriteInt64(Num_); in WriteTo()
584 if (Num_ != 0L) { in CalculateSize()
585 size += 1 + pb::CodedOutputStream.ComputeInt64Size(Num_); in CalculateSize()
598 if (other.Num_ != 0L) { in MergeFrom()
599 Num_ = other.Num_; in MergeFrom()
613 Num_ = input.ReadInt64(); in MergeFrom()
DMathServiceImpl.cs57 sum += num.Num_; in Sum()
60 return new Num { Num_ = sum }; in Sum()
85 yield return new Num { Num_ = a }; in FibInternal()
93 yield return new Num { Num_ = a }; in FibInternal()
/external/grpc-grpc/src/csharp/Grpc.Examples.Tests/
DMathClientServerTests.cs99 responses.Select((n) => n.Num_)); in Fib()
120 responses.Add(call.ResponseStream.Current.Num_); in FibWithCancel()
151 var numbers = new List<long> { 10, 20, 30 }.Select(n => new Num { Num_ = n }); in Sum()
155 Assert.AreEqual(60, result.Num_); in Sum()