Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ GetAllocPtr
Function
GetAllocPtr
library/cpp/lfalloc/lf_allocX64.h:1318–1320 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1316
static_assert(sizeof(TAllocHeader) == 16);
1317
1318
static inline void* GetAllocPtr(TAllocHeader* p) {
1319
return p + 1;
1320
}
1321
1322
static inline TAllocHeader* GetAllocHeader(void* p) {
1323
return ((TAllocHeader*)p) - 1;
Callers
1
TrackAllocation
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected