Home
last modified time | relevance | path

Searched refs:addLast (Results 1 – 25 of 82) sorted by relevance

1234

/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/internal/
DLockFreeTaskQueueTest.kt30 assertTrue(q.addLast(1)) in <lambda>()
33 assertTrue(q.addLast(2)) in <lambda>()
36 assertTrue(q.addLast(3)) in <lambda>()
45 assertTrue(q.addLast(4)) in <lambda>()
51 assertFalse(q.addLast(5)) in <lambda>()
68 assertTrue(q.addLast(i)) in <lambda>()
DThreadSafeHeapTest.kt26 h.addLast(n1) in compareTo()
29 h.addLast(n2) in compareTo()
32 h.addLast(n3) in compareTo()
35 h.addLast(n4) in compareTo()
38 h.addLast(n5) in compareTo()
59 repeat(n) { h.addLast(Node(a[it])) } in testRandomSort()
74 h.addLast(node) in testRandomRemove()
DLockFreeLinkedListTest.kt17 val n1 = IntNode(1).apply { list.addLast(this) } in testSimpleAddLast()
19 val n2 = IntNode(2).apply { list.addLast(this) } in testSimpleAddLast()
21 val n3 = IntNode(3).apply { list.addLast(this) } in testSimpleAddLast()
23 val n4 = IntNode(4).apply { list.addLast(this) } in testSimpleAddLast()
/external/kotlinx.coroutines/kotlinx-coroutines-core/native/test/internal/
DLinkedListTest.kt19 val n1 = IntNode(1).apply { list.addLast(this) } in testSimpleAddLastRemove()
21 val n2 = IntNode(2).apply { list.addLast(this) } in testSimpleAddLastRemove()
23 val n3 = IntNode(3).apply { list.addLast(this) } in testSimpleAddLastRemove()
25 val n4 = IntNode(4).apply { list.addLast(this) } in testSimpleAddLastRemove()
/external/kotlinx.coroutines/kotlinx-coroutines-core/js/test/internal/
DLinkedListTest.kt19 val n1 = IntNode(1).apply { list.addLast(this) } in testSimpleAddLastRemove()
21 val n2 = IntNode(2).apply { list.addLast(this) } in testSimpleAddLastRemove()
23 val n3 = IntNode(3).apply { list.addLast(this) } in testSimpleAddLastRemove()
25 val n4 = IntNode(4).apply { list.addLast(this) } in testSimpleAddLastRemove()
/external/kotlinx.coroutines/kotlinx-coroutines-core/js/src/internal/
DLinkedList.kt27 public fun addLast(node: Node) { in addLast() method in kotlinx.coroutines.internal.LinkedListNode
47 addLast(node) in addOneIfEmpty()
53 addLast(node) in addLastIf()
59 addLast(node) in addLastIfPrev()
70 addLast(node) in addLastIfPrevAndIf()
100 override fun onComplete() = queue.addLast(node) in onComplete()
/external/kotlinx.coroutines/kotlinx-coroutines-core/native/src/internal/
DLinkedList.kt27 public fun addLast(node: Node) { in addLast() method in kotlinx.coroutines.internal.LinkedListNode
47 addLast(node) in addOneIfEmpty()
53 addLast(node) in addLastIf()
59 addLast(node) in addLastIfPrev()
70 addLast(node) in addLastIfPrevAndIf()
100 override fun onComplete() = queue.addLast(node) in onComplete()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/scheduling/
DWorkQueue.kt73 if (fair) return addLast(task) in poll()
75 return addLast(previous) in poll()
82 private fun addLast(task: Task): Task? { in addLast() method
141 lastScheduledTask.getAndSet(null)?.let { globalQueue.addLast(it) } in offloadAllWorkTo()
176 queue.addLast(task) in pollTo()
/external/guava/android/guava/src/com/google/common/collect/
DTreeTraverser.java133 stack.addLast(Iterators.singletonIterator(checkNotNull(root)));
150 stack.addLast(childItr);
196 stack.addLast(expand(root));
205 stack.addLast(expand(child));
DForwardingDeque.java56 public void addLast(E e) { in addLast() method in ForwardingDeque
57 delegate().addLast(e); in addLast()
/external/guava/guava/src/com/google/common/collect/
DTreeTraverser.java146 stack.addLast(Iterators.singletonIterator(checkNotNull(root)));
163 stack.addLast(childItr);
221 stack.addLast(expand(root));
230 stack.addLast(expand(child));
DForwardingDeque.java56 public void addLast(E e) { in addLast() method in ForwardingDeque
57 delegate().addLast(e); in addLast()
/external/turbine/java/com/google/turbine/parse/
DVariableInitializerParser.java105 ltIndices.addLast(tokens.size()); in parseInitializers()
106 commaIndices.addLast(commas.size()); in parseInitializers()
116 ltIndices.addLast(tokens.size()); in parseInitializers()
117 commaIndices.addLast(commas.size()); in parseInitializers()
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
DNettyHttpClient.java75 pipeline.addLast("ssl", new SslHandler(engine)); in prepare()
78 pipeline.addLast("codec", new HttpClientCodec()); in prepare()
79 pipeline.addLast("inflater", new HttpContentDecompressor()); in prepare()
80 pipeline.addLast("handler", new HttpChannel(channel)); in prepare()
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/
DDocBuilder.java46 stack.addLast(base); in DocBuilder()
69 stack.addLast(level); in open()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/linearizability/
DLockFreeTaskQueueLCStressTest.kt26 fun addLast(@Param(name = "value") value: Int) = q.addLast(value) in close() method
DLockFreeListLCStressTest.kt23 fun addLast(@Param(name = "value") value: Int) { in addLast() method in kotlinx.coroutines.linearizability.LockFreeListLCStressTest
24 q.addLast(Node(value)) in addLast()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/
DEventLoop.common.kt87 queue.addLast(task) in <lambda>()
298 when ((queue as Queue<Runnable>).addLast(task)) { in enqueueImpl()
309 newQueue.addLast(queue as Runnable) in enqueueImpl()
310 newQueue.addLast(task) in enqueueImpl()
350 newQueue.addLast(queue as Runnable) in closeQueue()
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DProtocolNegotiatorsTest.java125 pipeline.addLast(handler); in tlsHandler_handlerAddedAddsSslHandler()
133 pipeline.addLast(handler); in tlsHandler_userEventTriggeredNonSslEvent()
154 pipeline.addLast(handler); in tlsHandler_userEventTriggeredSslEvent_unsupportedProtocol()
171 pipeline.addLast(handler); in tlsHandler_userEventTriggeredSslEvent_handshakeFailure()
193 pipeline.addLast(handler); in tlsHandler_userEventTriggeredSslEvent_supportedProtocolH2()
216 pipeline.addLast(handler); in tlsHandler_userEventTriggeredSslEvent_supportedProtocolGrpcExp()
232 pipeline.addLast(handler); in engineLog()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DSimpleXYSeries.java229 public void addLast(Number x, Number y) { in addLast() method in SimpleXYSeries
233 xVals.addLast(x); in addLast()
235 yVals.addLast(y); in addLast()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowMatrix.java228 postOps.addLast(TRANSLATE + " " + dx + " " + dy); in postTranslate()
234 postOps.addLast(SCALE + " " + sx + " " + sy + " " + px + " " + py); in postScale()
240 postOps.addLast(SCALE + " " + sx + " " + sy); in postScale()
246 postOps.addLast(ROTATE + " " + degrees + " " + px + " " + py); in postRotate()
252 postOps.addLast(ROTATE + " " + Float.toString(degrees)); in postRotate()
258 postOps.addLast(SKEW + " " + kx + " " + ky + " " + px + " " + py); in postSkew()
264 postOps.addLast(SKEW + " " + kx + " " + ky); in postSkew()
270 postOps.addLast(MATRIX + " " + other); in postConcat()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/scheduling/
DWorkQueueStressTest.kt47 producerQueue.add(task(i.toLong()))?.let { globalQueue.addLast(it) } in testStealing()
119 tasks.forEach { addLast(it) } in GlobalQueue()
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DOrientationSensorExampleActivity.java239 azimuthHistorySeries.addLast(null, sensorEvent.values[0]); in onSensorChanged()
240 pitchHistorySeries.addLast(null, sensorEvent.values[1]); in onSensorChanged()
241 rollHistorySeries.addLast(null, sensorEvent.values[2]); in onSensorChanged()
/external/guava/guava-tests/test/com/google/common/collect/
DSynchronizedDequeTest.java159 public void addLast(E e) { in addLast() method in SynchronizedDequeTest.TestDeque
161 delegate.addLast(e); in addLast()
279 create().addLast("e"); in testHoldsLockOnAllOperations()
/external/guava/android/guava-tests/test/com/google/common/collect/
DSynchronizedDequeTest.java159 public void addLast(E e) { in addLast() method in SynchronizedDequeTest.TestDeque
161 delegate.addLast(e); in addLast()
279 create().addLast("e"); in testHoldsLockOnAllOperations()

1234