MCPcopy Create free account
hub / github.com/apache/arrow / MaxLEB128ByteLen

Function MaxLEB128ByteLen

cpp/src/arrow/util/bit_util.h:279–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277}
278
279constexpr int32_t MaxLEB128ByteLen(int32_t n_bits) {
280 return static_cast<int32_t>(CeilDiv(n_bits, 7));
281}
282
283template <typename Int>
284constexpr int32_t kMaxLEB128ByteLenFor = MaxLEB128ByteLen(sizeof(Int) * 8);

Callers 1

bit_util.hFile · 0.85

Calls 1

CeilDivFunction · 0.85

Tested by

no test coverage detected