MCPcopy Create free account
hub / github.com/F-Stack/f-stack / TEST_BEGIN

Function TEST_BEGIN

app/redis-6.2.6/deps/jemalloc/test/unit/mallctl.c:30–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 "mallctl() should return EINVAL for output size mismatch");
29}
30TEST_END
31
32TEST_BEGIN(test_mallctlnametomib_errors) {
33 size_t mib[1];
34 size_t miblen;
35
36 miblen = sizeof(mib)/sizeof(size_t);
37 assert_d_eq(mallctlnametomib("no_such_name", mib, &miblen), ENOENT,
38 "mallctlnametomib() should return ENOENT for non-existent names");
39}
40TEST_END
41
42TEST_BEGIN(test_mallctlbymib_errors) {

Callers

nothing calls this directly

Calls 4

strcmpFunction · 0.85
percpu_arena_ind_limitFunction · 0.85
narenas_total_getFunction · 0.85
sz_pind2szFunction · 0.85

Tested by

no test coverage detected