MCPcopy Create free account
hub / github.com/bytedance/bolt / isSubset

Method isSubset

bolt/vector/SelectivityVector.h:281–286  ·  view source on GitHub ↗

Returns true if 'this' is equal to or a subset of 'other'.

Source from the content-addressed store, hash-verified

279
280 // Returns true if 'this' is equal to or a subset of 'other'.
281 bool isSubset(const SelectivityVector& other) const {
282 if (begin_ >= other.begin_ && end_ <= other.end_) {
283 return bits::isSubset(bits_.data(), other.bits_.data(), begin_, end_);
284 }
285 return false;
286 }
287
288 /**
289 * Updates the begin_ and end_ values to match the

Callers 4

isAsciiMethod · 0.80
computeAndSetIsAsciiMethod · 0.80
setIsAsciiMethod · 0.80
evaluateSharedSubexprMethod · 0.80

Calls 2

isSubsetFunction · 0.85
dataMethod · 0.45

Tested by

no test coverage detected