Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
279
constexpr int32_t MaxLEB128ByteLen(int32_t n_bits) {
280
return static_cast<int32_t>(CeilDiv(n_bits, 7));
281
}
282
283
template <typename Int>
284
constexpr int32_t kMaxLEB128ByteLenFor = MaxLEB128ByteLen(sizeof(Int) * 8);
Callers
1
bit_util.h
File · 0.85
Calls
1
CeilDiv
Function · 0.85
Tested by
no test coverage detected