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

Function HashDataBitmap

cpp/src/arrow/util/hashing_test.cc:547–554  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

545}
546
547hash_t HashDataBitmap(const ArraySpan& array) {
548 EXPECT_EQ(array.type->id(), Type::BOOL);
549 const auto& bitmap = array.buffers[1];
550 return ComputeBitmapHash(bitmap.data,
551 /*seed=*/0,
552 /*bit_offset=*/array.offset,
553 /*num_bits=*/array.length);
554}
555
556std::shared_ptr<BooleanArray> BuildBooleanArray(int len, bool start) {
557 // This could be memoized in the future to speed up tests.

Callers 2

HashConcatenationFunction · 0.85
TESTFunction · 0.85

Calls 2

ComputeBitmapHashFunction · 0.85
idMethod · 0.45

Tested by

no test coverage detected