Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/git/git
/ xmalloc
Function
xmalloc
wrapper.c:74–77 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
72
}
73
74
void *xmalloc(size_t size)
75
{
76
return do_xmalloc(size, 0);
77
}
78
79
static void *do_xmallocz(size_t size, int gentle)
80
{
Callers
15
store_bitmap
Function · 0.70
bitmap_test_data_prepare
Function · 0.70
populate_remote_urls
Function · 0.70
configset_add_value
Function · 0.70
repo_config_set_multivar_in_file_gently
Function · 0.70
enable_delayed_checkout
Function · 0.70
spanhash_rehash
Function · 0.70
hash_chars
Function · 0.70
zlib_deflate_raw
Function · 0.70
path_msg
Function · 0.70
merge_submodule
Function · 0.70
merge_get_conflicted_files
Function · 0.70
Calls
1
do_xmalloc
Function · 0.85
Tested by
4
do_compress
Function · 0.40
alloc_test_entry
Function · 0.40
parallel_next
Function · 0.40
test
Function · 0.40