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

Class Bitmap

cpp/src/arrow/array/concatenate.cc:67–77  ·  view source on GitHub ↗

non-owning view into a range of bits

Source from the content-addressed store, hash-verified

65
66/// non-owning view into a range of bits
67struct Bitmap {
68 Bitmap() = default;
69 Bitmap(const uint8_t* d, Range r) : data(d), range(r) {}
70 explicit Bitmap(const std::shared_ptr<Buffer>& buffer, Range r)
71 : Bitmap(buffer ? buffer->data() : nullptr, r) {}
72
73 const uint8_t* data = nullptr;
74 Range range;
75
76 bool AllSet() const { return data == nullptr; }
77};
78
79enum class OffsetBufferOpOutcome {
80 kOk,

Callers 1

BitmapsMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected