MCPcopy Index your code
hub / github.com/questdb/questdb / scrollDown

Method scrollDown

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

Source from the content-addressed store, hash-verified

356 }
357
358 private int scrollDown(int low, int high, double value) {
359 do {
360 if (low < high) {
361 low++;
362 } else {
363 return low;
364 }
365 } while (Numbers.compare(data[low], value) == 0);
366 return low - 1;
367 }
368
369 private int scrollUp(int high, double value) {
370 do {

Callers 1

binarySearchMethod · 0.95

Calls 1

compareMethod · 0.95

Tested by

no test coverage detected