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

Function ComputeBitsShiftForBlock

cpp/src/arrow/compute/key_map_internal.h:270–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268 return bits_hash_ - log_blocks - bits_stamp_;
269 }
270 static int ComputeBitsShiftForBlock(int log_blocks) {
271 if (ARROW_PREDICT_FALSE(log_blocks + bits_stamp_ > bits_hash_)) {
272 return bits_hash_ - log_blocks;
273 }
274 return bits_stamp_;
275 }
276
277 static constexpr int bytes_status_in_block_ = 8;
278

Callers 4

grow_doubleMethod · 0.85
initMethod · 0.85
cleanupMethod · 0.85
key_map_internal.hFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected