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

Function write_cb

deps/jemalloc/test/unit/stats_print.c:920–928  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

918 }
919}
920TEST_END
921
922void
923write_cb(void *opaque, const char *str) {
924 parser_t *parser = (parser_t *)opaque;
925 if (parser_append(parser, str)) {
926 test_fail("Unexpected input appending failure");
927 }
928}
929
930TEST_BEGIN(test_stats_print_json) {
931 const char *opts[] = {

Callers 1

malloc_io.cFile · 0.50

Calls 2

parser_appendFunction · 0.70
test_failFunction · 0.50

Tested by

no test coverage detected