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

Function git_rand

wrapper.c:855–863  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

853}
854
855uint32_t git_rand(unsigned flags)
856{
857 uint32_t result;
858
859 if (csprng_bytes(&result, sizeof(result), flags) < 0)
860 die(_("unable to get random bytes"));
861
862 return result;
863}
864
865static void mmap_limit_check(size_t length)
866{

Calls 2

csprng_bytesFunction · 0.85
dieFunction · 0.70