- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for Map (0.16 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt
} internal fun idnToAscii(host: String): String? { val bufferA = Buffer().writeUtf8(host) val bufferB = Buffer() // 1. Map, from bufferA to bufferB. while (!bufferA.exhausted()) { val codePoint = bufferA.readUtf8CodePoint() if (!IDNA_MAPPING_TABLE.map(codePoint, bufferB)) return null } // 2. Normalize, from bufferB to bufferA. val normalized = normalizeNfc(bufferB.readUtf8())
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt
fun resetForTests(platform: Platform = findPlatform()) { this.platform = platform } fun alpnProtocolNames(protocols: List<Protocol>) = protocols.filter { it != Protocol.HTTP_1_0 }.map { it.toString() } // This explicit check avoids activating in Android Studio with Android specific classes // available when running plugins inside the IDE. val isAndroid: Boolean
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.8K bytes - Viewed (1) -
okhttp/src/test/java/okhttp3/CookiesTest.kt
val serverUrl = urlWithIpAddress(server, "/") val androidCookieHandler: CookieHandler = object : CookieHandler() { override fun get( uri: URI, map: Map<String, List<String>>, ) = mapOf( "Cookie" to listOf( "\$Version=\"1\"; " + "a=\"android\";\$Path=\"/\";\$Domain=\"${serverUrl.host}\"; " +
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 13K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Headers.kt
@JvmStatic @JvmName("of") fun Map<String, String>.toHeaders(): Headers = commonToHeaders() @JvmName("-deprecated_of") @Deprecated( message = "function moved to extension", replaceWith = ReplaceWith(expression = "headers.toHeaders()"), level = DeprecationLevel.ERROR, ) fun of(headers: Map<String, String>): Headers {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt
val (ipv4_1, ipv4_2) = dns.allocate(2) val (ipv6_1, ipv6_2) = dns.allocateIpv6(2) dns[uriHost] = listOf(ipv4_1, ipv4_2, ipv6_1, ipv6_2) val selection = routeSelector.next() assertThat(selection.routes.map { it.socketAddress.address }).containsExactly( ipv4_1, ipv4_2, ipv6_1, ipv6_2, ) } @Test fun addressesSortedWhenFastFallbackIsOn() { val address =
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) -
okhttp/src/test/resources/okhttp3/internal/idn/rfc3454.B.2.txt
0042; 0062; Case map 0043; 0063; Case map 0044; 0064; Case map 0045; 0065; Case map 0046; 0066; Case map 0047; 0067; Case map 0048; 0068; Case map 0049; 0069; Case map 004A; 006A; Case map 004B; 006B; Case map 004C; 006C; Case map 004D; 006D; Case map 004E; 006E; Case map 004F; 006F; Case map 0050; 0070; Case map 0051; 0071; Case map 0052; 0072; Case map
Plain Text - Registered: Fri Mar 29 11:42:11 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 38.8K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
val ephemeral_keys_supported: Boolean, val rating: String, val tls_version: String, val able_to_detect_n_minus_one_splitting: Boolean, val insecure_cipher_suites: Map<String, List<String>>, val given_cipher_suites: List<String>?, ) @Test @Disabled fun testSSLFeatures() { assumeNetwork()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 27K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/Request.kt
internal var method: String internal var headers: Headers.Builder internal var body: RequestBody? = null internal var cacheUrlOverride: HttpUrl? = null /** A mutable map of tags, or an immutable empty map if we don't have any. */ internal var tags = mapOf<KClass<*>, Any>() constructor() { this.method = "GET" this.headers = Headers.Builder() }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:17:44 GMT 2024 - 10.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallHandshakeTest.kt
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256.javaName, ) } } private fun expectedConnectionCipherSuites(client: OkHttpClient): Set<String> { return client.connectionSpecs.first().cipherSuites!!.map { it.javaName }.intersect(defaultEnabledCipherSuites.toSet()) } private fun makeClient( connectionSpec: ConnectionSpec? = null, tlsVersion: TlsVersion? = null, cipherSuites: List<CipherSuite>? = null,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 11.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt
fun check( hostname: String, peerCertificates: List<Certificate>, ) { return check(hostname) { (certificateChainCleaner?.clean(peerCertificates, hostname) ?: peerCertificates) .map { it as X509Certificate } } } internal fun check( hostname: String, cleanedPeerCertificatesFn: () -> List<X509Certificate>, ) { val pins = findMatchingPins(hostname)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 14.2K bytes - Viewed (1)