MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / randomNation

Method randomNation

test/chbench/chbench/src/DataSource.cc:481–484  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

479}
480
481Nation DataSource::randomNation() {
482 assert(nations.size() > 0);
483 return nations.at(chRandom::uniformInt(0, nations.size() - 1));
484}

Callers

nothing calls this directly

Calls 4

assertFunction · 0.85
uniformIntFunction · 0.85
atMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected