Home
last modified time | relevance | path

Searched refs:pivotIndex (Results 1 – 1 of 1) sorted by relevance

/aosp14/frameworks/base/core/java/com/android/internal/util/
H A DQuickSelect.java39 if (k == pivotIndex) { in selectImpl()
41 } else if (k < pivotIndex) { in selectImpl()
42 right = pivotIndex - 1; in selectImpl()
44 left = pivotIndex + 1; in selectImpl()
55 if (k == pivotIndex) { in selectImpl()
58 right = pivotIndex - 1; in selectImpl()
60 left = pivotIndex + 1; in selectImpl()
71 if (k == pivotIndex) { in selectImpl()
76 left = pivotIndex + 1; in selectImpl()
88 if (k == pivotIndex) { in selectImpl()
[all …]