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

Function VerifyMmapResult

library/cpp/lfalloc/lf_allocX64.h:305–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

303
304#ifndef _MSC_VER
305inline void VerifyMmapResult(void* result) {
306 if (Y_UNLIKELY(result == MAP_FAILED))
307 NMalloc::AbortFromCorruptedAllocator("negative size requested? or just out of mem");
308}
309#endif
310
311#if !defined(_MSC_VER) && !defined(_freebsd_) && defined(_64_)

Callers 2

AllocWithMMapLinuxImplFunction · 0.85
AllocWithMMapFunction · 0.85

Calls 1

Tested by

no test coverage detected