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

Function VisitRawValuesInline

cpp/src/arrow/compute/kernels/vector_array_sort.cc:115–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113
114template <typename c_type, typename VisitorNotNull, typename VisitorNull>
115inline void VisitRawValuesInline(const ArraySpan& values,
116 VisitorNotNull&& visitor_not_null,
117 VisitorNull&& visitor_null) {
118 const c_type* data = values.GetValues<c_type>(1);
119 const uint8_t* bitmap = values.buffers[0].data;
120 VisitBitBlocksVoid(
121 bitmap, values.offset, values.length, [&](int64_t i) { visitor_not_null(data[i]); },
122 [&]() { visitor_null(); });
123}
124
125template <typename VisitorNotNull, typename VisitorNull>
126inline void VisitRawValuesInline(const ArraySpan& values,

Callers 1

operator()Method · 0.85

Calls 2

VisitBitBlocksVoidFunction · 0.85
GetBitFunction · 0.50

Tested by

no test coverage detected