MCPcopy Index your code
hub / github.com/git/git / git_parse_ulong

Function git_parse_ulong

parse.c:119–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119int git_parse_ulong(const char *value, unsigned long *ret)
120{
121 uintmax_t tmp;
122 if (!git_parse_unsigned(value, &tmp, maximum_unsigned_value_of_type(long)))
123 return 0;
124 *ret = tmp;
125 return 1;
126}
127
128int git_parse_ssize_t(const char *value, ssize_t *ret)
129{

Callers 6

git_config_ulongFunction · 0.85
git_env_ulongFunction · 0.85
cmd__env_helperFunction · 0.85
cmd__genrandomFunction · 0.85
parse_one_optionFunction · 0.85

Calls 1

git_parse_unsignedFunction · 0.85

Tested by 2

cmd__env_helperFunction · 0.68
cmd__genrandomFunction · 0.68