Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for 12 (0.17 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Huffman.kt

        byteArrayOf(
          13, 23, 28, 28, 28, 28, 28, 28, 28, 24, 30, 28, 28, 30, 28, 28, 28, 28, 28, 28,
          28, 28, 30, 28, 28, 28, 28, 28, 28, 28, 28, 28, 6, 10, 10, 12, 13, 6, 8, 11, 10, 10, 8,
          11, 8, 6, 6, 6, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 7, 8, 15, 6, 12, 10, 13, 6, 7, 7, 7, 7, 7,
          7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 7, 8, 13, 19, 13, 14, 6, 15, 5, 6,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  2. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

          .isEqualTo(date("1950-01-01T01:00:00.000+0000").time)
    
        assertThat(Adapters.parseUtcTime("491231225959Z"))
          .isEqualTo(date("2049-12-31T22:59:59.000+0000").time)
        assertThat(Adapters.parseUtcTime("491231235959Z"))
          .isEqualTo(date("2049-12-31T23:59:59.000+0000").time)
      }
    
      @Test fun `encode utc time two digit year cutoff is 1950`() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 31.7K bytes
    - Viewed (0)
  3. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

            // 8
            "id: ".encodeUtf8(),
            // 9
            "id:".encodeUtf8(),
            // 10
            "id\r\n".encodeUtf8(),
            // 11
            "id\r".encodeUtf8(),
            // 12
            "id\n".encodeUtf8(),
            // 13
            "event: ".encodeUtf8(),
            // 14
            "event:".encodeUtf8(),
            // 15
            "event\r\n".encodeUtf8(),
            // 16
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  4. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    reliance
    
    // ren : 2013-12-12 ZDNS International Limited
    ren
    
    // rent : 2014-12-04 XYZ.COM LLC
    rent
    
    // rentals : 2013-12-05 Binky Moon, LLC
    rentals
    
    // repair : 2013-11-07 Binky Moon, LLC
    repair
    
    // report : 2013-12-05 Binky Moon, LLC
    report
    
    // republican : 2014-03-20 Dog Beach, LLC
    republican
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
  5. docs/changelogs/changelog_4x.md

        It's also how OkHttp knows which domains can share cookies with one another.
     *  Upgrade: [Okio 3.2.0][okio_3_2_0].
    
    
    ## Version 4.10.0
    
    _2022-06-12_
    
     *  Upgrade: [Kotlin 1.6.20][kotlin_1_6_20].
     *  Upgrade: [Okio 3.0.0][okio_3_0_0].
     *  Fix: Recover gracefully when Android's `NativeCrypto` crashes with `"ssl == null"`. This occurs
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

     *
     * https://en.wikipedia.org/wiki/IPv6#IPv4-mapped_IPv6_addresses
     */
    internal fun canonicalizeInetAddress(address: ByteArray): ByteArray {
      return when {
        isMappedIpv4Address(address) -> address.sliceArray(12 until 16)
        else -> address
      }
    }
    
    /** Returns true for IPv6 addresses like `0000:0000:0000:0000:0000:ffff:XXXX:XXXX`. */
    private fun isMappedIpv4Address(address: ByteArray): Boolean {
    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)
  7. okhttp/src/test/java/okhttp3/CacheControlJvmTest.kt

        val headers = headersOf("Cache-Control", "max-age=12", "Pragma", "must-revalidate", "Pragma", "public")
        val cacheControl = parse(headers)
        assertThat(cacheControl.toString()).isEqualTo("max-age=12, public, must-revalidate")
      }
    
      @Test
      fun parseCacheControlHeaderValueIsRetained() {
        val value = "max-age=12"
        val headers = headersOf("Cache-Control", value)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

    import okio.Buffer
    import okio.BufferedSource
    import okio.ByteString
    import okio.Source
    import okio.buffer
    
    /**
     * Read and write HPACK v10.
     *
     * http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-12
     *
     * This implementation uses an array for the dynamic table and a list for indexed entries. Dynamic
     * entries are added to the array, starting in the last position moving forward. When the array
     * fills, it is doubled.
     */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 22.5K bytes
    - Viewed (1)
  9. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

        assertThat(decoded).isEqualTo(date("2049-12-31T23:59:59.000+0000").time)
      }
    
      @Test fun `time before 1950 uses GENERALIZED_TIME`() {
        val generalizedTimeDer = "180f31393439313233313233353935395a".decodeHex()
    
        val decoded = CertificateAdapters.time.fromDer(generalizedTimeDer)
        val encoded = CertificateAdapters.time.toDer(decoded)
    
        assertThat(decoded).isEqualTo(date("1949-12-31T23:59:59.000+0000").time)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 43.9K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/TestTls13Request.kt

     * available in JDK11 or Conscrypt.
     */
    private val TLS_13 =
      ConnectionSpec.Builder(true)
        .cipherSuites(*TLS13_CIPHER_SUITES.toTypedArray())
        .tlsVersions(TlsVersion.TLS_1_3)
        .build()
    
    private val TLS_12 =
      ConnectionSpec.Builder(ConnectionSpec.RESTRICTED_TLS)
        .tlsVersions(TlsVersion.TLS_1_2)
        .build()
    
    private fun testClient(
      urls: List<String>,
      client: OkHttpClient,
    ) {
      try {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3K bytes
    - Viewed (0)
Back to top