- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for removeAtForTesting (0.08 seconds)
-
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
} } // Trickled element was after index to begin with, no adjustment needed. return changes; } @VisibleForTesting void removeAtForTesting(int index) { removeAt(index); } private @Nullable MoveDesc<E> fillHole(int index, E toTrickle) { Heap heap = heapForIndex(index);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 34K bytes - Click Count (0) -
guava/src/com/google/common/collect/MinMaxPriorityQueue.java
} } // Trickled element was after index to begin with, no adjustment needed. return changes; } @VisibleForTesting void removeAtForTesting(int index) { removeAt(index); } private @Nullable MoveDesc<E> fillHole(int index, E toTrickle) { Heap heap = heapForIndex(index);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 34K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
for (int i = 0; i < heapSize; i++) { mmHeap.add(random.nextInt()); } for (int i = 0; i < numberOfModifications; i++) { mmHeap.removeAtForTesting(random.nextInt(mmHeap.size())); assertIntactUsingSeed(seed, mmHeap); mmHeap.add(random.nextInt()); assertIntactUsingSeed(seed, mmHeap); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 36.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
for (int i = 0; i < heapSize; i++) { mmHeap.add(random.nextInt()); } for (int i = 0; i < numberOfModifications; i++) { mmHeap.removeAtForTesting(random.nextInt(mmHeap.size())); assertIntactUsingSeed(seed, mmHeap); mmHeap.add(random.nextInt()); assertIntactUsingSeed(seed, mmHeap); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 36.2K bytes - Click Count (0)