MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / dlpvalloc

Function dlpvalloc

system/lib/dlmalloc.c:5400–5405  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5398}
5399
5400void* dlpvalloc(size_t bytes) {
5401 size_t pagesz;
5402 ensure_initialization();
5403 pagesz = mparams.page_size;
5404 return dlmemalign(pagesz, (bytes + pagesz - SIZE_T_ONE) & ~(pagesz - SIZE_T_ONE));
5405}
5406
5407void** dlindependent_calloc(size_t n_elements, size_t elem_size,
5408 void* chunks[]) {

Callers

nothing calls this directly

Calls 1

dlmemalignFunction · 0.85

Tested by

no test coverage detected