Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crownengine/crown
/ init
Function
init
src/core/guid.cpp:28–34 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
26
#endif
27
28
void init()
29
{
30
#if CROWN_PLATFORM_POSIX
31
_fd = ::open(
"/dev/urandom"
, O_RDONLY);
32
CE_ASSERT(_fd != -1,
"open: errno = %d"
, errno);
33
#endif
34
}
35
36
void shutdown()
37
{
Callers
15
test_memory
Function · 0.70
test_array
Function · 0.70
test_vector
Function · 0.70
test_hash_map
Function · 0.70
test_hash_set
Function · 0.70
test_string_id
Function · 0.70
test_dynamic_string
Function · 0.70
test_string_view
Function · 0.70
test_guid
Function · 0.70
test_json
Function · 0.70
test_sjson
Function · 0.70
test_filesystem
Function · 0.70
Calls
1
open
Function · 0.85
Tested by
15
test_memory
Function · 0.56
test_array
Function · 0.56
test_vector
Function · 0.56
test_hash_map
Function · 0.56
test_hash_set
Function · 0.56
test_string_id
Function · 0.56
test_dynamic_string
Function · 0.56
test_string_view
Function · 0.56
test_guid
Function · 0.56
test_json
Function · 0.56
test_sjson
Function · 0.56
test_filesystem
Function · 0.56