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

Method Reserve

util/generic/bitmap.h:623–625  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

621 }
622
623 Y_FORCE_INLINE void Reserve(size_t bitCount) {
624 Y_ABORT_UNLESS(Mask.ExpandBitSize(bitCount), "Exceeding bitmap storage capacity");
625 }
626
627 Y_FORCE_INLINE size_t ValueBitCount() const {
628 size_t nonZeroChunk = Mask.GetChunkCapacity() - 1;

Callers

nothing calls this directly

Calls 1

ExpandBitSizeMethod · 0.45

Tested by

no test coverage detected