Home
last modified time | relevance | path

Searched refs:unaryMethod (Results 1 – 12 of 12) sorted by relevance

/external/pigweed/pw_rpc/ts/
Ddescriptors_test.ts42 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/
DMockServiceHelper.cs42 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/
DAbstractBenchmark.java176 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()
DSingleThreadBlockingQpsBenchmark.java70 channels[0].newCall(unaryMethod, CallOptions.DEFAULT), Unpooled.EMPTY_BUFFER); in blockingUnary()
/external/pigweed/pw_rpc/java/test/dev/pigweed/pw_rpc/
DStreamObserverMethodClientTest.java37 Service.unaryMethod("SomeUnary", SomeMessage.class, AnotherMessage.class),
225 Service.unaryMethod("SomeUnary", AnotherMessage.class, AnotherMessage.class), in invalidMethod_throwsException()
DPacketsTest.java26 new Service("Greetings", Service.unaryMethod("Hello", RpcPacket.class, RpcPacket.class));
DClientTest.java46 Service.unaryMethod("SomeUnary", SomeMessage.class, AnotherMessage.class),
138 Service.unaryMethod("NotAnRpc", SomeMessage.class, AnotherMessage.class)); in method_unknownService()
DStreamObserverCallTest.java35 Service.unaryMethod("SomeUnary", SomeMessage.class, AnotherMessage.class),
DEndpointTest.java39 Service.unaryMethod("SomeUnary", SomeMessage.class, SomeMessage.class),
DFutureCallTest.java44 Service.unaryMethod("SomeUnary", SomeMessage.class, AnotherMessage.class),
/external/pigweed/pw_rpc/java/main/dev/pigweed/pw_rpc/
DService.java58 public static Method.Builder unaryMethod( in unaryMethod() method in Service
/external/bcc/tests/cc/
Dcatch.hpp4303 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()