Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ emmalloc_unclaimed_heap_memory
Function
emmalloc_unclaimed_heap_memory
system/lib/emmalloc.c:1431–1433 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1429
}
1430
1431
size_t emmalloc_unclaimed_heap_memory(void) {
1432
return emscripten_get_heap_max() - (size_t)_sbrk64(0);
1433
}
Callers
1
main
Function · 0.85
Calls
2
emscripten_get_heap_max
Function · 0.85
_sbrk64
Function · 0.85
Tested by
1
main
Function · 0.68