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

Function LoadFullWord

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

Source from the content-addressed store, hash-verified

297 }
298
299 uint64_t LoadFullWord() {
300 uint64_t word;
301 if (Reverse) {
302 bitmap_ -= 8;
303 }
304 memcpy(&word, bitmap_, 8);
305 if (!Reverse) {
306 bitmap_ += 8;
307 }
308 return bit_util::ToLittleEndian(word);
309 }
310
311 uint64_t LoadPartialWord(int8_t bit_offset, int64_t num_bits) {
312 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