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

Function malloc_usable_size

library/cpp/lfalloc/lf_allocX64.cpp:123–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123extern "C" size_t malloc_usable_size(void* ptr) {
124 if (ptr == nullptr) {
125 return 0;
126 }
127 return LFGetSize(ptr);
128}
129
130NMalloc::TMallocInfo NMalloc::MallocInfo() {
131 NMalloc::TMallocInfo r;

Callers

nothing calls this directly

Calls 1

LFGetSizeFunction · 0.85

Tested by

no test coverage detected