Home
last modified time | relevance | path

Searched refs:combineTransform (Results 1 – 7 of 7) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/operators/
DCombineParametersTestBase.kt18 … val flow2 = combineTransform(flowOf("1"), flowOf(2), flowOf(null)) { a, b, c -> emit(a + b + c) } in <lambda>()
24 … val flow = combineTransform(flowOf("1"), flowOf(2), flowOf(null)) { a, b, c -> emit(a + b + c) } in <lambda>()
36 … val flow = combineTransform(flowOf("1"), flowOf(2), flowOf("3"), flowOf(null)) { a, b, c, d -> in <lambda>()
53combineTransform(flowOf("1"), flowOf(2), flowOf("3"), flowOf(4.toByte()), flowOf(null)) { a, b, c,… in <lambda>()
90 val flow = combineTransform( in <lambda>()
109 val list = combineTransform(flowOf(1, 2, 3)) { args: Array<Any?> -> emit(args[0]) }.toList() in <lambda>()
125 val value = combineTransform(flowOf(1), flowOf(2)) { args: Array<Int> -> in <lambda>()
135 val value = combineTransform(emptyList()) { args: Array<Int> -> in <lambda>()
143 val value = combineTransform { args: Array<Int> -> in <lambda>()
DCombineTest.kt11 import kotlinx.coroutines.flow.combineTransform as combineTransformOriginal in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/flow/operators/
DZip.kt72 public fun <T1, T2, R> Flow<T1>.combineTransform( in combine() method
99 public fun <T1, T2, R> combineTransform( in combineTransform() method
133 public fun <T1, T2, T3, R> combineTransform( in combineTransform() method
171 public fun <T1, T2, T3, T4, R> combineTransform( in combineTransform() method
213 public fun <T1, T2, T3, T4, T5, R> combineTransform( in combineTransform() method
247 public inline fun <reified T, R> combineTransform( in combineTransform() method
302 public inline fun <reified T, R> combineTransform( in combineTransform() method
/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/flow/
DCombineTwoFlowsBenchmark.kt31 fun combineTransform() = runBlocking { in <lambda>() method
33 flow.combineTransform(flow) { a, b -> emit(a + b) }.collect() in <lambda>()
45 combineTransform(listOf(flow, flow)) { arr -> emit(arr[0] + arr[1]) }.collect() in <lambda>()
DCombineFlowsBenchmark.kt29 fun combineTransform() = runBlocking { in <lambda>() method in benchmarks.flow.CombineFlowsBenchmark
31 combineTransform((1 until size).map { flowOf(it) }) { emit(it) }.collect() in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/api/
Dkotlinx-coroutines-core.api1023 …public static final fun combineTransform (Lkotlinx/coroutines/flow/Flow;Lkotlinx/coroutines/flow/F…
1024 …public static final fun combineTransform (Lkotlinx/coroutines/flow/Flow;Lkotlinx/coroutines/flow/F…
1025 …public static final fun combineTransform (Lkotlinx/coroutines/flow/Flow;Lkotlinx/coroutines/flow/F…
1026 …public static final fun combineTransform (Lkotlinx/coroutines/flow/Flow;Lkotlinx/coroutines/flow/F…
/external/kotlinx.coroutines/
DCHANGES_UP_TO_1.7.md661 * Flow: Fix recursion in combineTransform<T1, T2, R> (#1466).
696 * `combineTransform` operator for non-trivial transformations (#1224).
697 * Top-level `combine` and `combineTransform` overloads for multiple flows (#1262).