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

Function GetFreeChunk

library/cpp/lfalloc/lf_allocX64.h:269–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267}
268
269static bool GetFreeChunk(uintptr_t* res) {
270 if (freeChunkCount == 0) {
271 *res = 0;
272 return false;
273 }
274 *res = freeChunkArr[--freeChunkCount];
275 return true;
276}
277
278//////////////////////////////////////////////////////////////////////////
279enum ELFAllocCounter {

Callers 1

SlowLFAllocFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected