Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BTCGPU/BTCGPU
/ rand32
Method
rand32
src/random.h:118–118 ·
view source on GitHub ↗
Generate a random 32-bit integer. */
Source
from the content-addressed store, hash-verified
116
117
/** Generate a random 32-bit integer. */
118
uint32_t rand32() { return randbits(32); }
119
120
/** generate a random uint256. */
121
uint256 rand256();
Callers
10
round
Method · 0.80
BOOST_AUTO_TEST_CASE
Function · 0.80
BOOST_AUTO_TEST_CASE
Function · 0.80
InsecureRand32
Function · 0.80
insecure_GetRandHash
Function · 0.80
test_cache
Function · 0.80
test_cache_erase
Function · 0.80
test_cache_erase_parallel
Function · 0.80
block_activity
Method · 0.80
FastRandom_32bit
Function · 0.80
Calls
no outgoing calls
Tested by
8
BOOST_AUTO_TEST_CASE
Function · 0.64
BOOST_AUTO_TEST_CASE
Function · 0.64
InsecureRand32
Function · 0.64
insecure_GetRandHash
Function · 0.64
test_cache
Function · 0.64
test_cache_erase
Function · 0.64
test_cache_erase_parallel
Function · 0.64
block_activity
Method · 0.64