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

Function GetAllocHeader

library/cpp/lfalloc/lf_allocX64.h:1322–1324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1320}
1321
1322static inline TAllocHeader* GetAllocHeader(void* p) {
1323 return ((TAllocHeader*)p) - 1;
1324}
1325
1326// if present, uses the fake header stored by LFPosixMemalign() to retrieve the original header.
1327static inline TAllocHeader* GetOrigAllocHeader(void* p) {

Callers 2

GetOrigAllocHeaderFunction · 0.85
LFPosixMemalignFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected