OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mmHeap
(Results
1 - 2
of
2
) sorted by null
/external/guava/guava-tests/test/com/google/common/collect/
MinMaxPriorityQueueTest.java
188
MinMaxPriorityQueue<Integer>
mmHeap
=
195
assertTrue("Empty heap should be OK",
mmHeap
.isIntact());
198
mmHeap
.offer(randomInt);
202
mmHeap
.isIntact());
203
assertEquals(heapSize,
mmHeap
.size());
209
mmHeap
.offer(randomInt);
215
removeMinFromReplica(replica,
mmHeap
.poll());
217
removeMaxFromReplica(replica,
mmHeap
.pollLast());
220
assertTrue("MinMax queue has lost " + v,
mmHeap
.contains(v));
222
assertTrue(
mmHeap
.isIntact())
[
all
...]
/external/guava/guava-tests/benchmark/com/google/common/collect/
MinMaxPriorityQueueBenchmark.java
81
MinMaxPriorityQueue<T>
mmHeap
;
83
mmHeap
= MinMaxPriorityQueue.orderedBy(comparator).create();
88
return
mmHeap
;
93
return
mmHeap
.pollLast();
Completed in 101 milliseconds