Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ AtomicAdd
Function
AtomicAdd
library/cpp/lfalloc/lf_allocX64.h:36–38 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
34
using TAtomic = volatile long;
35
36
static inline long AtomicAdd(TAtomic& a, long b) {
37
return _InterlockedExchangeAdd(&a, b) + b;
38
}
39
40
static inline long AtomicSub(TAtomic& a, long b) {
41
return AtomicAdd(a, -b);
Callers
15
AtomicSub
Function · 0.70
LargeBlockAlloc
Function · 0.70
FreeAllLargeBlockMem
Function · 0.70
LargeBlockFree
Function · 0.70
Free
Method · 0.70
Alloc
Method · 0.70
ReturnWholeList
Method · 0.70
Flush
Method · 0.70
Alloc
Method · 0.70
Flush
Method · 0.70
IncrementCounter
Function · 0.70
GetTransferId
Function · 0.50
Calls
no outgoing calls
Tested by
4
TPortUnreachableTester
Method · 0.40
~TPortUnreachableTester
Method · 0.40
TPortUnreachableTester
Method · 0.40
~TPortUnreachableTester
Method · 0.40