/third_party/grpc/test/cpp/end2end/ |
D | grpclb_end2end_test.cc | 589 addresses.emplace_back(AddressData{balancers_[i]->port_, ""}); in SetNextResolutionAllBalancers() 619 backend_ports.push_back(backends_[i]->port_); in GetBackendPorts() 670 : port_(grpc_pick_unused_port_or_die()), in ServerThread() 675 gpr_log(GPR_INFO, "starting %s server on port %d", type_.c_str(), port_); in Start() 696 server_address << server_host << ":" << port_; in Serve() 716 const int port_; member 907 ports.push_back(backends_[0]->port_); in TEST_F() 908 ports.push_back(backends_[0]->port_); in TEST_F() 926 SetNextResolution({AddressData{balancers_[0]->port_, "lb"}}); in TEST_F() 958 SetNextResolution({AddressData{balancers_[0]->port_, "woops"}}); in TEST_F() [all …]
|
D | shutdown_test.cc | 66 port_ = grpc_pick_unused_port_or_die(); in SetUp() 67 server_ = SetUpServer(port_); in SetUp() 85 string target = "dns:localhost:" + to_string(port_); in ResetStub() 114 int port_; member in grpc::testing::ShutdownTest
|
D | proto_server_reflection_test.cc | 46 port_ = grpc_pick_unused_port_or_die(); in SetUp() 50 std::string server_address = "localhost:" + to_string(port_); in SetUp() 56 string target = "dns:localhost:" + to_string(port_); in ResetStub() 126 int port_; member in grpc::testing::ProtoServerReflectionTest
|
D | client_lb_end2end_test.cc | 264 ports.push_back(servers_[i]->port_); in GetServersPorts() 334 int port_; member 342 port_ = port > 0 ? port : grpc_pick_unused_port_or_die(); in ServerData() 346 gpr_log(GPR_INFO, "starting server on port %d", port_); in Start() 361 server_address << server_host << ":" << port_; in Serve() 516 response_generator.SetNextResolution({servers_[0]->port_}); in TEST_F() 526 second_response_generator.SetNextResolution({servers_[0]->port_}); in TEST_F() 703 ports.emplace_back(servers_[0]->port_); in TEST_F() 722 ports.emplace_back(servers_[1]->port_); in TEST_F() 730 ports.emplace_back(servers_[2]->port_); in TEST_F() [all …]
|
D | cfstream_test.cc | 128 port_ = grpc_pick_unused_port_or_die(); in StartServer() 129 server_.reset(new ServerData(port_, GetParam().credentials_type)); in StartServer() 141 server_address << server_host_ << ":" << port_; in BuildChannel() 246 int port_; member 254 : port_(port), creds_(creds) {} in ServerData() 257 gpr_log(GPR_INFO, "starting server on port %d", port_); in Start() 271 server_address << server_host << ":" << port_; in Serve() 294 int port_; member in grpc::testing::__anon6b05a8f50111::CFStreamTest
|
D | nonblocking_test.cc | 73 port_ = grpc_pick_unused_port_or_die(); in SetUp() 74 server_address_ << "localhost:" << port_; in SetUp() 105 grpc_recycle_unused_port(port_); in TearDown() 180 int port_; member in grpc::testing::__anonb00edf140211::NonblockingTest
|
D | flaky_network_test.cc | 181 port_ = SERVER_PORT; in StartServer() 183 server_.reset(new ServerData(port_, GetParam().credentials_type)); in StartServer() 202 server_address << server_host_ << ":" << port_; in BuildChannel() 245 int port_; member 253 : port_(port), creds_(creds) {} in ServerData() 256 gpr_log(GPR_INFO, "starting server on port %d", port_); in Start() 270 server_address << server_host << ":" << port_; in Serve() 318 int port_; member in grpc::testing::__anondeb12ea00111::FlakyNetworkTest
|
D | server_builder_plugin_test.cc | 140 port_ = grpc_pick_unused_port_or_die(); in SetUp() 171 std::string server_address = "localhost:" + to_string(port_); in StartServer() 182 string target = "dns:localhost:" + to_string(port_); in ResetStub() 212 int port_; member in grpc::testing::ServerBuilderPluginTest
|
D | port_sharing_end2end_test.cc | 95 port_(grpc_pick_unused_port_or_die()) { in TestTcpServer() 97 server_address << "localhost:" << port_; in TestTcpServer() 107 grpc_recycle_unused_port(port_); in ~TestTcpServer() 114 test_tcp_server_start(&tcp_server_, port_); in Start() 197 int port_ = -1; member in grpc::testing::__anon63b8e00f0111::TestTcpServer
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/ |
D | cache_admin_arg.cc | 45 port_(kCfgDefaultCachePort), in CacheAdminArgHandler() 54 port_ = static_cast<int32_t>(strtol(env_cache_port.c_str(), &end, kDecimal)); in CacheAdminArgHandler() 57 … port_ = 0; // cause the port range validation to generate an error during the validation checks in CacheAdminArgHandler() 293 RETURN_IF_NOT_OK(AssignArg(tok, &port_, arg_stream)); in ParseArgStream() 391 if (port_ < kMinLegalPort || port_ > kMaxLegalPort) { in Validate() 413 CacheClientGreeter comm(hostname_, port_, 1); in RunCommand() 418 …std::cout << "Session created for server on port " << std::to_string(port_) << ": " << rq->GetSess… in RunCommand() 423 CacheClientGreeter comm(hostname_, port_, 1); in RunCommand() 431 …"Drop session " << id << " successfully for server on port " << std::to_string(port_) << std::endl; in RunCommand() 436 CacheClientGreeter comm(hostname_, port_, 1); in RunCommand() [all …]
|
D | cache_grpc_server.cc | 26 CacheServerGreeterImpl::CacheServerGreeterImpl(int32_t port) : port_(port) { in CacheServerGreeterImpl() 54 std::string server_address = host + ":" + std::to_string(port_); in Run() 72 if (port_tcpip != port_) { in Run() 73 errMsg += "Unable to bind to tcpip port " + std::to_string(port_) + "."; in Run() 188 RETURN_IF_NOT_OK(PortToFtok(port_, &key)); in MonitorUnixSocket()
|
D | cache_grpc_client.cc | 23 …: num_connections_(num_connections), request_cnt_(0), hostname_(std::move(hostname)), port_(port) { in CacheClientGreeter() 28 MS_LOG(INFO) << "Hostname: " << hostname_ << ", port: " << std::to_string(port_); in CacheClientGreeter() 49 RETURN_IF_NOT_OK(PortToFtok(port_, &shm_key)); in AttachToSharedMemory() 122 err_msg = "Cache server with port " + std::to_string(port_) + in WorkerEntry()
|
D | cache_server.h | 72 int32_t GetPort() const { return port_; } in GetPort() 86 port_ = p; in SetPort() 145 … RETURN_IF_NOT_OK(CacheServer::CreateInstance(top_, num_workers_, port_, shared_memory_sz_in_gb_, in Build() 153 int32_t port_; variable 291 int32_t port_; variable
|
D | cache_grpc_client.h | 92 int32_t GetPort() const { return port_; } in GetPort() 105 int32_t port_; variable
|
/third_party/mindspore/mindspore/ccsrc/ps/core/communicator/ |
D | http_communicator.h | 36 : task_executor_(task_executor), http_server_(nullptr), ip_(ip), port_(port) { in HttpCommunicator() 37 http_server_ = std::make_shared<HttpServer>(ip_, port_, kThreadNum); in HttpCommunicator() 52 uint16_t port_; variable
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/cache/ |
D | dataset_cache_impl.cc | 36 if (port_) { in Build() 37 (void)builder.SetPort(port_.value()); in Build() 88 if (port_) args["port"] = port_.value(); in to_json()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/gnn/ |
D | grpc_async_server.cc | 25 GrpcAsyncServer::GrpcAsyncServer(const std::string &host, int32_t port) : host_(host), port_(port) … in GrpcAsyncServer() 30 std::string server_address = host_ + ":" + std::to_string(port_); in Run() 44 if (port_tcpip != port_) { in Run()
|
/third_party/grpc/test/cpp/qps/ |
D | server.h | 47 port_ = config.port(); in Server() 49 port_ = grpc_pick_unused_port_or_die(); in Server() 95 int port() const { return port_; } in port() 147 int port_;
|
/third_party/node/src/ |
D | node_options.h | 19 : host_name_(host_name), port_(port) {} in HostPort() 27 void set_port(int port) { port_ = port; } in set_port() 33 CHECK_GE(port_, 0); in port() 34 return port_; in port() 39 if (other.port_ >= 0) port_ = other.port_; in Update() 44 int port_; variable
|
D | inspector_socket_server.cc | 213 int port() const { return port_; } in port() 230 int port_ = -1; member in node::inspector::ServerSocket 262 port_(port), in InspectorSocketServer() 397 const std::string port_string = std::to_string(port_); in Start() 421 host_.c_str(), port_, uv_strerror(err)); in Start() 462 return port_; in Port() 533 port_ = ntohs(port); in DetectPort() 558 server_socket->server_->Accept(server_socket->port_, tcp_socket); in SocketConnectedCallback()
|
/third_party/grpc/test/cpp/microbenchmarks/ |
D | fullstack_fixtures.h | 116 : FullstackFixture(service, fixture_configuration, MakeAddress(&port_)) {} in FullstackFixture() argument 118 ~TCP() { grpc_recycle_unused_port(port_); } in ~TCP() 121 int port_; 135 : FullstackFixture(service, fixture_configuration, MakeAddress(&port_)) {} in FullstackFixture() argument 137 ~UDS() { grpc_recycle_unused_port(port_); } in ~UDS() 140 int port_;
|
/third_party/cef/libcef/browser/devtools/ |
D | devtools_manager_delegate.cc | 44 : address_(address), port_(port) {} in TCPServerSocketFactory() 54 if (socket->ListenWithAddressAndPort(address_, port_, kBackLog) != net::OK) in CreateForHttpServer() 65 uint16_t port_; member in __anon69b31cfd0111::TCPServerSocketFactory
|
/third_party/mindspore/mindspore/ccsrc/ps/core/ |
D | node_info.h | 39 …NodeInfo() : ip_(""), port_(0), node_role_(NodeRole::SCHEDULER), rank_id_(UINT32_MAX), is_alive(fa… in NodeInfo() 43 uint16_t port_; member
|
/third_party/grpc/test/cpp/client/ |
D | client_channel_stress_test.cc | 157 addresses.emplace_back(AddressData{balancer_server.port_, ""}); in Run() 179 port_ = grpc_pick_unused_port_or_die(); in ServerThread() 180 gpr_log(GPR_INFO, "starting %s server on port %d", type_.c_str(), port_); in ServerThread() 194 server_address << server_host << ":" << port_; in Start() 210 int port_; member 297 backend_ports.push_back(backend_servers_.back().port_); in Start()
|
/third_party/grpc/test/core/tsi/alts/handshaker/ |
D | alts_concurrent_connectivity_test.cc | 340 port_ = grpc_pick_unused_port_or_die(); in FakeTcpServer() 342 address_ = absl::StrCat("[::]:", port_); in FakeTcpServer() 353 port_, errno); in FakeTcpServer() 363 addr.sin6_port = htons(port_); in FakeTcpServer() 366 gpr_log(GPR_ERROR, "Failed to bind socket to [::1]:%d : %d", port_, in FakeTcpServer() 372 port_, errno); in FakeTcpServer() 480 int port_; member in __anon047530350111::FakeTcpServer
|