/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/ |
D | WithTimeoutTest.kt | 19 val result = withTimeout(10_000) { in <lambda>() 33 val result = withTimeout(10_000) { in <lambda>() 56 val result = withTimeout(1000) { in <lambda>() 76 withTimeout(100) { in <lambda>() 89 withTimeout(100) { in <lambda>() 104 val result = withTimeout(100) { in <lambda>() 114 withTimeout(100) { in <lambda>() 131 withTimeout(100) { in <lambda>() 147 withTimeout(100) { in <lambda>() 168 withTimeout(-1) { in <lambda>() [all …]
|
D | WithTimeoutDurationTest.kt | 20 val result = withTimeout(10.seconds) { in <lambda>() 34 val result = withTimeout(10.seconds) { in <lambda>() 57 val result = withTimeout(1.seconds) { in <lambda>() 77 withTimeout(100.milliseconds) { in <lambda>() 90 withTimeout(100.milliseconds) { in <lambda>() 105 val result = withTimeout(100.milliseconds) { in <lambda>() 121 withTimeout(100.milliseconds) { in equals() 138 withTimeout(100.milliseconds) { in <lambda>() 154 withTimeout(100.milliseconds) { in <lambda>() 175 withTimeout(-1.milliseconds) { in <lambda>() [all …]
|
D | WithTimeoutOrNullTest.kt | 105 withTimeout(10) { in <lambda>() 119 withTimeout(10) { in <lambda>()
|
D | WithTimeoutOrNullDurationTest.kt | 107 withTimeout(10.milliseconds) { in <lambda>() 121 withTimeout(10.milliseconds) { in <lambda>()
|
D | BuilderContractsTest.kt | 36 withTimeout(Long.MAX_VALUE) { in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/exceptions/ |
D | StackTraceRecoveryWithTimeoutTest.kt | 26 withTimeout(200) { in outerWithTimeout() 47 withTimeout(200) { in outerChildWithTimeout() 57 withTimeout(300) { in withTimeoutInChild() 73 withTimeout(200) { in outerChild() 83 withTimeout(100) { in smallWithTimeout()
|
/external/kotlinx.coroutines/kotlinx-coroutines-test/test/ |
D | TestRunBlockingTest.kt | 70 withTimeout(SLOW) { in <lambda>() 79 withTimeout(SLOW) { in <lambda>() 89 withTimeout(SLOW) { in <lambda>() 100 withTimeout(SLOW) { in <lambda>() 120 withTimeout(SLOW) { in <lambda>() 134 withTimeout(SLOW) { in <lambda>() 147 withTimeout(1) { in <lambda>() 162 withTimeout(SLOW) { in <lambda>()
|
/external/okio/okio/src/jvmMain/kotlin/okio/ |
D | AsyncTimeout.kt | 99 withTimeout { sink.write(source, toWrite) } in sink() 105 withTimeout { sink.flush() } in sink() 109 withTimeout { sink.close() } in sink() 125 return withTimeout { source.read(sink, byteCount) } in source() 129 withTimeout { source.close() } in source() 142 inline fun <T> withTimeout(block: () -> T): T { in withTimeout() method in okio.AsyncTimeout
|
/external/kotlinx.coroutines/integration/kotlinx-coroutines-jdk8/test/time/ |
D | DurationOverflowTest.kt | 48 withTimeout(duration) {} in <lambda>() 70 assertFailsWith<TimeoutCancellationException> { withTimeout(0L) {} } in <lambda>() 71 assertFailsWith<TimeoutCancellationException> { withTimeout(Duration.ZERO) {} } in <lambda>()
|
D | WithTimeoutTest.kt | 17 val result = withTimeout(Duration.ofMillis(10_000)) { in <lambda>() 59 withTimeout(Duration.ofMillis(3)) { in <lambda>()
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | FluentFuture.java | 264 public final FluentFuture<V> withTimeout( in withTimeout() method in FluentFuture 266 return withTimeout(toNanosSaturated(timeout), TimeUnit.NANOSECONDS, scheduledExecutor); in withTimeout() 281 public final FluentFuture<V> withTimeout( in withTimeout() method in FluentFuture 283 return (FluentFuture<V>) Futures.withTimeout(this, timeout, unit, scheduledExecutor); in withTimeout()
|
/external/kotlinx.coroutines/kotlinx-coroutines-debug/test/ |
D | StartModeProbesTest.kt | 62 withTimeout(Long.MAX_VALUE) { in withTimeoutHelper() 72 withTimeout(Long.MAX_VALUE) { in <lambda>() 83 withTimeout(Long.MAX_VALUE) { in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/ |
D | Timeout.kt | 38 public suspend fun <T> withTimeout(timeMillis: Long, block: suspend CoroutineScope.() -> T): T { in <lambda>() method 68 public suspend fun <T> withTimeout(timeout: Duration, block: suspend CoroutineScope.() -> T): T { in withTimeout() method 72 return withTimeout(timeout.toDelayMillis(), block) in withTimeout()
|
/external/junit/src/main/java/org/junit/rules/ |
D | Timeout.java | 135 .withTimeout(timeout, timeUnit) in createFailOnTimeoutStatement() 179 public Builder withTimeout(long timeout, TimeUnit unit) { in withTimeout() method in Timeout.Builder
|
/external/kotlinx.coroutines/integration/kotlinx-coroutines-jdk8/src/time/ |
D | Time.kt | 41 public suspend fun <T> withTimeout(duration: Duration, block: suspend CoroutineScope.() -> T): T { in delay() method 45 return kotlinx.coroutines.withTimeout(duration.coerceToMillis(), block) in delay()
|
/external/junit/src/main/java/org/junit/internal/runners/statements/ |
D | FailOnTimeout.java | 36 this(builder().withTimeout(timeoutMillis, TimeUnit.MILLISECONDS), statement); in FailOnTimeout() 70 public Builder withTimeout(long timeout, TimeUnit unit) { in withTimeout() method in FailOnTimeout.Builder
|
/external/guava/android/guava/src/com/google/common/util/concurrent/ |
D | FluentFuture.java | 263 public final FluentFuture<V> withTimeout( in withTimeout() method in FluentFuture 265 return (FluentFuture<V>) Futures.withTimeout(this, timeout, unit, scheduledExecutor); in withTimeout()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/guide/ |
D | example-cancel-06.kt | 11 withTimeout(1300L) { in <lambda>()
|
D | example-cancel-08.kt | 21 val resource = withTimeout(60) { // Timeout of 60 ms in main()
|
D | example-cancel-09.kt | 23 withTimeout(60) { // Timeout of 60 ms in main()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/ |
D | WithTimeoutChildDipspatchStressTest.kt | 21 val result = withTimeout(5000) { in <lambda>()
|
D | WithTimeoutOrNullJvmTest.kt | 27 val value = withTimeout(1) { in <lambda>()
|
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-jdk9/test/ |
D | PublisherCompletionStressTest.kt | 25 withTimeout(5000) { in <lambda>()
|
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx3/test/ |
D | ObservableCompletionStressTest.kt | 25 withTimeout(5000) { in <lambda>()
|
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx2/test/ |
D | ObservableCompletionStressTest.kt | 25 withTimeout(5000) { in <lambda>()
|