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

Method Next

cpp/src/arrow/util/bitmap_reader.h:50–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 bool IsNotSet() const { return (current_byte_ & (1 << bit_offset_)) == 0; }
49
50 void Next() {
51 ++bit_offset_;
52 ++position_;
53 if (ARROW_PREDICT_FALSE(bit_offset_ == 8)) {
54 bit_offset_ = 0;
55 ++byte_offset_;
56 if (ARROW_PREDICT_TRUE(position_ < length_)) {
57 current_byte_ = bitmap_[byte_offset_];
58 }
59 }
60 }
61
62 int64_t position() const { return position_; }
63

Callers 1

NextTrailingByteMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected