Searched refs:kVarintMax (Results 1 – 2 of 2) sorted by relevance
253 constexpr uint32_t kVarintMax = 11; // Maximum value which is stored "inline". variable292 return (x <= kVarintMax) ? x : ReadBits((x - kVarintMax) * kBitsPerByte); in ReadVarint()309 if (UNLIKELY(values[i] > kVarintMax)) { in ReadInterleavedVarints()310 values[i] = ReadBits((values[i] - kVarintMax) * kBitsPerByte); in ReadInterleavedVarints()364 if (value > kVarintMax) { in WriteInterleavedVarints()365 WriteBits(kVarintMax + BitsToBytesRoundUp(MinimumBitsToStore(value)), kVarintBits); in WriteInterleavedVarints()372 if (value > kVarintMax) { in WriteInterleavedVarints()
319 DCHECK_LE(flags, kVarintMax); // Ensure flags can be read directly as byte. in Encode()