Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for getGrandparentIndex (0.09 seconds)

  1. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

         * element ended up at.
         */
        @CanIgnoreReturnValue
        int bubbleUpAlternatingLevels(int index, E x) {
          while (index > 2) {
            int grandParentIndex = getGrandparentIndex(index);
            E e = elementData(grandParentIndex);
            if (ordering.compare(e, x) <= 0) {
              break;
            }
            queue[index] = e;
            index = grandParentIndex;
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

         * element ended up at.
         */
        @CanIgnoreReturnValue
        int bubbleUpAlternatingLevels(int index, E x) {
          while (index > 2) {
            int grandParentIndex = getGrandparentIndex(index);
            E e = elementData(grandParentIndex);
            if (ordering.compare(e, x) <= 0) {
              break;
            }
            queue[index] = e;
            index = grandParentIndex;
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
Back to Top