- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 95 for selection (0.1 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt
val selection2 = routeSelector.next() assertThat(selection2.next()).isEqualTo(regularRoutes[1]) assertThat(selection2.hasNext()).isFalse() // The second selection will contain all failed routes. val selection3 = routeSelector.next() assertThat(selection3.next()).isEqualTo(regularRoutes[0]) assertThat(selection3.hasNext()).isFalse()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Oct 08 03:50:05 GMT 2025 - 20.3K bytes - Click Count (0) -
build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateAgpVersionsTest.groovy
].shuffled() when: def selected = UpdateAgpVersions.selectVersionsFrom(gradleVersion, minimumSupported, allVersions) then: selected == selection where: minimumSupported | selection null | ["9.7.1", "9.8.1", "9.9.1", "9.10.1", "9.11.0-rc01", "9.12.0-beta01", "9.13.0-alpha01"]
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Oct 24 09:10:28 GMT 2025 - 4.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt
*/ operator fun hasNext(): Boolean = hasNextProxy() || postponedRoutes.isNotEmpty() @Throws(IOException::class) operator fun next(): Selection { if (!hasNext()) throw NoSuchElementException() // Compute the next set of routes to attempt. val routes = mutableListOf<Route>() while (hasNextProxy()) {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Oct 08 03:50:05 GMT 2025 - 7.3K bytes - Click Count (2) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt
*/ open fun dispatcherQueueEnd( call: Call, dispatcher: Dispatcher, ) { } /** * Invoked prior to a proxy selection. * * This will be invoked for route selection regardless of whether the client * is configured with a single proxy, a proxy selector, or neither. * * @param url a URL with only the scheme, hostname, and port specified. */ open fun proxySelectStart(
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Oct 07 21:03:04 GMT 2025 - 24.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
// If we have a routes left, use 'em. if (routeSelection?.hasNext() == true) return true // If we haven't initialized the route selector yet, assume it'll have at least one route. val localRouteSelector = routeSelector ?: return true // If we do have a route selector, use its routes. return localRouteSelector.hasNext() } /**Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Oct 08 03:50:05 GMT 2025 - 12K bytes - Click Count (0) -
cmd/bucket-listobjects-handlers.go
// -------------------------- // This implementation of the GET operation returns some or all (up to 1000) // of the objects in a bucket. You can use the request parameters as selection // criteria to return a subset of the objects in a bucket. // // NOTE: It is recommended that this API to be used for application development. // MinIO continues to support ListObjectsV1 and V2 for supporting legacy tools.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 11.6K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
fun recordedConnectionEventTypes(): List<String> = connectionListener.recordedEventTypes() companion object { /** * A network that resolves only one IP address per host. Use this when testing route selection * fallbacks to prevent the host machine's various IP addresses from interfering. */ private val SINGLE_INET_ADDRESS_DNS = Dns { hostname -> val addresses = Dns.SYSTEM.lookup(hostname)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 10.8K bytes - Click Count (0) -
build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts
fun Project.isNativeProject() = name.contains("native") fun Project.isKotlinDslToolingBuilders() = name.contains("kotlin-dsl-tooling-builders") /** * Whether the project supports running with predictive test selection. * * Our performance tests don't work with PTS, yet. * Smoke and soak tests are hard to grasp for PTS, that is why we run them without.
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Dec 19 06:44:41 GMT 2025 - 18.9K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
} } boolean optional = false; if (!selector.isEmpty() && selector.charAt(0) == '?') { optional = true; selector = selector.substring(1); } projectActivation.addProjectActivation(selector, active, optional);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Oct 27 13:24:03 GMT 2025 - 78.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
} /** * Sets the proxy selection policy to be used if no [proxy][proxy] is specified explicitly. The * proxy selector may return multiple proxies; in that case they will be tried in sequence until * a successful connection is established. * * If unset, the [system-wide default][ProxySelector.getDefault] proxy selector will be used. */Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Oct 07 21:55:03 GMT 2025 - 51.4K bytes - Click Count (0)