Home
last modified time | relevance | path

Searched refs:kDecimal (Results 1 – 9 of 9) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/
Dcache_main.cc54 int32_t port = static_cast<int32_t>(strtol(argv[ArgIndex::kPort], nullptr, ds::kDecimal)); in StartServer()
56 .SetNumWorkers(static_cast<int32_t>(strtol(argv[ArgIndex::kNumWorkers], nullptr, ds::kDecimal))) in StartServer()
58 …orySizeInGB(static_cast<int32_t>(strtol(argv[ArgIndex::kSharedMemorySize], nullptr, ds::kDecimal))) in StartServer()
59 .SetLogLevel(static_cast<int8_t>((strtol(argv[ArgIndex::kLogLevel], nullptr, ds::kDecimal)))) in StartServer()
87 static_cast<int>(strtol(argv[ArgIndex::kLogLevel], nullptr, ds::kDecimal)); in StartServer()
Dcache_hw.cc123 …numa_node = static_cast<numa_id_t>(strtol(node_dir.data() + strlen(kNodeName), nullptr, kDecimal)); in GetNumaNodeInfo()
148 cpu_id_t cpu_min = static_cast<cpu_id_t>(strtol(min.data(), nullptr, kDecimal)); in GetNumaNodeInfo()
149 cpu_id_t cpu_max = static_cast<cpu_id_t>(strtol(max.data(), nullptr, kDecimal)); in GetNumaNodeInfo()
Dcache_server.cc341 auto addr = strtoll(rq->buf_data(BufDataIndex::kAddr).data(), nullptr, kDecimal); in FastCacheRow()
344 auto sz = strtoll(rq->buf_data(BufDataIndex::kSize).data(), nullptr, kDecimal); in FastCacheRow()
388 int64_t addr = strtol(rq->buf_data(kBatchWaitIdx).data(), nullptr, kDecimal); in InternalCacheRow()
419 int64_t addr = strtol(rq->buf_data(BufDataIndex::kBatchWait).data(), nullptr, kDecimal); in InternalFetchRow()
768 offset_addr = strtoll(rq->buf_data(BufDataIndex::kAddr).data(), nullptr, kDecimal); in BatchCacheRows()
770 …m_elem = static_cast<int32_t>(strtol(rq->buf_data(BufDataIndex::kSize).data(), nullptr, kDecimal)); in BatchCacheRows()
1118 auto requestedSz = strtoll(rq->buf_data(0).data(), nullptr, kDecimal); in AllocateSharedMemory()
1137 auto addr = strtoll(rq->buf_data(0).data(), nullptr, kDecimal); in FreeSharedMemory()
Dcache_request.cc110 row_id_from_server_ = strtoll(reply_.result().data(), nullptr, kDecimal); in PostReply()
165 auto addr = strtoll(reply_.result().data(), nullptr, kDecimal); in RestoreRows()
Dcache_admin_arg.cc54 port_ = static_cast<int32_t>(strtol(env_cache_port.c_str(), &end, kDecimal)); in CacheAdminArgHandler()
63 log_level_ = static_cast<int32_t>(strtol(env_log_level.c_str(), &end, kDecimal)); in CacheAdminArgHandler()
Dcache_request.h449 auto addr = strtoll(reply_.result().data(), nullptr, kDecimal); in GetAddr()
/third_party/flatbuffers/src/
Dflathash.cpp25 enum OutputFormat { kDecimal, kHexadecimal, kHexadecimal0x }; enumerator
80 output_format = kDecimal; in main()
93 if (output_format == kDecimal) { in main()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/
Dconstants.h251 constexpr int32_t kDecimal = 10; // used in strtol() to convert a string value according to decima… variable
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/core/
Dconfig_manager.cc65 cache_port_ = static_cast<int32_t>(strtol(env_cache_port.c_str(), &end, kDecimal)); in ConfigManager()