Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crawl/crawl
/ seed
Function
seed
crawl-ref/source/random.cc:159–164 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
157
}
158
159
void seed(uint64_t seed)
160
{
161
// use the default stream
162
PcgRNG master = PcgRNG(seed);
163
_do_seeding(master);
164
}
165
166
void seed()
167
{
Callers
6
_test_jiyva_names
Function · 0.85
make_name_tests
Function · 0.85
reset
Function · 0.85
_initialize
Function · 0.85
SimplePcg32
Method · 0.85
main
Function · 0.85
Calls
3
PcgRNG
Class · 0.85
_do_seeding
Function · 0.85
read_urandom
Function · 0.85
Tested by
no test coverage detected