Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ EraseBack
Method
EraseBack
util/generic/buffer.h:46–49 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
44
}
45
46
inline void EraseBack(size_t n) noexcept {
47
Y_ASSERT(n <= Pos_);
48
Pos_ -= n;
49
}
50
51
Y_REINITIALIZES_OBJECT inline void Reset() noexcept {
52
TBuffer().Swap(*this);
Callers
1
Y_UNIT_TEST
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected