Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/
Dbuddy.cc211 auto log_sz = static_cast<log_t>(Log2(rel_sz)); in SetBuddySegState() local
222 val = BitOr(static_cast<uint64_t>(log_sz - kBitOffset), MORE_BIT); in SetBuddySegState()
236 count_[log_sz]--; in SetBuddySegState()
238 count_[log_sz]++; in SetBuddySegState()
239 if (rel_addr < hint_[log_sz]) { in SetBuddySegState()
240 hint_[log_sz] = rel_addr; in SetBuddySegState()
253 auto log_sz = static_cast<log_t>(Log2(blk_sz)); in JoinBuddySeg() local
256 MS_ASSERT(count_[log_sz] >= 2); in JoinBuddySeg()
257 count_[log_sz] -= kLogszStep; in JoinBuddySeg()
260 for (int i = 0; i < log_sz; i++) { in JoinBuddySeg()