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

Function test_leak

3rd/mimalloc-2.0.9/test/test-stress.c:213–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213static void test_leak(void) {
214 for (int n = 0; n < ITER; n++) {
215 run_os_threads(THREADS, &leak);
216 mi_collect(false);
217#ifndef NDEBUG
218 if ((n + 1) % 10 == 0) { printf("- iterations left: %3d\n", ITER - (n + 1)); }
219#endif
220 }
221}
222#endif
223
224int main(int argc, char** argv) {

Callers 1

mainFunction · 0.85

Calls 2

run_os_threadsFunction · 0.85
mi_collectFunction · 0.85

Tested by

no test coverage detected