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

Function extent_hooks_prep

deps/jemalloc/test/include/test/extent_hooks.h:282–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280}
281
282static void
283extent_hooks_prep(void) {
284 size_t sz;
285
286 sz = sizeof(default_hooks);
287 assert_d_eq(mallctl("arena.0.extent_hooks", (void *)&default_hooks, &sz,
288 NULL, 0), 0, "Unexpected mallctl() error");
289}

Callers 5

test_manual_hook_bodyFunction · 0.50
TEST_BEGINFunction · 0.50
arena_reset.cFile · 0.50
TEST_BEGINFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected