MCPcopy Create free account
hub / github.com/questdb/questdb / scrollUp

Method scrollUp

core/src/main/java/io/questdb/std/DoubleList.java:369–378  ·  view source on GitHub ↗
(int high, double value)

Source from the content-addressed store, hash-verified

367 }
368
369 private int scrollUp(int high, double value) {
370 do {
371 if (high > 0) {
372 high--;
373 } else {
374 return 0;
375 }
376 } while (Numbers.compare(data[high], value) == 0);
377 return high + 1;
378 }
379}

Callers 1

binarySearchMethod · 0.95

Calls 1

compareMethod · 0.95

Tested by

no test coverage detected