Searched refs:kClockCount (Results 1 – 4 of 4) sorted by relevance
302 if (RoundUpTo(nclk, ClockBlock::kClockCount) <= in Resize()303 RoundUpTo(size_, ClockBlock::kClockCount)) { in Resize()309 if (nclk <= ClockBlock::kClockCount) { in Resize()326 } else if (size_ <= ClockBlock::kClockCount) { in Resize()336 for (uptr i = RoundUpTo(size_, ClockBlock::kClockCount); in Resize()337 i < nclk; i += ClockBlock::kClockCount) { in Resize()341 CHECK_EQ(tab_->table[i/ClockBlock::kClockCount], 0); in Resize()342 tab_->table[i/ClockBlock::kClockCount] = idx; in Resize()389 } else if (size_ <= ClockBlock::kClockCount) { in Reset()394 for (uptr i = 0; i < size_; i += ClockBlock::kClockCount) in Reset()[all …]
29 static const uptr kClockCount = kSize / sizeof(ClockElem); member33 ClockElem clock[kClockCount];
479 } else if (size_ > blocks_ * ClockBlock::kClockCount) { in Resize()482 uptr top = size_ - blocks_ * ClockBlock::kClockCount; in Resize()483 CHECK_LT(top, ClockBlock::kClockCount); in Resize()573 const uptr block = tid / ClockBlock::kClockCount; in elem()575 tid %= ClockBlock::kClockCount; in elem()589 uptr top = ClockBlock::kClockCount - RoundUpTo(blocks_ + 1, ratio) / ratio; in capacity()590 return blocks_ * ClockBlock::kClockCount + top; in capacity()641 end_ = pos_ + min(parent_->size_ - block_ * ClockBlock::kClockCount, in Next()642 ClockBlock::kClockCount); in Next()646 parent_->size_ > parent_->blocks_ * ClockBlock::kClockCount) { in Next()[all …]
51 static const uptr kClockCount = kSize / sizeof(ClockElem); member57 ClockElem clock[kClockCount];68 const unsigned kMaxTid = (1 << kTidBits) - ClockBlock::kClockCount;