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

Method Release

util/memory/alloc.cpp:14–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12}
13
14void TDefaultAllocator::Release(const TBlock& block) {
15 y_deallocate(block.Data);
16}
17
18IAllocator* TDefaultAllocator::Instance() noexcept {
19 return SingletonWithPriority<TDefaultAllocator, 0>();

Callers 6

CopyConstructFunction · 0.45
ConstructFromMapFunction · 0.45
ReadFromFileFunction · 0.45
ConstructFromBufferFunction · 0.45
ConstructFromStringFunction · 0.45
DoClearMethod · 0.45

Calls 1

y_deallocateFunction · 0.85

Tested by

no test coverage detected