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

Function capacity

library/cpp/containers/cow_string/cow_string.h:176–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174 }
175
176 inline size_t capacity() const noexcept {
177 if (S_->IsNull()) {
178 return 0;
179 }
180
181 return S_->capacity();
182 }
183
184 TCharType* Detach() Y_LIFETIME_BOUND {
185 if (Y_UNLIKELY(!IsDetached())) {

Callers 5

assignMethod · 0.50
EnsureOnHeapCapacityMethod · 0.50
ResizeImplMethod · 0.50
InsertOneImplMethod · 0.50
InsertManyImplMethod · 0.50

Calls 2

IsNullMethod · 0.45
capacityMethod · 0.45

Tested by

no test coverage detected