/external/grpc-grpc/src/csharp/Grpc.Examples/ |
D | MathExamples.cs | 29 DivReply result = client.Div(new DivArgs { Dividend = 10, Divisor = 3 }); in DivExample() 35 DivReply result = await client.DivAsync(new DivArgs { Dividend = 4, Divisor = 5 }); in DivAsyncExample() 66 var divArgsList = new List<DivArgs> in DivManyExample() 68 new DivArgs { Dividend = 10, Divisor = 3 }, in DivManyExample() 69 new DivArgs { Dividend = 100, Divisor = 21 }, in DivManyExample() 70 new DivArgs { Dividend = 7, Divisor = 2 } in DivManyExample() 95 …DivReply result = await client.DivAsync(new DivArgs { Dividend = sum.Num_, Divisor = numbers.Count… in DependendRequestsExample() 106 DivReply result = await client.DivAsync(new DivArgs { Dividend = 5, Divisor = 0 }); in HandleErrorExample() 125 var call = client.DivAsync(new DivArgs { Dividend = 5, Divisor = 0 }, requestHeaders); in MetadataExample()
|
D | MathGrpc.cs | 30 ….DivArgs> __Marshaller_math_DivArgs = grpc::Marshallers.Create((arg) => global::Google.Protobuf.Me… 35 …eadonly grpc::Method<global::Math.DivArgs, global::Math.DivReply> __Method_Div = new grpc::Method<… 42 …donly grpc::Method<global::Math.DivArgs, global::Math.DivReply> __Method_DivMany = new grpc::Metho… 79 …bal::System.Threading.Tasks.Task<global::Math.DivReply> Div(global::Math.DivArgs request, grpc::Se… in Div() 94 …ystem.Threading.Tasks.Task DivMany(grpc::IAsyncStreamReader<global::Math.DivArgs> requestStream, g… in DivMany() 159 …public virtual global::Math.DivReply Div(global::Math.DivArgs request, grpc::Metadata headers = nu… in Div() 170 … public virtual global::Math.DivReply Div(global::Math.DivArgs request, grpc::CallOptions options) in Div() 183 …public virtual grpc::AsyncUnaryCall<global::Math.DivReply> DivAsync(global::Math.DivArgs request, … in DivAsync() 194 …public virtual grpc::AsyncUnaryCall<global::Math.DivReply> DivAsync(global::Math.DivArgs request, … in DivAsync() 208 …public virtual grpc::AsyncDuplexStreamingCall<global::Math.DivArgs, global::Math.DivReply> DivMany… in DivMany() [all …]
|
D | Math.cs | 39 …new pbr::GeneratedClrTypeInfo(typeof(global::Math.DivArgs), global::Math.DivArgs.Parser, new[]{ "D… in MathReflection() 50 public sealed partial class DivArgs : pb::IMessage<DivArgs> { class 51 …private static readonly pb::MessageParser<DivArgs> _parser = new pb::MessageParser<DivArgs>(() => … 54 public static pb::MessageParser<DivArgs> Parser { get { return _parser; } } 67 public DivArgs() { in DivArgs() method in Math.DivArgs 74 public DivArgs(DivArgs other) : this() { in DivArgs() method in Math.DivArgs 81 public DivArgs Clone() { in Clone() 82 return new DivArgs(this); in Clone() 109 return Equals(other as DivArgs); in Equals() 113 public bool Equals(DivArgs other) { in Equals() [all …]
|
D | MathServiceImpl.cs | 33 public override Task<DivReply> Div(DivArgs request, ServerCallContext context) in Div() 63 …public override async Task DivMany(IAsyncStreamReader<DivArgs> requestStream, IServerStreamWriter<… in DivMany() 68 static DivReply DivInternal(DivArgs args) in DivInternal()
|
/external/grpc-grpc/src/php/tests/generated_code/ |
D | AbstractGeneratedCodeTest.php | 61 $div_arg = new Math\DivArgs(); 70 $div_arg = new Math\DivArgs(); 76 $div_arg = new Math\DivArgs(); 83 $div_arg = new Math\DivArgs(); 91 $div_arg = new Math\DivArgs(); 100 $div_arg = new Math\DivArgs(); 113 $div_arg = new Math\DivArgs(); 134 $div_arg = new Math\DivArgs(); 157 $div_arg = new Math\DivArgs(); 193 $div_arg = new Math\DivArgs(); [all …]
|
D | math_client.php | 41 $div_arg = new Math\DivArgs(); 80 $div_arg = new Math\DivArgs();
|
/external/grpc-grpc/src/csharp/Grpc.Examples.Tests/ |
D | MathClientMockableTest.cs | 39 …mockClient.Setup(m => m.Div(Moq.It.IsAny<DivArgs>(), null, null, CancellationToken.None)).Returns(… in ClientBaseBlockingUnaryCallCanBeMocked() 40 Assert.AreSame(expected, mockClient.Object.Div(new DivArgs())); in ClientBaseBlockingUnaryCallCanBeMocked() 49 …mockClient.Setup(m => m.Div(Moq.It.IsAny<DivArgs>(), Moq.It.IsAny<CallOptions>())).Returns(expecte… in ClientBaseBlockingUnaryCallWithCallOptionsCallCanBeMocked() 50 Assert.AreSame(expected, mockClient.Object.Div(new DivArgs(), new CallOptions())); in ClientBaseBlockingUnaryCallWithCallOptionsCallCanBeMocked() 60 …mockClient.Setup(m => m.DivAsync(Moq.It.IsAny<DivArgs>(), null, null, CancellationToken.None)).Ret… in ClientBaseAsyncUnaryCallCanBeMocked() 61 Assert.AreSame(fakeCall, mockClient.Object.DivAsync(new DivArgs())); in ClientBaseAsyncUnaryCallCanBeMocked() 92 var mockRequestStream = new Moq.Mock<IClientStreamWriter<DivArgs>>(); in ClientBaseDuplexStreamingCallCanBeMocked() 96 …var fakeCall = TestCalls.AsyncDuplexStreamingCall<DivArgs, DivReply>(mockRequestStream.Object, moc… in ClientBaseDuplexStreamingCallCanBeMocked()
|
D | MathClientServerTests.cs | 64 DivReply response = client.Div(new DivArgs { Dividend = 10, Divisor = 3 }); in Div1() 72 DivReply response = client.Div(new DivArgs { Dividend = 0, Divisor = 1 }); in Div2() 80 … var ex = Assert.Throws<RpcException>(() => client.Div(new DivArgs { Dividend = 0, Divisor = 0 })); in DivByZero() 87 DivReply response = await client.DivAsync(new DivArgs { Dividend = 10, Divisor = 3 }); in DivAsync() 162 var divArgsList = new List<DivArgs> in DivMany() 164 new DivArgs { Dividend = 10, Divisor = 3 }, in DivMany() 165 new DivArgs { Dividend = 100, Divisor = 21 }, in DivMany() 166 new DivArgs { Dividend = 7, Divisor = 2 } in DivMany()
|
D | MathServiceImplTestabilityTest.cs | 42 …var response = await mathImpl.Div(new DivArgs { Dividend = 10, Divisor = 2 }, fakeServerCallContex… in ServerCallImplIsTestable()
|
/external/grpc-grpc/src/proto/math/ |
D | math.proto | 20 message DivArgs { message 43 // Div divides DivArgs.dividend by DivArgs.divisor and returns the quotient 45 rpc Div (DivArgs) returns (DivReply) { 52 rpc DivMany (stream DivArgs) returns (stream DivReply) {
|
/external/rust/crates/grpcio-sys/grpc/src/proto/math/ |
D | math.proto | 20 message DivArgs { message 43 // Div divides DivArgs.dividend by DivArgs.divisor and returns the quotient 45 rpc Div (DivArgs) returns (DivReply) { 52 rpc DivMany (stream DivArgs) returns (stream DivReply) {
|
/external/grpc-grpc/src/ruby/bin/ |
D | math_services_pb.rb | 34 rpc :Div, DivArgs, DivReply 39 rpc :DivMany, stream(DivArgs), stream(DivReply)
|
D | math_pb.rb | 27 DivArgs = Google::Protobuf::DescriptorPool.generated_pool.lookup("math.DivArgs").msgclass constant
|
/external/grpc-grpc/src/ruby/ |
D | README.md | 69 req = Math::DivArgs.new(dividend: 7, divisor: 3)
|