Searched refs:kVarintMax (Results 1 – 1 of 1) sorted by relevance
218 constexpr uint32_t kVarintMax = 11; // Maximum value which is stored "inline". variable257 return (x <= kVarintMax) ? x : ReadBits((x - kVarintMax) * kBitsPerByte); in ReadVarint()274 if (UNLIKELY(values[i] > kVarintMax)) { in ReadInterleavedVarints()275 values[i] = ReadBits((values[i] - kVarintMax) * kBitsPerByte); in ReadInterleavedVarints()329 if (value > kVarintMax) { in WriteInterleavedVarints()330 WriteBits(kVarintMax + BitsToBytesRoundUp(MinimumBitsToStore(value)), kVarintBits); in WriteInterleavedVarints()337 if (value > kVarintMax) { in WriteInterleavedVarints()