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

Function reset_args

deps/jemalloc/test/unit/hook.c:16–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14static int call_count = 0;
15
16static void
17reset_args() {
18 arg_extra = NULL;
19 arg_type = 12345;
20 arg_result = NULL;
21 arg_address = NULL;
22 arg_old_usize = 0;
23 arg_new_usize = 0;
24 arg_result_raw = 0;
25 memset(arg_args_raw, 77, sizeof(arg_args_raw));
26}
27
28static void
29alloc_free_size(size_t sz) {

Callers 2

resetFunction · 0.85
hook.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected