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

Function Find

cpp/src/arrow/acero/bloom_filter.h:113–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 BlockedBloomFilter() : log_num_blocks_(0), num_blocks_(0), blocks_(NULLPTR) {}
112
113 inline bool Find(uint64_t hash) const {
114 uint64_t m = mask(hash);
115 uint64_t b = blocks_[block_id(hash)];
116 return (b & m) == m;
117 }
118
119 // Uses SIMD if available for smaller Bloom filters.
120 // Uses memory prefetching for larger Bloom filters.

Callers 2

FindImpMethod · 0.70
MatchMethod · 0.50

Calls 2

maskFunction · 0.85
block_idFunction · 0.85

Tested by

no test coverage detected