Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
assign
Method · 0.50
EnsureOnHeapCapacity
Method · 0.50
ResizeImpl
Method · 0.50
InsertOneImpl
Method · 0.50
InsertManyImpl
Method · 0.50
Calls
2
IsNull
Method · 0.45
capacity
Method · 0.45
Tested by
no test coverage detected