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

Function Bitmap

cpp/src/arrow/util/bitmap.h:54–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 Bitmap() = default;
53
54 Bitmap(const std::shared_ptr<Buffer>& buffer, int64_t offset, int64_t length)
55 : data_(buffer->data()), offset_(offset), length_(length) {
56 if (buffer->is_mutable()) {
57 mutable_data_ = buffer->mutable_data();
58 }
59 }
60
61 Bitmap(const void* data, int64_t offset, int64_t length)
62 : data_(reinterpret_cast<const uint8_t*>(data)), offset_(offset), length_(length) {}

Callers 8

TESTFunction · 0.70
BitmapToStringFunction · 0.70
CopyFunction · 0.70
DoBitmapVisitAndWriteFunction · 0.70
bitmap.hFile · 0.70
SafeLoadWordsFunction · 0.70
ComputeKleeneFunction · 0.50
MaskArrayWithNullsAtFunction · 0.50

Calls 2

dataMethod · 0.45
mutable_dataMethod · 0.45

Tested by 5

TESTFunction · 0.56
BitmapToStringFunction · 0.56
CopyFunction · 0.56
DoBitmapVisitAndWriteFunction · 0.56
MaskArrayWithNullsAtFunction · 0.40