Searched refs:kVarintBits (Results 1 – 2 of 2) sorted by relevance
329 constexpr uint32_t kVarintBits = 4; variable395 uint32_t x = ReadBits(kVarintBits); in ReadVarint()404 static_assert(N * kVarintBits <= sizeof(uint64_t) * kBitsPerByte, "N too big"); in ReadInterleavedVarints()407 uint64_t data = ReadBits<uint64_t>(N * kVarintBits); in ReadInterleavedVarints()409 values[i] = BitFieldExtract(data, i * kVarintBits, kVarintBits); in ReadInterleavedVarints()477 WriteBits(kVarintMax + BitsToBytesRoundUp(MinimumBitsToStore(value)), kVarintBits); in WriteInterleavedVarints()479 WriteBits(value, kVarintBits); in WriteInterleavedVarints()
46 uint32_t upper_bound = RoundUp(MinimumBitsToStore(value), kBitsPerByte) + kVarintBits; in TEST()