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

Function LoadFullWord

cpp/src/arrow/util/bit_run_reader.h:293–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291 }
292
293 uint64_t LoadFullWord() {
294 uint64_t word;
295 if (Reverse) {
296 bitmap_ -= 8;
297 }
298 memcpy(&word, bitmap_, 8);
299 if (!Reverse) {
300 bitmap_ += 8;
301 }
302 return bit_util::ToLittleEndian(word);
303 }
304
305 uint64_t LoadPartialWord(int8_t bit_offset, int64_t num_bits) {
306 assert(num_bits > 0);

Callers 4

NextWordMethod · 0.85
NextRunFunction · 0.85
SkipNextZerosFunction · 0.85
CountNextOnesFunction · 0.85

Calls 1

ToLittleEndianFunction · 0.70

Tested by

no test coverage detected