Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ Swap
Method
Swap
util/generic/buffer.h:198–202 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
196
}
197
198
inline void Swap(TBuffer& r) noexcept {
199
DoSwap(Data_, r.Data_);
200
DoSwap(Len_, r.Len_);
201
DoSwap(Pos_, r.Pos_);
202
}
203
204
/*
205
* after this call buffer becomes empty
Callers
1
Reset
Method · 0.45
Calls
1
DoSwap
Function · 0.70
Tested by
no test coverage detected