MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / f

Function f

deps/jemalloc/test/unit/prof_log.c:21–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19void *buf[N_PARAM];
20
21static void f() {
22 int i;
23 for (i = 0; i < N_PARAM; i++) {
24 buf[i] = malloc(100);
25 }
26 for (i = 0; i < N_PARAM; i++) {
27 free(buf[i]);
28 }
29}
30
31TEST_BEGIN(test_prof_log_many_logs) {
32 int i;

Callers 1

prof_log.cFile · 0.85

Calls 2

mallocFunction · 0.85
freeFunction · 0.85

Tested by

no test coverage detected