- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 1,497 for Unit (0.03 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt
timeout: Int, unit: TimeUnit, ): Interceptor.Chain { check(exchange == null) { "Timeouts can't be adjusted in a network interceptor" } return copy(readTimeoutMillis = checkDuration("readTimeout", timeout.toLong(), unit)) } override fun writeTimeoutMillis(): Int = writeTimeoutMillis override fun withWriteTimeout( timeout: Int, unit: TimeUnit, ): Interceptor.Chain {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 12.8K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FailingCall.kt
open class FailingCall : Call { override fun request(): Request = error("unexpected") override fun execute(): Response = error("unexpected") override fun enqueue(responseCallback: Callback): Unit = error("unexpected") override fun cancel(): Unit = error("unexpected") override fun isExecuted(): Boolean = error("unexpected") override fun isCanceled(): Boolean = error("unexpected")Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 1.6K bytes - Click Count (0) -
docs/metrics/prometheus/grafana/node/minio-node.json
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Aug 04 01:46:49 GMT 2025 - 22.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Service.java
* @param unit the time unit of the timeout argument * @throws TimeoutException if the service has not reached the given state within the deadline * @throws IllegalStateException if the service {@linkplain State#FAILED fails}. * @since 15.0 */ @SuppressWarnings("GoodTime") // should accept a java.time.Duration void awaitTerminated(long timeout, TimeUnit unit) throws TimeoutException; /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 10.8K bytes - Click Count (0) -
.teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt
arch: Arch = Arch.AMD64, extraParameters: String = "", timeout: Int = 90, maxParallelForks: String = "%maxParallelForks%", extraSteps: BuildSteps.() -> Unit = {}, // the steps after runner steps preSteps: BuildSteps.() -> Unit = {}, // the steps before runner steps ) { buildType.applyDefaultSettings(os, timeout = timeout, buildJvm = buildJvm, arch = arch) buildType.steps { preSteps()Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 13 05:03:56 GMT 2026 - 8.5K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt
} catch (re: RuntimeException) { // Happens with non-robolectric unit tests System.err.println("Possibly running android unit test without robolectric") re.printStackTrace() } catch (ule: UnsatisfiedLinkError) { // Happens with Paparazzi - with Android classes on the classpath System.err.println("Possibly running android unit test without robolectric") ule.printStackTrace() } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Oct 25 11:16:17 GMT 2025 - 4.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java
} } /** Interrupts the current thread after sleeping for the specified delay. */ static void requestInterruptIn(long time, TimeUnit unit) { checkNotNull(unit); Thread interruptee = Thread.currentThread(); new Thread( () -> { try { unit.sleep(time); } catch (InterruptedException wontHappen) { throw new AssertionError(wontHappen); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 15:38:30 GMT 2026 - 3.4K bytes - Click Count (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/GradleModuleExtension.kt
companion object { const val NAME: String = "gradleModule" } @get:Nested abstract val identity: ModuleIdentity fun identity(action: ModuleIdentity.() -> Unit) { action(identity) } /** * Describes the target processes that the code in this module must be able * to run on, by definition. All modules that this module depends on willCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 11 22:40:18 GMT 2026 - 4.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ServiceManager.java
* * @param timeout the maximum time to wait * @param unit the time unit of the timeout argument * @throws TimeoutException if not all of the services have stopped within the deadline */ @SuppressWarnings("GoodTime") // should accept a java.time.Duration public void awaitStopped(long timeout, TimeUnit unit) throws TimeoutException { state.awaitStopped(timeout, unit); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 33.2K bytes - Click Count (1) -
.teamcity/src/main/kotlin/configurations/FunctionalTest.kt
subprojects: List<String> = listOf(), extraParameters: String = "", extraBuildSteps: BuildSteps.() -> Unit = {}, preBuildSteps: BuildSteps.() -> Unit = {}, ) : OsAwareBaseGradleBuildType(os = testCoverage.os, stage = stage, init = { this.name = name this.description = description this.id(id) val testTasks = getTestTaskName(testCoverage, subprojects)
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Oct 09 05:26:45 GMT 2025 - 5.3K bytes - Click Count (0)