Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ ReleaseHandler
Method
ReleaseHandler
library/cpp/neh/tcp2.cpp:540–547 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
538
539
private:
540
inline THandleRef ReleaseHandler() noexcept {
541
THandleRef h;
542
{
543
auto g = Guard(AL_);
544
h.Swap(Hndl_);
545
}
546
return h;
547
}
548
549
inline TConnectionRef GetConn() const noexcept {
550
auto g = Guard(AL_);
Callers
nothing calls this directly
Calls
2
Guard
Function · 0.85
Swap
Method · 0.45
Tested by
no test coverage detected