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

Function ShiftWord

cpp/src/arrow/util/bit_block_counter.h:42–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42inline uint64_t ShiftWord(uint64_t current, uint64_t next, int64_t shift) {
43 if (shift == 0) {
44 return current;
45 }
46 return (current >> shift) | (next << (64 - shift));
47}
48
49// These templates are here to help with unit tests
50

Callers 3

NextFourWordsFunction · 0.85
NextWordFunction · 0.85
BitBlockCount NextWordFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected