MCPcopy Create free account
hub / github.com/catboost/catboost / HasAny

Method HasAny

util/generic/bitmap.h:646–653  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

644 }
645
646 bool HasAny(const TThis& bitmap) const {
647 for (size_t i = 0; i < Min(Mask.GetChunkCapacity(), bitmap.Mask.GetChunkCapacity()); ++i) {
648 if (0 != (Mask.Data[i] & bitmap.Mask.Data[i])) {
649 return true;
650 }
651 }
652 return false;
653 }
654
655 template <class T>
656 Y_FORCE_INLINE bool HasAny(const TBitMapOps<T>& bitmap) const {

Callers

nothing calls this directly

Calls 2

MinFunction · 0.70
GetChunkCapacityMethod · 0.45

Tested by

no test coverage detected