Home
last modified time | relevance | path

Searched refs:ClientType (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/tests/
Dcompute_constant_test.cc43 enum class ClientType { kLocal, kCompileOnly }; enum
44 ClientType client_types[] = {ClientType::kLocal, ClientType::kCompileOnly};
55 Client* ClientOrDie(se::Platform* platform, ClientType client_type) { in ClientOrDie()
56 if (client_type == ClientType::kLocal) { in ClientOrDie()
62 } else if (client_type == ClientType::kCompileOnly) { in ClientOrDie()
99 for (ClientType client_type : client_types) { in TEST_F()
112 for (ClientType client_type : client_types) { in TEST_F()
126 for (ClientType client_type : client_types) { in TEST_F()
141 for (ClientType client_type : client_types) { in TEST_F()
155 for (ClientType client_type : client_types) { in TEST_F()
[all …]
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DClientRunners.cs78 config.ClientType, in CreateStarted()
126 readonly ClientType clientType;
137 …public ClientRunnerImpl(List<Channel> channels, ClientType clientType, RpcType rpcType, int outsta… in ClientRunnerImpl()
311 …GrpcPreconditions.CheckArgument(clientType == ClientType.AsyncClient, "Generic client only support… in RunClientAsync()
317 if (clientType == ClientType.SyncClient) in RunClientAsync()
323 else if (clientType == ClientType.AsyncClient) in RunClientAsync()
DControl.cs106 …new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Grpc.Testing.ClientType), typeof(global::Grpc.… in ControlReflection()
132 public enum ClientType { enum
1080 private global::Grpc.Testing.ClientType clientType_ = 0;
1082 public global::Grpc.Testing.ClientType ClientType { property in Grpc.Testing.ClientConfig
1295 if (ClientType != other.ClientType) return false; in Equals()
1318 if (ClientType != 0) hash ^= ClientType.GetHashCode(); in GetHashCode()
1348 if (ClientType != 0) { in WriteTo()
1350 output.WriteEnum((int) ClientType); in WriteTo()
1415 if (ClientType != 0) { in CalculateSize()
1416 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ClientType); in CalculateSize()
[all …]
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/driver/
DLoadClient.java96 if (config.getClientType() == Control.ClientType.ASYNC_CLIENT) { in LoadClient()
109 if (config.getClientType() == Control.ClientType.SYNC_CLIENT) { in LoadClient()
180 if (config.getClientType() == Control.ClientType.SYNC_CLIENT) { in start()
184 } else if (config.getClientType() == Control.ClientType.ASYNC_CLIENT) { in start()
194 if (config.getClientType() == Control.ClientType.SYNC_CLIENT) { in start()
198 } else if (config.getClientType() == Control.ClientType.ASYNC_CLIENT) { in start()
/external/grpc-grpc-java/benchmarks/src/test/java/io/grpc/benchmarks/driver/
DLoadWorkerTest.java78 .setClientType(Control.ClientType.SYNC_CLIENT) in runUnaryBlockingClosedLoop()
106 .setClientType(Control.ClientType.ASYNC_CLIENT) in runUnaryAsyncClosedLoop()
135 .setClientType(Control.ClientType.ASYNC_CLIENT) in runPingPongAsyncClosedLoop()
164 .setClientType(Control.ClientType.ASYNC_CLIENT) in runGenericPingPongAsyncClosedLoop()
DLoadClientTest.java45 config.setClientType(Control.ClientType.SYNC_CLIENT); in testHistogramToStatsConversion()
/external/grpc-grpc/src/php/tests/qps/generated_code/Grpc/Testing/
DClientType.php10 class ClientType class
DClientConfig.php154 GPBUtil::checkEnum($var, \Grpc\Testing\ClientType::class);
/external/grpc-grpc/test/cpp/qps/
Dqps_worker.cc57 case ClientType::SYNC_CLIENT: in CreateClient()
59 case ClientType::ASYNC_CLIENT: in CreateClient()
/external/grpc-grpc-java/benchmarks/src/main/proto/grpc/testing/
Dcontrol.proto24 enum ClientType { enum
82 ClientType client_type = 2;
/external/grpc-grpc/src/proto/grpc/testing/
Dcontrol.proto22 enum ClientType { enum
81 ClientType client_type = 2;
/external/grpc-grpc/src/ruby/qps/src/proto/grpc/testing/
Dcontrol_pb.rb179ClientType = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.ClientType").enu… constant
/external/grpc-grpc-java/benchmarks/src/generated/main/java/io/grpc/benchmarks/proto/
DControl.java20 public enum ClientType enum in Control
81 public static ClientType valueOf(int value) { in valueOf()
85 public static ClientType forNumber(int value) { in forNumber()
94 public static com.google.protobuf.Internal.EnumLiteMap<ClientType>
99 ClientType> internalValueMap =
100 new com.google.protobuf.Internal.EnumLiteMap<ClientType>() {
101 public ClientType findValueByNumber(int number) {
102 return ClientType.forNumber(number);
119 private static final ClientType[] VALUES = values();
121 public static ClientType valueOf( in valueOf()
[all …]