Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/
Dbuddy.cc23 inline uint64_t BitLeftShift(uint64_t v, uint64_t n) { return (v << n); } in BitLeftShift() function
47 min_ = BitLeftShift(1, log_min_); in Init()
48 max_ = BitLeftShift(1, log_min_ + num_lvl_ - 1); in Init()
51 …size_t offset_3 = sizeof(char) * BitLeftShift(1, static_cast<uint64_t>(num_lvl_ - kBitOffset)) + o… in Init()
130 auto max_addr = static_cast<rel_addr_t>(BitLeftShift(1, s.num_lvl_ - 1)); in operator <<()
176 val = BitLeftShift(BitAnd(byte, 0x0F), shift); in GetBuddySegState()
180 val = BitLeftShift(BitAnd(byte, 0x30), shift); in GetBuddySegState()
182 val = BitLeftShift(BitAnd(byte, 0x03), shift); in GetBuddySegState()
192 *rel_sz = BitLeftShift(1, static_cast<uint64_t>(lg + kBitLeftShift)); in GetBuddySegState()
247 while (blk_sz < BitLeftShift(1, num_lvl_)) { in JoinBuddySeg()
[all …]