MCPcopy 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
22int d20() {
23 static std::uniform_int_distribution<> pick(1, 20);
24 return pick(smith::rng);
25}
26
27int d42() {
28 static std::uniform_int_distribution<> pick(1, 42);

Callers 1

factoryMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected