/external/pigweed/pw_rpc/ts/ |
D | descriptors_test.ts | 42 const unaryMethod = service.methodsByName.get('SomeUnary')!; constant 43 expect(unaryMethod.name).toEqual('SomeUnary'); 44 expect(unaryMethod.clientStreaming).toBe(false); 45 expect(unaryMethod.serverStreaming).toBe(false); 46 expect(unaryMethod.service).toEqual(service); 47 expect(unaryMethod.requestType).toEqual(Request); 48 expect(unaryMethod.responseType).toEqual(Response);
|
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/ |
D | MockServiceHelper.cs | 42 readonly Method<string, string> unaryMethod; field in Grpc.Core.Tests.MockServiceHelper 61 unaryMethod = new Method<string, string>( in MockServiceHelper() 90 .AddMethod(unaryMethod, (request, context) => unaryHandler(request, context)) in MockServiceHelper() 154 return new CallInvocationDetails<string, string>(channel, unaryMethod, options); in CreateUnaryCall()
|
/external/grpc-grpc-java/benchmarks/src/jmh/java/io/grpc/benchmarks/netty/ |
D | AbstractBenchmark.java | 176 protected MethodDescriptor<ByteBuf, ByteBuf> unaryMethod; field in AbstractBenchmark 243 unaryMethod = MethodDescriptor.<ByteBuf, ByteBuf>newBuilder() in setup() 250 pingPongMethod = unaryMethod.toBuilder() in setup() 262 unaryMethod, in setup() 265 .addMethod(unaryMethod, new ServerCallHandler<ByteBuf, ByteBuf>() { in setup() 413 channel.newCall(unaryMethod, CALL_OPTIONS), slice, this); in startUnaryCalls()
|
D | SingleThreadBlockingQpsBenchmark.java | 70 channels[0].newCall(unaryMethod, CallOptions.DEFAULT), Unpooled.EMPTY_BUFFER); in blockingUnary()
|
/external/pigweed/pw_rpc/java/test/dev/pigweed/pw_rpc/ |
D | StreamObserverMethodClientTest.java | 37 Service.unaryMethod("SomeUnary", SomeMessage.class, AnotherMessage.class), 225 Service.unaryMethod("SomeUnary", AnotherMessage.class, AnotherMessage.class), in invalidMethod_throwsException()
|
D | PacketsTest.java | 26 new Service("Greetings", Service.unaryMethod("Hello", RpcPacket.class, RpcPacket.class));
|
D | ClientTest.java | 46 Service.unaryMethod("SomeUnary", SomeMessage.class, AnotherMessage.class), 138 Service.unaryMethod("NotAnRpc", SomeMessage.class, AnotherMessage.class)); in method_unknownService()
|
D | StreamObserverCallTest.java | 35 Service.unaryMethod("SomeUnary", SomeMessage.class, AnotherMessage.class),
|
D | EndpointTest.java | 39 Service.unaryMethod("SomeUnary", SomeMessage.class, SomeMessage.class),
|
D | FutureCallTest.java | 44 Service.unaryMethod("SomeUnary", SomeMessage.class, AnotherMessage.class),
|
/external/pigweed/pw_rpc/java/main/dev/pigweed/pw_rpc/ |
D | Service.java | 58 public static Method.Builder unaryMethod( in unaryMethod() method in Service
|
/external/bcc/tests/cc/ |
D | catch.hpp | 4303 void bind( void (C::* unaryMethod)( M ), std::string const& placeholder ) { in bind() 4304 m_arg->boundField = new Detail::BoundUnaryMethod<C,M>( unaryMethod ); in bind() 4310 void bind( void (C::* unaryMethod)( bool ) ) { in bind() 4311 m_arg->boundField = new Detail::BoundUnaryMethod<C,bool>( unaryMethod ); in bind()
|