MCPcopy 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
579void 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

TMappedAllocationMethod · 0.95
TMappedAllocationClass · 0.95
AllocateMethod · 0.45
ReleaseMethod · 0.45
Y_UNIT_TESTFunction · 0.45
Y_UNIT_TESTFunction · 0.45
EscapeHtmlCharsFunction · 0.45

Calls 1

DoSwapFunction · 0.50

Tested by

no test coverage detected