Home
last modified time | relevance | path

Searched refs:hostname_ (Results 1 – 10 of 10) sorted by relevance

/third_party/grpc/test/cpp/interop/
Dxds_interop_server.cc56 TestServiceImpl(const std::string& i) : hostname_(i) {} in TestServiceImpl()
61 response->set_hostname(hostname_); in UnaryCall()
62 context->AddInitialMetadata("hostname", hostname_); in UnaryCall()
68 context->AddInitialMetadata("hostname", hostname_); in EmptyCall()
73 std::string hostname_; member in TestServiceImpl
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/cache/
Ddataset_cache_impl.cc33 if (hostname_) { in Build()
34 (void)builder.SetHostname(hostname_.value()); in Build()
87 if (hostname_) args["hostname"] = hostname_.value(); in to_json()
Ddataset_cache_impl.h56 hostname_ = std::nullopt; in DatasetCacheImpl()
58 hostname_ = std::string(hostname->begin(), hostname->end()); in DatasetCacheImpl()
85 std::optional<std::string> hostname_; variable
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/
Dcache_admin_arg.cc44 hostname_(kCfgDefaultCacheHost), in CacheAdminArgHandler()
50 hostname_ = env_cache_host; in CacheAdminArgHandler()
283 RETURN_IF_NOT_OK(AssignArg(tok, &hostname_, arg_stream)); in ParseArgStream()
285 if (hostname_ != std::string(kCfgDefaultCacheHost)) { in ParseArgStream()
287 … "Invalid host interface: " + hostname_ + ". Current limitation, only 127.0.0.1 can be used."; in ParseArgStream()
413 CacheClientGreeter comm(hostname_, port_, 1); in RunCommand()
423 CacheClientGreeter comm(hostname_, port_, 1); in RunCommand()
436 CacheClientGreeter comm(hostname_, port_, 1); in RunCommand()
487 CacheClientGreeter comm(hostname_, port_, 1); in ShowServerInfo()
506 …std::cout << std::left << std::setw(name_w) << "hostname" << std::setw(value_w) << hostname_ << st… in ShowServerInfo()
[all …]
Dcache_grpc_client.h91 std::string GetHostname() const { return hostname_; } in GetHostname()
104 std::string hostname_; variable
Dcache_client.h92 hostname_ = std::move(host); in SetHostname()
124 const std::string &GetHostname() const { return hostname_; } in GetHostname()
137 std::string hostname_; variable
Dcache_client.cc27 …: session_id_(0), cache_mem_sz_(0), spill_(false), hostname_(""), port_(0), num_connections_(0), p… in Builder()
29 hostname_ = cfg->cache_host(); in Builder()
38 …*out = std::make_shared<CacheClient>(session_id_, cache_mem_sz_, spill_, hostname_, port_, num_con… in Build()
48 CHECK_FAIL_RETURN_SYNTAX_ERROR(!hostname_.empty(), "hostname must not be empty."); in SanityCheck()
51 CHECK_FAIL_RETURN_SYNTAX_ERROR(hostname_ == "127.0.0.1", in SanityCheck()
Dcache_grpc_client.cc23 …: 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()
Dcache_admin_arg.h107 std::string hostname_; variable
/third_party/grpc/src/csharp/Grpc.IntegrationTesting/
DMessages.cs1377 hostname_ = other.hostname_; in SimpleResponse()
1460 private string hostname_ = ""; field in Grpc.Testing.SimpleResponse
1466 get { return hostname_; }
1468 hostname_ = pb::ProtoPreconditions.CheckNotNull(value, "value");