Searched refs:RoundUpToPowerOfTwo (Results 1 – 6 of 6) sorted by relevance
489 static constexpr size_t RoundUpToPowerOfTwo(size_t X) { in RoundUpToPowerOfTwo() function498 static constexpr size_t SmallSizePowTwo = RoundUpToPowerOfTwo(SmallSize);
285 return RoundUpToPowerOfTwo((NumEntries * 4 / 3 + 1) + /* NextPowerOf2 */ 1); in getMinBucketToReserveForEntries()648 allocateBuckets(RoundUpToPowerOfTwo(Max<unsigned>(64, AtLeast))); in grow()
449 inline uptr RoundUpToPowerOfTwo(uptr size) { in RoundUpToPowerOfTwo() function534 uptr new_capacity = RoundUpToPowerOfTwo(size_ + 1); in push_back()
418 RoundUpToPowerOfTwo(MostSignificantSetBitIndex(max_value) + 1); in PackedCounterArray()
239 uptr stack_size_log = Log2(RoundUpToPowerOfTwo(stack_size)); in AsyncSignalSafeLazyInitFakeStack()
465 u32 hdr_log = RZSize2Log(RoundUpToPowerOfTwo(sizeof(ChunkHeader))); in ComputeRZLog()