| 286 | using Commutative<XorOp>::Call; |
| 287 | |
| 288 | static Status Call(KernelContext* ctx, const ArraySpan& left, const Scalar& right, |
| 289 | ExecResult* out) { |
| 290 | ArraySpan* out_span = out->array_span_mutable(); |
| 291 | if (right.is_valid) { |
| 292 | checked_cast<const BooleanScalar&>(right).value |
| 293 | ? GetBitmap(*out_span, 1).CopyFromInverted(GetBitmap(left, 1)) |
| 294 | : GetBitmap(*out_span, 1).CopyFrom(GetBitmap(left, 1)); |
| 295 | } |
| 296 | return Status::OK(); |
| 297 | } |
| 298 | |
| 299 | static Status Call(KernelContext* ctx, const ArraySpan& left, const ArraySpan& right, |
| 300 | ExecResult* out) { |
nothing calls this directly
no test coverage detected