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

Function HasBitmapFromBitmaps

cpp/src/arrow/util/bit_block_counter.h:413–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

411 BinaryBitBlockCounter binary_counter_;
412
413 static HasBitmap HasBitmapFromBitmaps(bool has_left, bool has_right) {
414 switch (static_cast<int>(has_left) + static_cast<int>(has_right)) {
415 case 0:
416 return HasBitmap::NONE;
417 case 1:
418 return HasBitmap::ONE;
419 default: // 2
420 return HasBitmap::BOTH;
421 }
422 }
423};
424
425// Functional-style bit block visitors.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected