Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
233
void*
234
pvalloc(size_t size) {
235
if (size % page_size)
236
size = (1 + (size / page_size)) * page_size;
237
return valloc(size);
238
}
239
240
void*
241
aligned_alloc(size_t alignment, size_t size) {
Callers
nothing calls this directly
Calls
1
valloc
Function · 0.85
Tested by
no test coverage detected