Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/questdb/questdb
/ nextPositiveLong
Method
nextPositiveLong
core/src/main/java/io/questdb/std/Rnd.java:349–352 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
347
}
348
349
public
long nextPositiveLong() {
350
long l = nextLong();
351
return
l > 0 ? l : (l == Long.MIN_VALUE ? Long.MAX_VALUE : -l);
352
}
353
354
public
short nextShort(short boundary) {
355
return
(short) (nextShort() % boundary);
Callers
15
testQueryTimeout
Method · 0.95
testBinarySearchFuzz
Method · 0.95
testFindRowLoWithPrevailingFuzz
Method · 0.95
testIncOperations
Method · 0.95
testFuzz
Method · 0.95
testIncOperations
Method · 0.95
testFuzz
Method · 0.95
testFuzz
Method · 0.95
testIncOperations
Method · 0.95
testFuzz
Method · 0.95
testFuzz
Method · 0.95
testFuzz
Method · 0.95
Calls
1
nextLong
Method · 0.95
Tested by
15
testQueryTimeout
Method · 0.76
testBinarySearchFuzz
Method · 0.76
testFindRowLoWithPrevailingFuzz
Method · 0.76
testIncOperations
Method · 0.76
testFuzz
Method · 0.76
testIncOperations
Method · 0.76
testFuzz
Method · 0.76
testFuzz
Method · 0.76
testIncOperations
Method · 0.76
testFuzz
Method · 0.76
testFuzz
Method · 0.76
testFuzz
Method · 0.76