Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
481
Nation 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
assert
Function · 0.85
uniformInt
Function · 0.85
at
Method · 0.80
size
Method · 0.45
Tested by
no test coverage detected