Home
last modified time | relevance | path

Searched refs:num_connections_ (Results 1 – 8 of 8) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/cache/
Ddataset_cache_impl.cc39 if (num_connections_) { in Build()
40 (void)builder.SetNumConnections(num_connections_.value()); in Build()
89 if (num_connections_) args["num_connections"] = num_connections_.value(); in to_json()
Ddataset_cache_impl.h53 num_connections_(std::move(num_connections)), in DatasetCacheImpl()
87 std::optional<int32_t> num_connections_; variable
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/
Dcache_client.h108 num_connections_ = num_connections; in SetNumConnections()
126 int32_t GetNumConnections() const { return num_connections_; } in GetNumConnections()
139 int32_t num_connections_; variable
232 int32_t GetNumConnections() const { return num_connections_; } in GetNumConnections()
287 int32_t num_connections_; variable
Dcache_client.cc27 …: session_id_(0), cache_mem_sz_(0), spill_(false), hostname_(""), port_(0), num_connections_(0), p… in Builder()
31 num_connections_ = cfg->num_connections(); // number of async tcp/ip connections in Builder()
38 …d::make_shared<CacheClient>(session_id_, cache_mem_sz_, spill_, hostname_, port_, num_connections_, in Build()
46 …CHECK_FAIL_RETURN_SYNTAX_ERROR(num_connections_ > 0, "number of tcp/ip connections must be positiv… in SanityCheck()
64 num_connections_(num_connections), in CacheClient()
68 comm_ = std::make_shared<CacheClientGreeter>(hostname, port, num_connections_); in CacheClient()
Dcache_grpc_client.cc23 …: num_connections_(num_connections), request_cnt_(0), hostname_(std::move(hostname)), port_(port) { in CacheClientGreeter()
60 RETURN_IF_NOT_OK(DispatchWorkers(num_connections_)); in DoServiceStart()
Dcache_grpc_client.h99 int32_t num_connections_; variable
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/core/
Dconfig_manager.cc49 num_connections_(kDftNumConnections), in ConfigManager()
92 set_num_connections(j.value("numConnections", num_connections_)); in FromJson()
163 void ConfigManager::set_num_connections(int32_t num_connections) { num_connections_ = num_connectio… in set_num_connections()
Dconfig_manager.h105 int32_t num_connections() const { return num_connections_; } in num_connections()
257 int32_t num_connections_; variable