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

Method NextRun

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

Source from the content-addressed store, hash-verified

59 : reader_(bitmap, start_offset, length) {}
60
61 BitRun NextRun() {
62 BitRun rl = {/*length=*/0, reader_.IsSet()};
63 // Advance while the values are equal and not at the end of list.
64 while (reader_.position() < reader_.length() && reader_.IsSet() == rl.set) {
65 rl.length++;
66 reader_.Next();
67 }
68 return rl;
69 }
70
71 private:
72 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