Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/questdb/questdb
/ nextInt
Method
nextInt
core/src/main/java/io/questdb/std/Rnd.java:324–326 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
322
}
323
324
public
int
nextInt() {
325
return
(
int
) nextLong();
326
}
327
328
public
int
nextInt(
int
boundary) {
329
return
nextPositiveInt() % boundary;
Callers
15
testChunkedDataIlpUploadNoKeepAlive
Method · 0.95
testChunkedUpperCaseChunkSize
Method · 0.95
testFuzzChunkedDataIlpUpload
Method · 0.95
testValidRequestAfterInvalidWithKeepAlive
Method · 0.95
testWebConsolePathChangeUpdatesDefaultDependenciesFuzz
Method · 0.95
testServerMainGlobalQueryCacheSmokeTest
Method · 0.95
testCairoPerformance
Method · 0.95
measureReloadSpeed
Method · 0.95
tableUtilsChecksumMatchesWith702Migration
Method · 0.95
assertSymbolColumnThreadSafety
Method · 0.95
assertCursor
Method · 0.95
setUp
Method · 0.95
Calls
2
nextLong
Method · 0.95
nextPositiveInt
Method · 0.95
Tested by
15
testChunkedDataIlpUploadNoKeepAlive
Method · 0.76
testChunkedUpperCaseChunkSize
Method · 0.76
testFuzzChunkedDataIlpUpload
Method · 0.76
testValidRequestAfterInvalidWithKeepAlive
Method · 0.76
testWebConsolePathChangeUpdatesDefaultDependenciesFuzz
Method · 0.76
testServerMainGlobalQueryCacheSmokeTest
Method · 0.76
testCairoPerformance
Method · 0.76
measureReloadSpeed
Method · 0.76
tableUtilsChecksumMatchesWith702Migration
Method · 0.76
assertSymbolColumnThreadSafety
Method · 0.76
assertCursor
Method · 0.76
setUp
Method · 0.76