Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SmingHub/Sming
/ srandom
Function
srandom
Sming/Wiring/WMath.cpp:26–29 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
24
unsigned int static seed;
25
26
void srandom(unsigned int s)
27
{
28
seed = s;
29
}
30
31
static int getRandom()
32
{
Callers
1
randomSeed
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected