Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ swap
Method
swap
util/system/filemap.cpp:579–585 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
577
}
578
579
void TMappedAllocation::swap(TMappedAllocation& with) noexcept {
580
DoSwap(Ptr_, with.Ptr_);
581
DoSwap(Size_, with.Size_);
582
#if defined(_win_)
583
DoSwap(Mapping_, with.Mapping_);
584
#endif
585
}
Callers
7
TMappedAllocation
Method · 0.95
TMappedAllocation
Class · 0.95
Allocate
Method · 0.45
Release
Method · 0.45
Y_UNIT_TEST
Function · 0.45
Y_UNIT_TEST
Function · 0.45
EscapeHtmlChars
Function · 0.45
Calls
1
DoSwap
Function · 0.50
Tested by
no test coverage detected