| 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) { |
nothing calls this directly
no test coverage detected