Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ memalign
Function
memalign
library/cpp/balloc/balloc.cpp:299–301 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
297
}
298
299
extern
"C"
void* memalign(size_t alignment, size_t size) {
300
return aligned_alloc(alignment, size);
301
}
302
303
extern
"C"
void* valloc(size_t size) {
304
return memalign(NBalloc::PAGE_ELEM, size);
Callers
2
valloc
Function · 0.70
__libc_memalign
Function · 0.70
Calls
1
aligned_alloc
Function · 0.70
Tested by
no test coverage detected