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

Function aligned_alloc

library/cpp/lfalloc/lf_allocX64.cpp:71–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71extern "C" void* aligned_alloc(size_t alignment, size_t size) {
72 return memalign(alignment, size);
73}
74
75#if !defined(_MSC_VER) && !defined(_freebsd_)
76// Workaround for pthread_create bug in linux.

Callers

nothing calls this directly

Calls 1

memalignFunction · 0.70

Tested by

no test coverage detected