Home
last modified time | relevance | path

Searched refs:newQueue (Results 1 – 3 of 3) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/
DEventLoop.common.kt299 … val newQueue = Queue<Runnable>(Queue.INITIAL_CAPACITY, singleConsumer = true) in enqueueImpl() constant
300 newQueue.addLast(queue as Runnable) in enqueueImpl()
301 newQueue.addLast(task) in enqueueImpl()
302 if (_queue.compareAndSet(queue, newQueue)) return true in enqueueImpl()
359 … val newQueue = Queue<Runnable>(Queue.INITIAL_CAPACITY, singleConsumer = true) in closeQueue() constant
360 newQueue.addLast(queue as Runnable) in closeQueue()
361 if (_queue.compareAndSet(queue, newQueue)) return in closeQueue()
/external/guava/guava/src/com/google/common/collect/
DMinMaxPriorityQueue.java969 Object[] newQueue = new Object[newCapacity]; in growIfNeeded() local
970 System.arraycopy(queue, 0, newQueue, 0, queue.length); in growIfNeeded()
971 queue = newQueue; in growIfNeeded()
/external/guava/android/guava/src/com/google/common/collect/
DMinMaxPriorityQueue.java969 Object[] newQueue = new Object[newCapacity]; in growIfNeeded() local
970 System.arraycopy(queue, 0, newQueue, 0, queue.length); in growIfNeeded()
971 queue = newQueue; in growIfNeeded()