Home
last modified time | relevance | path

Searched refs:withIndex (Results 1 – 20 of 20) sorted by relevance

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/builder/
DBuilderDeserializationTest2486.java34 withIndex((int) jsonArray.get(0)); in Builder()
38 public Builder withIndex(int i) { in withIndex() method in BuilderDeserializationTest2486.MyPOJOWithArrayCreator.Builder
76 withIndex(i); in Builder()
80 public Builder withIndex(int i) { in withIndex() method in BuilderDeserializationTest2486.MyPOJOWithPrimitiveCreator.Builder
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/operators/
DIndexedTest.kt14 val flow = flowOf(3, 2, 1).withIndex() in <lambda>()
20 val flow = emptyFlow<Int>().withIndex() in <lambda>()
/external/guava/guava-tests/test/com/google/common/collect/
DStreamsTest.java240 Stream<String> withIndex = Streams.mapWithIndex(strings, (str, i) -> str + ":" + i); in testMapWithIndex_closeIsPropagated() local
242 withIndex.close(); in testMapWithIndex_closeIsPropagated()
265 Stream<String> withIndex = Streams.mapWithIndex(intStream, (str, i) -> str + ":" + i); in testMapWithIndex_intStream_closeIsPropagated() local
267 withIndex.close(); in testMapWithIndex_intStream_closeIsPropagated()
290 Stream<String> withIndex = Streams.mapWithIndex(longStream, (str, i) -> str + ":" + i); in testMapWithIndex_longStream_closeIsPropagated() local
292 withIndex.close(); in testMapWithIndex_longStream_closeIsPropagated()
317 Stream<String> withIndex = Streams.mapWithIndex(doubleStream, (str, i) -> str + ":" + i); in testMapWithIndex_doubleStream_closeIsPropagated() local
319 withIndex.close(); in testMapWithIndex_doubleStream_closeIsPropagated()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/selects/
DSelectPhilosophersStressTest.kt57 forks.withIndex().forEach { (id, mutex) -> println("$id: $mutex") } in <lambda>()
61 eats.withIndex().forEach { (id, eats) -> in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-debug/test/
DStacktraceUtils.kt101 trace.withIndex().drop(1).forEach { (index, value) -> in verifyDump()
110 expected.withIndex().forEach { (index, trace) -> in verifyDump()
/external/antlr/runtime/ObjC/Framework/
DLinkedList.h35 + (ListIterator *) newIterator:(LinkedList *)anLL withIndex:(NSInteger)anIndex;
37 - (id) init:(LinkedList *)anLL withIndex:(NSInteger)anIndex;
DLinkedList.m42 return [[ListIterator alloc] init:anLL withIndex:0];
45 + (ListIterator *) newIterator:(LinkedList *)anLL withIndex:(NSInteger)anIndex
47 return [[ListIterator alloc] init:anLL withIndex:anIndex];
50 - (id) init:(LinkedList *)anLL withIndex:(NSInteger)anIndex
164 self = [super init:anLL withIndex:[anLL count]];
1094 return [[ListIterator newIterator:self withIndex:index] autorelease];
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/guide/
Dexample-select-04.kt25 list.withIndex().forEach { (index, deferred) -> in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/guide/test/
DChannelsGuideTest.kt79 …check(lines.size == 10 && lines.withIndex().all { (i, line) -> line.startsWith("Processor #") && l… in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/flow/
DStateFlowStressTest.kt71 c.withIndex().all { (emitter, current) -> current > emitted[emitter] / 2 } in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/flow/operators/
DTransform.kt62 public fun <T> Flow<T>.withIndex(): Flow<IndexedValue<T>> = flow { in <lambda>() method
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/introspect/
DPropertyMetadataTest.java78 md = md.withIndex(Integer.valueOf(3)); in testPropertyMetadata()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DPropertyMetadata.java209 public PropertyMetadata withIndex(Integer index) { in withIndex() method in PropertyMetadata
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/internal/
DStackTraceRecovery.kt113 for ((index, element) in resultStackTrace.withIndex()) { in createFinalException()
/external/oboe/apps/fxlab/app/src/main/java/com/mobileer/androidfxlab/
DEffectsAdapter.kt79 for (ind in effect.effectDescription.paramValues.withIndex()) { in <lambda>()
/external/dokka/core/src/main/kotlin/Formats/
DStructuredFormatService.kt250 for ((index, item) in path.withIndex()) { in <lambda>()
323 for ((index, item) in items.withIndex()) { in <lambda>()
/external/kotlinx.coroutines/integration/kotlinx-coroutines-jdk8/test/future/
DFutureTest.kt481 for ((index, clazz) in suppressed.withIndex()) { in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/channels/
DChannels.common.kt1650 public fun <E> ReceiveChannel<E>.withIndex(context: CoroutineContext = Dispatchers.Unconfined): Rec… in withIndex() method
1653 for (e in this@withIndex) { in withIndex()
/external/kotlinx.coroutines/kotlinx-coroutines-core/api/
Dkotlinx-coroutines-core.api742 …public static final fun withIndex (Lkotlinx/coroutines/channels/ReceiveChannel;Lkotlin/coroutines/…
743 …public static synthetic fun withIndex$default (Lkotlinx/coroutines/channels/ReceiveChannel;Lkotlin…
1051 public static final fun withIndex (Lkotlinx/coroutines/flow/Flow;)Lkotlinx/coroutines/flow/Flow;
/external/kotlinx.coroutines/
DCHANGES.md274 * New basic `Flow` operators: `withIndex`, `collectIndexed`, `distinctUntilChanged` overload