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

Function SetLogicalNullBitsSparse

cpp/src/arrow/util/union_util.cc:58–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58void SetLogicalNullBitsSparse(const ArraySpan& span, uint8_t* out_bitmap,
59 int64_t out_offset, bool set_on_null) {
60 for (int64_t i = 0; i < span.length; i++) {
61 bit_util::SetBitTo(out_bitmap, out_offset + i, set_on_null == span.IsNull(i));
62 }
63}
64
65void SetLogicalNullBitsDense(const ArraySpan& span, uint8_t* out_bitmap,
66 int64_t out_offset, bool set_on_null) {

Callers 1

SetLogicalNullBitsFunction · 0.85

Calls 2

SetBitToFunction · 0.70
IsNullMethod · 0.45

Tested by

no test coverage detected