Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
~TIBMemBlock
Method · 0.45
Detach
Method · 0.45
Get
Method · 0.45
Calls
2
AtomicAdd
Function · 0.50
Return
Method · 0.45
Tested by
no test coverage detected