Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for immutableListOf (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt

          val uri = url.toUri()
          if (uri.host == null) return immutableListOf(Proxy.NO_PROXY)
    
          // Try each of the ProxySelector choices until one connection succeeds.
          val proxiesOrNull = address.proxySelector.select(uri)
          if (proxiesOrNull.isNullOrEmpty()) return immutableListOf(Proxy.NO_PROXY)
    
          return proxiesOrNull.toImmutableList()
        }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 7.3K bytes
    - Click Count (2)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

        else -> (this as java.util.Collection<*>).toArray().asList().unmodifiable() as List<T>
      }
    
    /** Returns an immutable list containing [elements]. */
    @SafeVarargs
    internal fun <T> immutableListOf(vararg elements: T): List<T> = elements.toImmutableList()
    
    /** Returns an immutable list from copy of this. */
    internal fun <T> Array<out T>?.toImmutableList(): List<T> =
      when {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10.3K bytes
    - Click Count (1)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

          }
    
        fun build(): OkHttpClient = OkHttpClient(this)
      }
    
      companion object {
        internal val DEFAULT_PROTOCOLS = immutableListOf(HTTP_2, HTTP_1_1)
    
        internal val DEFAULT_CONNECTION_SPECS =
          immutableListOf(
            ConnectionSpec.MODERN_TLS,
            ConnectionSpec.CLEARTEXT,
          )
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 51.5K bytes
    - Click Count (0)
  4. okhttp/src/androidMain/baseline-prof.txt

    HSPLokhttp3/internal/_UtilJvmKt;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
    HSPLokhttp3/internal/_UtilJvmKt;->headersContentLength(Lokhttp3/Response;)J
    HSPLokhttp3/internal/_UtilJvmKt;->immutableListOf([Ljava/lang/Object;)Ljava/util/List;
    HSPLokhttp3/internal/_UtilJvmKt;->readBomAsCharset(Lokio/BufferedSource;Ljava/nio/charset/Charset;)Ljava/nio/charset/Charset;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Dec 30 23:28:56 GMT 2024
    - 127.9K bytes
    - Click Count (1)
Back to Top