MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / pvalloc

Function pvalloc

vm/ByteCodeTranslator/src/malloc.c:233–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231}
232
233void*
234pvalloc(size_t size) {
235 if (size % page_size)
236 size = (1 + (size / page_size)) * page_size;
237 return valloc(size);
238}
239
240void*
241aligned_alloc(size_t alignment, size_t size) {

Callers

nothing calls this directly

Calls 1

vallocFunction · 0.85

Tested by

no test coverage detected