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

Function get_nsizes_impl

deps/jemalloc/test/integration/smallocx.c:23–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21smallocx(size_t size, int flags);
22
23static unsigned
24get_nsizes_impl(const char *cmd) {
25 unsigned ret;
26 size_t z;
27
28 z = sizeof(unsigned);
29 assert_d_eq(mallctl(cmd, (void *)&ret, &z, NULL, 0), 0,
30 "Unexpected mallctl(\"%s\", ...) failure", cmd);
31
32 return ret;
33}
34
35static unsigned
36get_nlarge(void) {

Callers 1

get_nlargeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected