Home
last modified time | relevance | path

Searched refs:coroutineScope (Results 1 – 25 of 68) sorted by relevance

123

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/
DCoroutineScopeTest.kt16 suspend fun callJobScoped() = coroutineScope { in <lambda>()
44 suspend fun callJobScoped() = coroutineScope { in <lambda>()
70 coroutineScope { in <lambda>()
83 suspend fun callJobScoped(): Unit = coroutineScope { in <lambda>()
103 suspend fun callJobScoped() = coroutineScope { in <lambda>()
151 private suspend fun failedConcurrentSumFirst(): Int = coroutineScope { in <lambda>()
181 private suspend fun failedConcurrentSumSecond(): Int = coroutineScope { in <lambda>()
202 suspend fun loadData() = coroutineScope { in <lambda>()
236 coroutineScope { in <lambda>()
267 coroutineScope { in <lambda>()
DAwaitCancellationTest.kt14 coroutineScope { in <lambda>()
DBuilderContractsTest.kt16 coroutineScope { in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/channels/
DBasicOperationsTest.kt93 private suspend fun testReceiveOrNull(kind: TestChannelKind) = coroutineScope { in <lambda>()
110 private suspend fun testReceiveOrNullException(kind: TestChannelKind) = coroutineScope { in <lambda>()
133 private suspend fun testReceiveOrClosed(kind: TestChannelKind) = coroutineScope { in <lambda>()
161 private suspend fun testOffer(kind: TestChannelKind) = coroutineScope { in <lambda>()
186 coroutineScope { in <lambda>()
197 private suspend fun testSendReceive(kind: TestChannelKind, iterations: Int) = coroutineScope { in <lambda>()
DSendReceiveStressTest.kt30 private suspend fun testStress(channel: Channel<Int>) = coroutineScope { in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/
DFlowInvariantsTest.kt110 coroutineScope { in <lambda>()
119 coroutineScope { in <lambda>()
122 coroutineScope { emit(value) } in <lambda>()
144 coroutineScope { in <lambda>()
147 coroutineScope { send(value) } in <lambda>()
162 coroutineScope { in <lambda>()
177 coroutineScope { in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/terminal/
DFirstTest.kt39 coroutineScope { in <lambda>()
68 coroutineScope { in <lambda>()
106 coroutineScope { in <lambda>()
141 coroutineScope { in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/operators/
DTakeWhileTest.kt35 coroutineScope { in <lambda>()
53 coroutineScope { in <lambda>()
DFilterTest.kt31 coroutineScope { in <lambda>()
67 coroutineScope { in <lambda>()
DTakeTest.kt67 coroutineScope { in <lambda>()
84 coroutineScope { in <lambda>()
DDistinctUntilChangedTest.kt60 coroutineScope { in <lambda>()
77 coroutineScope { in <lambda>()
DOnStartTest.kt22 coroutineScope { in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/exceptions/
DStackTraceRecoveryTest.kt174 …vate suspend fun outerScopedMethod(deferred: Deferred<*>, vararg traces: String) = coroutineScope { in <lambda>()
187 coroutineScope<Unit> { in <lambda>()
272 coroutineScope<Unit> { in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/guide/
Dexample-basic-06.kt16 coroutineScope { // Creates a coroutine scope in <lambda>()
Dexample-compose-06.kt18 suspend fun failedConcurrentSum(): Int = coroutineScope { in <lambda>()
Dexample-sync-01.kt15 coroutineScope { // scope for coroutines in massiveRun()
Dexample-sync-02.kt15 coroutineScope { // scope for coroutines in massiveRun()
Dexample-sync-05.kt15 coroutineScope { // scope for coroutines in massiveRun()
Dexample-compose-05.kt18 suspend fun concurrentSum(): Int = coroutineScope { in <lambda>()
Dexample-sync-04.kt15 coroutineScope { // scope for coroutines in massiveRun()
Dexample-sync-03.kt16 coroutineScope { // scope for coroutines in massiveRun()
Dexample-sync-06.kt16 coroutineScope { // scope for coroutines in massiveRun()
/external/kotlinx.coroutines/kotlinx-coroutines-debug/test/
DScopedBuildersTest.kt34 private suspend fun doInScope() = coroutineScope { in <lambda>()
DExample.kt4 suspend fun computeValue(): String = coroutineScope { in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/npm/
DREADME.md7 suspend fun main() = coroutineScope {

123