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

Method DecRef

library/cpp/netliba/v6/ib_mem.cpp:29–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 }
28
29 void TIBMemSuperBlock::DecRef() {
30 if (AtomicAdd(UseCount, -1) == 0) {
31 Pool->Return(this);
32 }
33 }
34
35 TIBMemBlock::~TIBMemBlock() {
36 if (Super.Get()) {

Callers 3

~TIBMemBlockMethod · 0.45
DetachMethod · 0.45
GetMethod · 0.45

Calls 2

AtomicAddFunction · 0.50
ReturnMethod · 0.45

Tested by

no test coverage detected