Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CppCXY/EmmyLuaCodeStyle
/ os_random_buf
Function
os_random_buf
3rd/mimalloc-2.0.9/src/random.c:186–188 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
184
}
185
#endif
186
static bool os_random_buf(void* buf, size_t buf_len) {
187
return (RtlGenRandom(buf, (ULONG)buf_len) != 0);
188
}
189
#else
190
191
#ifndef BCRYPT_USE_SYSTEM_PREFERRED_RNG
Callers
1
mi_random_init_ex
Function · 0.85
Calls
3
read
Function · 0.85
open
Function · 0.50
close
Function · 0.50
Tested by
no test coverage detected