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

Method OptionalBitIndexer

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

Source from the content-addressed store, hash-verified

264 const int64_t offset;
265
266 explicit OptionalBitIndexer(const uint8_t* buffer = NULLPTR, int64_t offset = 0)
267 : bitmap(buffer), offset(offset) {}
268
269 bool operator[](int64_t i) const {
270 return bitmap == NULLPTR || bit_util::GetBit(bitmap, offset + i);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected