Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for 00 (0.13 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

      // address. Here's a sample:
      //
      //      input: "1111:2222:3333::7777:8888"
      //     before: { 11, 11, 22, 22, 33, 33, 00, 00, 77, 77, 88, 88, 00, 00, 00, 00  }
      //   compress: 6
      //          b: 10
      //      after: { 11, 11, 22, 22, 33, 33, 00, 00, 00, 00, 00, 00, 77, 77, 88, 88 }
      //
      if (b != address.size) {
        if (compress == -1) return null // Address didn't have compression or enough groups.
    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)
  2. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

          .isEqualTo(date("1950-01-01T00:00:00.000+0000").time)
        assertThat(Adapters.parseGeneralizedTime("20500101000000Z"))
          .isEqualTo(date("2050-01-01T00:00:00.000+0000").time)
        assertThat(Adapters.parseGeneralizedTime("20990101000000Z"))
          .isEqualTo(date("2099-01-01T00:00:00.000+0000").time)
        assertThat(Adapters.parseGeneralizedTime("19920521000000Z"))
          .isEqualTo(date("1992-05-21T00:00:00.000+0000").time)
    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/src/test/java/okhttp3/CookieTest.kt

          .isEqualTo(0L)
        assertThat(parse(url, "a=b; Expires=Thu, 01 Jan 1970 00:0:00 GMT")!!.expiresAt)
          .isEqualTo(0L)
        assertThat(parse(url, "a=b; Expires=Thu, 01 Jan 1970 00:00:0 GMT")!!.expiresAt)
          .isEqualTo(0L)
        assertThat(parse(url, "a=b; Expires=00:00:00 Thu, 01 Jan 1970 GMT")!!.expiresAt)
          .isEqualTo(0L)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 24.3K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

              ) = writer.writeUtf8(value)
            },
        )
    
      /**
       * A timestamp like "191216030210Z" or "191215190210-0800" for 2019-12-15T19:02:10-08:00. The
       * cutoff of the 2-digit year is 1950-01-01T00:00:00Z.
       */
      val UTC_TIME =
        BasicDerAdapter(
          name = "UTC TIME",
          tagClass = DerHeader.TAG_CLASS_UNIVERSAL,
          tag = 23L,
          codec =
            object : BasicDerAdapter.Codec<Long> {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

            }
          }
    
          override fun toDer(
            writer: DerWriter,
            value: Long,
          ) {
            // [1950-01-01T00:00:00..2050-01-01T00:00:00Z)
            if (value in -631_152_000_000L until 2_524_608_000_000L) {
              Adapters.UTC_TIME.toDer(writer, value)
            } else {
              Adapters.GENERALIZED_TIME.toDer(writer, value)
            }
          }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.6K bytes
    - Viewed (1)
  6. okhttp/src/test/resources/web-platform-test-urltestdata.txt

    http://example.com/foo%41%7a  s:http h:example.com p:/foo%41%7a
    http://example.com/foo\t\u0091%91  s:http h:example.com p:/foo%C2%91%91
    http://example.com/foo%00%51  s:http h:example.com p:/foo%00%51
    http://example.com/(%28:%3A%29)  s:http h:example.com p:/(%28:%3A%29)
    http://example.com/%3A%3a%3C%3c  s:http h:example.com p:/%3A%3a%3C%3c
    http://example.com/foo\tbar  s:http h:example.com p:/foobar
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  7. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

          assertThat(cause).hasMessage("response size exceeds limit (65536 bytes): 65537 bytes")
        }
      }
    
      @Test
      fun failOnBadResponse() {
        server.enqueue(dnsResponse("00"))
        try {
          dns.lookup("google.com")
          fail<Any>()
        } catch (ioe: IOException) {
          assertThat(ioe).hasMessage("google.com")
          assertThat(ioe.cause!!).isInstanceOf<EOFException>()
        }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 11K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/ConnectionSpec.kt

          } else {
            sslSocket.enabledProtocols
          }
    
        // In accordance with https://tools.ietf.org/html/draft-ietf-tls-downgrade-scsv-00 the SCSV
        // cipher is added to signal that a protocol fallback has taken place.
        val supportedCipherSuites = sslSocket.supportedCipherSuites
        val indexOfFallbackScsv =
          supportedCipherSuites.indexOf(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  9. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

        val decoded = CertificateAdapters.time.fromDer(generalizedTimeDer)
        val encoded = CertificateAdapters.time.toDer(decoded)
    
        assertThat(decoded).isEqualTo(date("2050-01-01T00:00:00.000+0000").time)
        assertThat(encoded).isEqualTo(generalizedTimeDer)
      }
    
      /**
       * Conforming applications MUST be able to process validity dates that are encoded in either
       * UTCTime or GeneralizedTime.
    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)
Back to top