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

Function VisitRawValuesInline

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

Source from the content-addressed store, hash-verified

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