Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anse1/sqlsmith
/ d20
Function
d20
random.cc:22–25 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
20
}
21
22
int d20() {
23
static std::uniform_int_distribution<> pick(1, 20);
24
return pick(smith::rng);
25
}
26
27
int d42() {
28
static std::uniform_int_distribution<> pick(1, 42);
Callers
1
factory
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected