Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/antirez/ds4
/ xmalloc
Function
xmalloc
ds4_server.c:70–74 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
68
size_t len;
69
size_t cap;
70
} buf;
71
72
static void die(const char *msg) {
73
fprintf(stderr,
"ds4-server: %s\n"
, msg);
74
exit(1);
75
}
76
77
static void *xmalloc(size_t n) {
Callers
10
xstrdup
Function · 0.70
xstrndup
Function · 0.70
json_raw_value
Function · 0.70
responses_tool_items_build
Function · 0.70
server_log
Function · 0.70
tool_memory_get_block_locked
Function · 0.70
tool_memory_put_locked
Function · 0.70
kv_tool_map_load_from_pos
Function · 0.70
read_http_request
Function · 0.70
main
Function · 0.70
Calls
1
die
Function · 0.70
Tested by
no test coverage detected