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

Function HashDataBitmap

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

Source from the content-addressed store, hash-verified

489}
490
491hash_t HashDataBitmap(const ArraySpan& array) {
492 EXPECT_EQ(array.type->id(), Type::BOOL);
493 const auto& bitmap = array.buffers[1];
494 return ComputeBitmapHash(bitmap.data,
495 /*seed=*/0,
496 /*bit_offset=*/array.offset,
497 /*num_bits=*/array.length);
498}
499
500std::shared_ptr<BooleanArray> BuildBooleanArray(int len, bool start) {
501 // 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