Searched refs:queue (Results 1 – 10 of 10) sorted by relevance
37 private MockAbstractQueue<Object> queue; field in AbstractQueueTest125 queue.add(null); in test_addLE_null()145 queue.add(o); in test_addLE_Full()149 queue.add(o); in test_addLE_Full()169 queue.add(o); in test_addLE()172 queue.add(I); in test_addLE()173 assertTrue(queue.contains(I)); in test_addLE()174 Iterator iter = queue.iterator(); in test_addLE()192 queue.addAll(null); in test_addAllLE_null()211 queue.addAll(list); in test_addAllLE_with_null()[all …]
232 PriorityQueue<Object> queue = new PriorityQueue<Object>(); in test_Constructor() local233 assertNotNull(queue); in test_Constructor()234 assertEquals(0, queue.size()); in test_Constructor()235 assertNull(queue.comparator()); in test_Constructor()248 PriorityQueue<Object> queue = new PriorityQueue<Object>(100); in test_ConstructorI() local249 assertNotNull(queue); in test_ConstructorI()250 assertEquals(0, queue.size()); in test_ConstructorI()251 assertNull(queue.comparator()); in test_ConstructorI()271 PriorityQueue<Object> queue = new PriorityQueue<Object>(100, in test_ConstructorILjava_util_Comparator() local273 assertNotNull(queue); in test_ConstructorILjava_util_Comparator()[all …]
61 ReferenceQueue queue; field in Reference117 if (queue != null && queueNext == null) { in enqueueInternal()118 queue.enqueue(this); in enqueueInternal()119 queue = null; in enqueueInternal()
66 queue = q; in PhantomReference()
117 queue = q; in WeakReference()
118 queue = q; in SoftReference()
691 private ScheduledFutureTask[] queue = field in ScheduledThreadPoolExecutor.DelayedWorkQueue735 ScheduledFutureTask e = queue[parent]; in siftUp()738 queue[k] = e; in siftUp()742 queue[k] = key; in siftUp()754 ScheduledFutureTask c = queue[child]; in siftDown()756 if (right < size && c.compareTo(queue[right]) > 0) in siftDown()757 c = queue[child = right]; in siftDown()760 queue[k] = c; in siftDown()764 queue[k] = key; in siftDown()772 int oldCapacity = queue.length; in grow()[all …]
70 Entry(K key, V object, ReferenceQueue<K> queue) { in Entry() argument71 super(key, queue); in Entry()
72 private final BlockingQueue<DatagramPacket> queue field in MulticastSocketTest.MulticastServer83 queue.put(rdp); in run()115 return queue.poll(1000, TimeUnit.MILLISECONDS); in receive()
845 Object *queue = dvmGetFieldObject(reference, in enqueueReference() local849 if (queue == NULL || queueNext != NULL) { in enqueueReference()