Searched refs:num_connections_ (Results 1 – 8 of 8) sorted by relevance
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/cache/ |
D | dataset_cache_impl.cc | 39 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()
|
D | dataset_cache_impl.h | 53 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/ |
D | cache_client.h | 108 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
|
D | cache_client.cc | 27 …: 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()
|
D | cache_grpc_client.cc | 23 …: 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()
|
D | cache_grpc_client.h | 99 int32_t num_connections_; variable
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/core/ |
D | config_manager.cc | 49 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()
|
D | config_manager.h | 105 int32_t num_connections() const { return num_connections_; } in num_connections() 257 int32_t num_connections_; variable
|