Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crawl/crawl
/ peek_uint64
Function
peek_uint64
crawl-ref/source/random.cc:141–145 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
139
}
140
141
uint64_t peek_uint64()
142
{
143
PcgRNG tmp = current_generator(); // make a copy
144
return tmp.get_uint64();
145
}
146
147
static void _do_seeding(PcgRNG &master)
148
{
Callers
2
ASSERT_stable
Method · 0.85
~ASSERT_stable
Method · 0.85
Calls
1
get_uint64
Method · 0.80
Tested by
no test coverage detected