Searched refs:BitsToBytesRoundUp (Results 1 – 5 of 5) sorted by relevance
186 EXPECT_EQ(hasher(MemoryRegion(&value0, BitsToBytesRoundUp(MinimumBitsToStore(value0[0])))), in TEST()187 hasher(MemoryRegion(&value1, BitsToBytesRoundUp(MinimumBitsToStore(value1[0]))))); in TEST()
306 out_->resize(BitsToBytesRoundUp(bit_offset_ + bit_length)); in Allocate()330 WriteBits(kVarintMax + BitsToBytesRoundUp(MinimumBitsToStore(value)), kVarintBits); in WriteInterleavedVarints()338 WriteBits(value, BitsToBytesRoundUp(MinimumBitsToStore(value)) * kBitsPerByte); in WriteInterleavedVarints()
503 inline static constexpr size_t BitsToBytesRoundUp(size_t num_bits) { in BitsToBytesRoundUp() function
415 MemoryRegion region(const_cast<void*>(bitmap), BitsToBytesRoundUp(num_bits)); in Dedup()
245 codeinfo_stats->AddBytes(BitsToBytesRoundUp(num_bits)); in CollectSizeStats()