Home
last modified time | relevance | path

Searched defs:withIndex (Results 1 – 3 of 3) sorted by relevance

/external/guava/guava-tests/test/com/google/common/collect/
DStreamsTest.java216 Stream<String> withIndex = Streams.mapWithIndex(strings, (str, i) -> str + ":" + i); in testMapWithIndex_closeIsPropagated() local
241 Stream<String> withIndex = Streams.mapWithIndex(intStream, (str, i) -> str + ":" + i); in testMapWithIndex_intStream_closeIsPropagated() local
266 Stream<String> withIndex = Streams.mapWithIndex(longStream, (str, i) -> str + ":" + i); in testMapWithIndex_longStream_closeIsPropagated() local
293 Stream<String> withIndex = Streams.mapWithIndex(doubleStream, (str, i) -> str + ":" + i); in testMapWithIndex_doubleStream_closeIsPropagated() local
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/flow/operators/
DTransform.kt63 public fun <T> Flow<T>.withIndex(): Flow<IndexedValue<T>> = flow { in <lambda>() method
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/channels/
DChannels.common.kt1655 public fun <E> ReceiveChannel<E>.withIndex(context: CoroutineContext = Dispatchers.Unconfined): Rec… in withIndex() method