MCPcopy Create free account
hub / github.com/apache/impala / Or

Method Or

be/src/util/bloom-filter.cc:138–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138void BloomFilter::Or(const BloomFilter& other) {
139 DCHECK_NE(this, &other);
140 DCHECK_NE(&other, ALWAYS_TRUE_FILTER);
141 if (other.AlwaysFalse()) return;
142 DCHECK_EQ(
143 block_bloom_filter_.log_space_bytes(), other.block_bloom_filter_.log_space_bytes());
144 block_bloom_filter_.Or(other.block_bloom_filter_);
145}
146
147void BloomFilter::RawOr(const BloomFilter& other) {
148 DCHECK_NE(this, &other);

Callers 4

TEST_FFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45

Calls 6

always_falseMethod · 0.80
AlwaysFalseMethod · 0.45
log_space_bytesMethod · 0.45
directoryMethod · 0.45
sizeMethod · 0.45
dataMethod · 0.45

Tested by 3

TEST_FFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36