MCPcopy Create free account
hub / github.com/catboost/catboost / operator new

Function operator new

library/cpp/balloc/balloc.cpp:112–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110#endif
111
112void* operator new(size_t size) {
113#if defined(Y_COVER_PTR)
114 return malloc(size);
115#else
116 return NBalloc::Malloc(size);
117#endif
118}
119
120int posix_memalign(void** memptr, const size_t alignment, const size_t size) {
121#if defined(Y_COVER_PTR)

Callers 3

AllocateMethod · 0.50
operator newMethod · 0.50
GetPtrMethod · 0.50

Calls 2

mallocFunction · 0.70
MallocFunction · 0.70

Tested by

no test coverage detected