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

Function InvertOpExec

cpp/src/arrow/compute/kernels/scalar_boolean.cc:100–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100Status InvertOpExec(KernelContext* ctx, const ExecSpan& batch, ExecResult* out) {
101 ArraySpan* out_span = out->array_span_mutable();
102 GetBitmap(*out_span, 1).CopyFromInverted(GetBitmap(batch[0].array, 1));
103 return Status::OK();
104}
105
106template <typename Op>
107struct Commutative {

Callers

nothing calls this directly

Calls 3

CopyFromInvertedMethod · 0.80
GetBitmapFunction · 0.70
OKFunction · 0.50

Tested by

no test coverage detected