Searched refs:newQueue (Results 1 – 3 of 3) sorted by relevance
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/ |
D | EventLoop.common.kt | 302 … val newQueue = Queue<Runnable>(Queue.INITIAL_CAPACITY, singleConsumer = true) in enqueueImpl() constant 303 newQueue.addLast(queue as Runnable) in enqueueImpl() 304 newQueue.addLast(task) in enqueueImpl() 305 if (_queue.compareAndSet(queue, newQueue)) return true in enqueueImpl() 343 … val newQueue = Queue<Runnable>(Queue.INITIAL_CAPACITY, singleConsumer = true) in closeQueue() constant 344 newQueue.addLast(queue as Runnable) in closeQueue() 345 if (_queue.compareAndSet(queue, newQueue)) return in closeQueue()
|
/external/guava/guava/src/com/google/common/collect/ |
D | MinMaxPriorityQueue.java | 938 Object[] newQueue = new Object[newCapacity]; in growIfNeeded() local 939 System.arraycopy(queue, 0, newQueue, 0, queue.length); in growIfNeeded() 940 queue = newQueue; in growIfNeeded()
|
/external/guava/android/guava/src/com/google/common/collect/ |
D | MinMaxPriorityQueue.java | 938 Object[] newQueue = new Object[newCapacity]; in growIfNeeded() local 939 System.arraycopy(queue, 0, newQueue, 0, queue.length); in growIfNeeded() 940 queue = newQueue; in growIfNeeded()
|