Searched refs:kVarintMax (Results 1 – 2 of 2) sorted by relevance
357 constexpr uint32_t kVarintMax = 11; variable396 return (x <= kVarintMax) ? x : ReadBits((x - kVarintMax) * kBitsPerByte); in ReadVarint()413 if (UNLIKELY(values[i] > kVarintMax)) { in ReadInterleavedVarints()414 values[i] = ReadBits((values[i] - kVarintMax) * kBitsPerByte); in ReadInterleavedVarints()476 if (value > kVarintMax) { in WriteInterleavedVarints()477 WriteBits(kVarintMax + BitsToBytesRoundUp(MinimumBitsToStore(value)), kVarintBits); in WriteInterleavedVarints()484 if (value > kVarintMax) { in WriteInterleavedVarints()
380 DCHECK_LE(flags, kVarintMax); // Ensure flags can be read directly as byte. in Encode()