MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / alloc_huge

Function alloc_huge

3rd/mimalloc-2.0.9/test/main-override-static.c:198–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198static void alloc_huge(void) {
199 void* p = mi_malloc(67108872);
200 mi_free(p);
201}
202
203static bool test_visit(const mi_heap_t* heap, const mi_heap_area_t* area, void* block, size_t block_size, void* arg) {
204 if (block == NULL) {

Callers

nothing calls this directly

Calls 2

mi_mallocFunction · 0.85
mi_freeFunction · 0.85

Tested by

no test coverage detected