Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 191 for selection (0.17 sec)

  1. okhttp/src/test/java/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()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

            get() {
                val selectorReference = getQualifiedElementSelector() ?: return false
                return selectorReference.textRange.intersects(selection)
            }
    
        private val KtThisExpression.inSelection: Boolean
            get() = textRange.intersects(selection)
    
        private val ClassId.outerClassesWithSelf: Sequence<ClassId>
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/EventListener.kt

      /**
       * Invoked after proxy selection.
       *
       * Note that the list of proxies is never null, but it may be a list containing
       * only [Proxy.NO_PROXY]. This comes up in several situations:
       *
       * * If neither a proxy nor proxy selector is configured.
       * * If the proxy is configured explicitly as [Proxy.NO_PROXY].
       * * If the proxy selector returns only [Proxy.NO_PROXY].
       * * If the proxy selector returns an empty list or null.
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  4. okhttp/src/main/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()) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ReferenceShortener.kt

    ) : KtReferenceShortener(), Fe10KtAnalysisSessionComponent {
        override val token: KtLifetimeToken
            get() = analysisSession.token
    
        override fun collectShortenings(
            file: KtFile,
            selection: TextRange,
            shortenOptions: ShortenOptions,
            classShortenStrategy: (KtClassLikeSymbol) -> ShortenStrategy,
            callableShortenStrategy: (KtCallableSymbol) -> ShortenStrategy,
        ): ShortenCommand {
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Mon Nov 20 20:18:18 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/DoubleInetAddressDns.kt

     * limitations under the License.
     */
    package okhttp3.internal
    
    import java.net.InetAddress
    import okhttp3.Dns
    
    /**
     * A network that always resolves two IP addresses per host. Use this when testing route selection
     * fallbacks to guarantee that a fallback address is available.
     */
    class DoubleInetAddressDns : Dns {
      override fun lookup(hostname: String): List<InetAddress> {
        val addresses = Dns.SYSTEM.lookup(hostname)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 23 10:26:25 GMT 2023
    - 1K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_1x.md

     * New: Support for `spdy/3.1`. Dropped support for `spdy/3`.
     * New: Use ALPN on Android platforms that support it (4.4+)
     * New: CacheControl model and parser.
     * New: Protocol selection in MockWebServer.
     * Fix: Route selection shouldn't use TLS modes that we know will fail.
     * Fix: Cache SPDY responses even if the response body is closed prematurely.
     * Fix: Use strict timeouts when aborting a download.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  8. src/README.vendor

    a "vendor/" prefix also maintains the invariant that standard
    library packages begin with a dotless path element.
    
    The module requirements of std and cmd do not influence version
    selection in other modules. They are only considered when running
    module commands like 'go get' and 'go mod vendor' from a directory
    in GOROOT/src.
    
    Maintaining vendor directories
    ==============================
    
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 02 02:20:05 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  9. okhttp/src/main/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()
      }
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 12K bytes
    - Viewed (0)
  10. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

    import gradlebuild.basics.BuildParams.PERFORMANCE_MAX_PROJECTS
    import gradlebuild.basics.BuildParams.PERFORMANCE_TEST_VERBOSE
    import gradlebuild.basics.BuildParams.PREDICTIVE_TEST_SELECTION_ENABLED
    import gradlebuild.basics.BuildParams.RERUN_ALL_TESTS
    import gradlebuild.basics.BuildParams.RUN_ANDROID_STUDIO_IN_HEADLESS_MODE
    import gradlebuild.basics.BuildParams.RUN_BROKEN_CONFIGURATION_CACHE_DOCS_TESTS
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Jan 01 01:23:31 GMT 2024
    - 16.2K bytes
    - Viewed (0)
Back to top