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

Method Empty

util/generic/bitmap.h:637–644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

635 }
636
637 Y_PURE_FUNCTION Y_FORCE_INLINE bool Empty() const {
638 for (size_t i = 0; i < Mask.GetChunkCapacity(); ++i) {
639 if (Mask.Data[i]) {
640 return false;
641 }
642 }
643 return true;
644 }
645
646 bool HasAny(const TThis& bitmap) const {
647 for (size_t i = 0; i < Min(Mask.GetChunkCapacity(), bitmap.Mask.GetChunkCapacity()); ++i) {

Callers

nothing calls this directly

Calls 1

GetChunkCapacityMethod · 0.45

Tested by

no test coverage detected