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

Function GetReversedBlock

cpp/src/arrow/util/bitmap_ops.cc:132–134  ·  view source on GitHub ↗

Get a reverse block of byte(uint8) using offsets, the result can be part of a left block and right block, length indicates the number of bits to be taken from the right block

Source from the content-addressed store, hash-verified

130// part of a left block and right block, length indicates the number of bits
131// to be taken from the right block
132uint8_t GetReversedBlock(uint8_t block_left, uint8_t block_right, uint8_t length) {
133 return ReverseUint8(((block_right << 8) + block_left) >> length);
134}
135
136/// Map output from readers and save it with the writer.
137///

Callers 1

ReverseBlockOffsetsFunction · 0.85

Calls 1

ReverseUint8Function · 0.85

Tested by

no test coverage detected