MCPcopy 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

roundMethod · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
InsecureRand32Function · 0.80
insecure_GetRandHashFunction · 0.80
test_cacheFunction · 0.80
test_cache_eraseFunction · 0.80
block_activityMethod · 0.80
FastRandom_32bitFunction · 0.80

Calls

no outgoing calls

Tested by 8

BOOST_AUTO_TEST_CASEFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64
InsecureRand32Function · 0.64
insecure_GetRandHashFunction · 0.64
test_cacheFunction · 0.64
test_cache_eraseFunction · 0.64
block_activityMethod · 0.64