MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / GetRandInt

Function GetRandInt

src/commons/random.cpp:110–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110int GetRandInt(int nMax)
111{
112 return GetRand(nMax);
113}
114
115uint256 GetRandHash()
116{

Callers 7

SelectTriedMethod · 0.85
ShrinkNewMethod · 0.85
Good_Method · 0.85
Add_Method · 0.85
Select_Method · 0.85
GetAddr_Method · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85

Calls 1

GetRandFunction · 0.85

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.68