Home
last modified time | relevance | path

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

/libcore/jsr166-tests/src/test/java/jsr166/
DLinkedListTest.java35 private LinkedList<Integer> populatedQueue(int n) { in populatedQueue() method in LinkedListTest
92 LinkedList q = populatedQueue(SIZE); in testSize()
191 LinkedList q = populatedQueue(SIZE); in testPoll()
202 LinkedList q = populatedQueue(SIZE); in testPeek()
216 LinkedList q = populatedQueue(SIZE); in testElement()
231 LinkedList q = populatedQueue(SIZE); in testRemove()
245 LinkedList q = populatedQueue(SIZE); in testRemoveElement()
266 LinkedList q = populatedQueue(SIZE); in testContains()
278 LinkedList q = populatedQueue(SIZE); in testClear()
292 LinkedList q = populatedQueue(SIZE); in testContainsAll()
[all …]
DConcurrentLinkedQueueTest.java37 private ConcurrentLinkedQueue<Integer> populatedQueue(int n) { in populatedQueue() method in ConcurrentLinkedQueueTest
117 ConcurrentLinkedQueue q = populatedQueue(SIZE); in testSize()
185 ConcurrentLinkedQueue q = populatedQueue(SIZE); in testAddAllSelf()
237 ConcurrentLinkedQueue q = populatedQueue(SIZE); in testPoll()
248 ConcurrentLinkedQueue q = populatedQueue(SIZE); in testPeek()
262 ConcurrentLinkedQueue q = populatedQueue(SIZE); in testElement()
277 ConcurrentLinkedQueue q = populatedQueue(SIZE); in testRemove()
291 ConcurrentLinkedQueue q = populatedQueue(SIZE); in testRemoveElement()
312 ConcurrentLinkedQueue q = populatedQueue(SIZE); in testContains()
324 ConcurrentLinkedQueue q = populatedQueue(SIZE); in testClear()
[all …]
DPriorityBlockingQueueTest.java68 private PriorityBlockingQueue<Integer> populatedQueue(int n) { in populatedQueue() method in PriorityBlockingQueueTest
181 BlockingQueue q = populatedQueue(SIZE); in testRemainingCapacity()
230 PriorityBlockingQueue q = populatedQueue(SIZE); in testAddAllSelf()
317 PriorityBlockingQueue q = populatedQueue(SIZE); in testTake()
327 final PriorityBlockingQueue q = populatedQueue(SIZE); in testBlockingTake()
360 PriorityBlockingQueue q = populatedQueue(SIZE); in testPoll()
371 PriorityBlockingQueue q = populatedQueue(SIZE); in testTimedPoll0()
382 PriorityBlockingQueue<Integer> q = populatedQueue(SIZE); in testTimedPoll()
399 final BlockingQueue<Integer> q = populatedQueue(SIZE); in testInterruptedTimedPoll()
426 PriorityBlockingQueue q = populatedQueue(SIZE); in testPeek()
[all …]
DPriorityQueueTest.java43 private PriorityQueue<Integer> populatedQueue(int n) { in populatedQueue() method in PriorityQueueTest
150 PriorityQueue q = populatedQueue(SIZE); in testSize()
271 PriorityQueue q = populatedQueue(SIZE); in testPoll()
282 PriorityQueue q = populatedQueue(SIZE); in testPeek()
296 PriorityQueue q = populatedQueue(SIZE); in testElement()
311 PriorityQueue q = populatedQueue(SIZE); in testRemove()
325 PriorityQueue q = populatedQueue(SIZE); in testRemoveElement()
346 PriorityQueue q = populatedQueue(SIZE); in testContains()
358 PriorityQueue q = populatedQueue(SIZE); in testClear()
372 PriorityQueue q = populatedQueue(SIZE); in testContainsAll()
[all …]
DDelayQueueTest.java139 private DelayQueue<PDelay> populatedQueue(int n) { in populatedQueue() method in DelayQueueTest
223 BlockingQueue q = populatedQueue(SIZE); in testRemainingCapacity()
260 DelayQueue q = populatedQueue(SIZE); in testAddAllSelf()
347 DelayQueue q = populatedQueue(SIZE); in testTake()
357 final DelayQueue q = populatedQueue(SIZE); in testBlockingTake()
390 DelayQueue q = populatedQueue(SIZE); in testPoll()
401 DelayQueue q = populatedQueue(SIZE); in testTimedPoll0()
412 DelayQueue q = populatedQueue(SIZE); in testTimedPoll()
430 final DelayQueue q = populatedQueue(SIZE); in testInterruptedTimedPoll()
466 DelayQueue q = populatedQueue(SIZE); in testPeek()
[all …]
DLinkedBlockingQueueTest.java60 private LinkedBlockingQueue<Integer> populatedQueue(int n) { in populatedQueue() method in LinkedBlockingQueueTest
158 BlockingQueue q = populatedQueue(SIZE); in testRemainingCapacity()
198 LinkedBlockingQueue q = populatedQueue(SIZE); in testAddAllSelf()
364 LinkedBlockingQueue q = populatedQueue(SIZE); in testTake()
374 final BlockingQueue q = populatedQueue(SIZE); in testBlockingTake()
407 LinkedBlockingQueue q = populatedQueue(SIZE); in testPoll()
418 LinkedBlockingQueue q = populatedQueue(SIZE); in testTimedPoll0()
429 LinkedBlockingQueue<Integer> q = populatedQueue(SIZE); in testTimedPoll()
446 final BlockingQueue<Integer> q = populatedQueue(SIZE); in testInterruptedTimedPoll()
474 LinkedBlockingQueue q = populatedQueue(SIZE); in testPeek()
[all …]
DLinkedTransferQueueTest.java136 BlockingQueue q = populatedQueue(SIZE); in testRemainingCapacity()
153 LinkedTransferQueue q = populatedQueue(SIZE); in testAddAllSelf()
208 LinkedTransferQueue<Integer> q = populatedQueue(SIZE); in testTake()
218 final BlockingQueue q = populatedQueue(SIZE); in testBlockingTake()
251 LinkedTransferQueue<Integer> q = populatedQueue(SIZE); in testPoll()
263 LinkedTransferQueue<Integer> q = populatedQueue(SIZE); in testTimedPoll0()
275 LinkedTransferQueue<Integer> q = populatedQueue(SIZE); in testTimedPoll()
292 final BlockingQueue<Integer> q = populatedQueue(SIZE); in testInterruptedTimedPoll()
319 final BlockingQueue<Integer> q = populatedQueue(SIZE); in testTimedPollAfterInterrupt()
341 LinkedTransferQueue<Integer> q = populatedQueue(SIZE); in testPeek()
[all …]
DArrayBlockingQueueTest.java60 private ArrayBlockingQueue<Integer> populatedQueue(int n) { in populatedQueue() method in ArrayBlockingQueueTest
169 BlockingQueue q = populatedQueue(SIZE); in testRemainingCapacity()
210 ArrayBlockingQueue q = populatedQueue(SIZE); in testAddAllSelf()
374 ArrayBlockingQueue q = populatedQueue(SIZE); in testTake()
384 final ArrayBlockingQueue q = populatedQueue(SIZE); in testBlockingTake()
417 ArrayBlockingQueue q = populatedQueue(SIZE); in testPoll()
428 ArrayBlockingQueue q = populatedQueue(SIZE); in testTimedPoll0()
440 ArrayBlockingQueue q = populatedQueue(SIZE); in testTimedPoll()
457 final BlockingQueue<Integer> q = populatedQueue(SIZE); in testInterruptedTimedPoll()
485 ArrayBlockingQueue q = populatedQueue(SIZE); in testPeek()
[all …]
/libcore/ojluni/src/test/java/util/concurrent/tck/
DLinkedListTest.java74 private LinkedList<Integer> populatedQueue(int n) { in populatedQueue() method in LinkedListTest
133 LinkedList q = populatedQueue(SIZE); in testSize()
232 LinkedList q = populatedQueue(SIZE); in testPoll()
243 LinkedList q = populatedQueue(SIZE); in testPeek()
257 LinkedList q = populatedQueue(SIZE); in testElement()
272 LinkedList q = populatedQueue(SIZE); in testRemove()
286 LinkedList q = populatedQueue(SIZE); in testRemoveElement()
307 LinkedList q = populatedQueue(SIZE); in testContains()
319 LinkedList q = populatedQueue(SIZE); in testClear()
333 LinkedList q = populatedQueue(SIZE); in testContainsAll()
[all …]
DConcurrentLinkedQueueTest.java69 private ConcurrentLinkedQueue<Integer> populatedQueue(int n) { in populatedQueue() method in ConcurrentLinkedQueueTest
150 ConcurrentLinkedQueue q = populatedQueue(SIZE); in testSize()
218 ConcurrentLinkedQueue q = populatedQueue(SIZE); in testAddAllSelf()
270 ConcurrentLinkedQueue q = populatedQueue(SIZE); in testPoll()
281 ConcurrentLinkedQueue q = populatedQueue(SIZE); in testPeek()
295 ConcurrentLinkedQueue q = populatedQueue(SIZE); in testElement()
310 ConcurrentLinkedQueue q = populatedQueue(SIZE); in testRemove()
324 ConcurrentLinkedQueue q = populatedQueue(SIZE); in testRemoveElement()
345 ConcurrentLinkedQueue q = populatedQueue(SIZE); in testContains()
357 ConcurrentLinkedQueue q = populatedQueue(SIZE); in testClear()
[all …]
DPriorityBlockingQueueTest.java97 private PriorityBlockingQueue<Integer> populatedQueue(int n) { in populatedQueue() method in PriorityBlockingQueueTest
211 BlockingQueue q = populatedQueue(SIZE); in testRemainingCapacity()
263 PriorityBlockingQueue q = populatedQueue(SIZE); in testAddAllSelf()
350 PriorityBlockingQueue q = populatedQueue(SIZE); in testTake()
360 final PriorityBlockingQueue q = populatedQueue(SIZE); in testBlockingTake()
393 PriorityBlockingQueue q = populatedQueue(SIZE); in testPoll()
404 PriorityBlockingQueue q = populatedQueue(SIZE); in testTimedPoll0()
415 PriorityBlockingQueue<Integer> q = populatedQueue(SIZE); in testTimedPoll()
432 final BlockingQueue<Integer> q = populatedQueue(SIZE); in testInterruptedTimedPoll()
459 PriorityBlockingQueue q = populatedQueue(SIZE); in testPeek()
[all …]
DDelayQueueTest.java146 private DelayQueue<PDelay> populatedQueue(int n) { in populatedQueue() method in DelayQueueTest
231 BlockingQueue q = populatedQueue(SIZE); in testRemainingCapacity()
268 DelayQueue q = populatedQueue(SIZE); in testAddAllSelf()
355 DelayQueue q = populatedQueue(SIZE); in testTake()
365 final DelayQueue q = populatedQueue(SIZE); in testBlockingTake()
398 DelayQueue q = populatedQueue(SIZE); in testPoll()
409 DelayQueue q = populatedQueue(SIZE); in testTimedPoll0()
420 DelayQueue q = populatedQueue(SIZE); in testTimedPoll()
438 final DelayQueue q = populatedQueue(SIZE); in testInterruptedTimedPoll()
474 DelayQueue q = populatedQueue(SIZE); in testPeek()
[all …]
DArrayBlockingQueueTest.java66 return populatedQueue(0, SIZE, 2 * SIZE, fair); in suite()
82 return populatedQueue(0, SIZE, 2 * SIZE, true); in emptyCollection()
88 return populatedQueue(0, SIZE, 2 * SIZE, false); in emptyCollection()
96 static ArrayBlockingQueue<Integer> populatedQueue(int n) { in populatedQueue() method in ArrayBlockingQueueTest
97 return populatedQueue(n, n, n, false); in populatedQueue()
104 static ArrayBlockingQueue<Integer> populatedQueue( in populatedQueue() method in ArrayBlockingQueueTest
217 BlockingQueue q = populatedQueue(0, 2, 2, false); in testEmptyFull()
233 BlockingQueue q = populatedQueue(size, size, 2 * size, false); in testRemainingCapacity()
274 ArrayBlockingQueue q = populatedQueue(SIZE); in testAddAllSelf()
301 ArrayBlockingQueue q = populatedQueue(0, size, size, false); in testAddAll_insufficientSpace()
[all …]
DLinkedBlockingQueueTest.java89 private LinkedBlockingQueue<Integer> populatedQueue(int n) { in populatedQueue() method in LinkedBlockingQueueTest
188 BlockingQueue q = populatedQueue(SIZE); in testRemainingCapacity()
228 LinkedBlockingQueue q = populatedQueue(SIZE); in testAddAllSelf()
394 LinkedBlockingQueue q = populatedQueue(SIZE); in testTake()
404 final BlockingQueue q = populatedQueue(SIZE); in testBlockingTake()
437 LinkedBlockingQueue q = populatedQueue(SIZE); in testPoll()
448 LinkedBlockingQueue q = populatedQueue(SIZE); in testTimedPoll0()
459 LinkedBlockingQueue<Integer> q = populatedQueue(SIZE); in testTimedPoll()
476 final BlockingQueue<Integer> q = populatedQueue(SIZE); in testInterruptedTimedPoll()
504 LinkedBlockingQueue q = populatedQueue(SIZE); in testPeek()
[all …]
DLinkedTransferQueueTest.java154 BlockingQueue q = populatedQueue(SIZE); in testRemainingCapacity()
171 LinkedTransferQueue q = populatedQueue(SIZE); in testAddAllSelf()
226 LinkedTransferQueue<Integer> q = populatedQueue(SIZE); in testTake()
236 final BlockingQueue q = populatedQueue(SIZE); in testBlockingTake()
269 LinkedTransferQueue<Integer> q = populatedQueue(SIZE); in testPoll()
281 LinkedTransferQueue<Integer> q = populatedQueue(SIZE); in testTimedPoll0()
293 LinkedTransferQueue<Integer> q = populatedQueue(SIZE); in testTimedPoll()
310 final BlockingQueue<Integer> q = populatedQueue(SIZE); in testInterruptedTimedPoll()
337 final BlockingQueue<Integer> q = populatedQueue(SIZE); in testTimedPollAfterInterrupt()
359 LinkedTransferQueue<Integer> q = populatedQueue(SIZE); in testPeek()
[all …]