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

Function __libc_memalign

library/cpp/lfalloc/lf_allocX64.cpp:77–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75#if !defined(_MSC_VER) && !defined(_freebsd_)
76// Workaround for pthread_create bug in linux.
77extern "C" void* __libc_memalign(size_t alignment, size_t size) {
78 return memalign(alignment, size);
79}
80#endif
81
82extern "C" void free(void* ptr) {

Callers

nothing calls this directly

Calls 1

memalignFunction · 0.70

Tested by

no test coverage detected