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

Method NextRun

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

Source from the content-addressed store, hash-verified

65 : reader_(bitmap, start_offset, length) {}
66
67 BitRun NextRun() {
68 BitRun rl = {/*length=*/0, reader_.IsSet()};
69 // Advance while the values are equal and not at the end of list.
70 while (reader_.position() < reader_.length() && reader_.IsSet() == rl.set) {
71 rl.length++;
72 reader_.Next();
73 }
74 return rl;
75 }
76
77 private:
78 BitmapReader reader_;

Callers 15

VisitValidRunsMethod · 0.45
ReferenceBitRunsMethod · 0.45
AllBitRunsMethod · 0.45
TESTFunction · 0.45
SpacedCompressFunction · 0.45
SpacedExpandRightwardFunction · 0.45
SpacedExpandLeftwardFunction · 0.45
MinViewOffsetFunction · 0.45
MaxViewEndFunction · 0.45
VisitBitRunsFunction · 0.45
VisitSetBitRunsFunction · 0.45

Calls 4

IsSetMethod · 0.45
positionMethod · 0.45
lengthMethod · 0.45
NextMethod · 0.45

Tested by 3

ReferenceBitRunsMethod · 0.36
AllBitRunsMethod · 0.36
TESTFunction · 0.36