Searched refs:UNIQUEID_LEN (Results 1 – 3 of 3) sorted by relevance
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/ |
D | services.cc | 62 char buffer[UNIQUEID_LEN]; in GetUniqueID() 66 auto ret = memset_s(buffer, UNIQUEID_LEN, 0, UNIQUEID_LEN); in GetUniqueID() 71 for (int i = 0; i < UNIQUEID_LEN; i++) { in GetUniqueID() 74 if (unique_id_list_.find(std::string(buffer, UNIQUEID_LEN)) != unique_id_list_.end()) { in GetUniqueID() 77 unique_id_list_[std::string(buffer, UNIQUEID_LEN)] = unique_id_count_; in GetUniqueID() 96 return std::string(buffer, UNIQUEID_LEN); in GetUniqueID()
|
D | services.h | 29 #define UNIQUEID_LEN 36 macro
|
/third_party/mindspore/tests/ut/cpp/dataset/ |
D | circular_pool_test.cc | 60 (void) memcpy_s(p, old_sz, common::SafeCStr(id), UNIQUEID_LEN); in TestMem() 62 int n = memcmp(p, common::SafeCStr(id), UNIQUEID_LEN); in TestMem()
|