MCPcopy Create free account
hub / github.com/catboost/catboost / Release

Method Release

util/memory/mmapalloc.cpp:21–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19 }
20
21 void Release(const TBlock& block) override {
22 TMappedAllocation tmp(0);
23 TMappedAllocation* real = ((TMappedAllocation*)block.Data) - 1;
24
25 real->swap(tmp);
26 real->~TMappedAllocation();
27 }
28 };
29} // namespace
30

Callers

nothing calls this directly

Calls 2

~TMappedAllocationMethod · 0.80
swapMethod · 0.45

Tested by

no test coverage detected