MCPcopy Create free account
hub / github.com/git/git / xstrncmpz

Function xstrncmpz

wrapper.c:122–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122int xstrncmpz(const char *s, const char *t, size_t len)
123{
124 int res = strncmp(s, t, len);
125 if (res)
126 return res;
127 return s[len] == '\0' ? 0 : 1;
128}
129
130void *xrealloc(void *ptr, size_t size)
131{

Callers 13

find_tar_filterFunction · 0.85
server_supports_hashFunction · 0.85
find_cfg_entFunction · 0.85
read_merge_configFunction · 0.85
remotes_hash_cmpFunction · 0.85
branches_hash_cmpFunction · 0.85
type_from_string_gentlyFunction · 0.85
read_convert_configFunction · 0.85
anonymized_entry_cmpFunction · 0.85
check_cert_push_optionsFunction · 0.85
read_head_infoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected