Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for 0000 (7.79 sec)

  1. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

          "Invalid URL host: \"[0000:0000:0000:0000:0000:0000:0000:0001:]\"",
        )
        assertInvalid(
          "http://[0000:0000:0000:0000:0000:0000:0000:0001::]",
          "Invalid URL host: \"[0000:0000:0000:0000:0000:0000:0000:0001::]\"",
        )
        assertInvalid(
          "http://[0000:0000:0000:0000:0000:0000:0000:0001:::]",
          "Invalid URL host: \"[0000:0000:0000:0000:0000:0000:0000:0001:::]\"",
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

        if (limit == -1L && source.exhausted()) return END_OF_DATA
    
        // Read the tag.
        val tagAndClass = source.readByte().toInt() and 0xff
        val tagClass = tagAndClass and 0b1100_0000
        val constructed = (tagAndClass and 0b0010_0000) == 0b0010_0000
        val tag =
          when (val tag0 = tagAndClass and 0b0001_1111) {
            0b0001_1111 -> readVariableLengthLong()
            else -> tag0.toLong()
          }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  3. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

          .isEqualTo(date("1950-01-01T00:00:00.000+0000").time)
        assertThat(Adapters.parseUtcTime("500101010000Z"))
          .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)
      }
    
    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)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerHeader.kt

        return result
      }
    
      override fun toString(): String = "$tagClass/$tag"
    
      companion object {
        const val TAG_CLASS_UNIVERSAL = 0b0000_0000
        const val TAG_CLASS_APPLICATION = 0b0100_0000
        const val TAG_CLASS_CONTEXT_SPECIFIC = 0b1000_0000
        const val TAG_CLASS_PRIVATE = 0b1100_0000
    
        const val TAG_END_OF_CONTENTS = 0L
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest.kt

                    {
                      "latestReleaseSnapshot": {
                        "version": "7.6-20220831090819+0000",
                        "buildTime": "20220831090819+0000"
                      },
                      "latestRc": {
                        "version": "7.5-rc-5",
                        "buildTime": "20220712114039+0000"
                      },
                      "finalReleases": [
                        {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Nov 28 21:09:42 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

      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 {
      if (address.size != 16) return false
    
      for (i in 0 until 10) {
        if (address[i] != 0.toByte()) return false
      }
    
    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/CookieTest.kt

        assertThat(cookie.matches("http://[::1]/".toHttpUrl())).isTrue()
      }
    
      @Test fun domainMatchesIpv6AddressWithCompression() {
        val cookie = parse("http://[0001:0000::]/".toHttpUrl(), "a=b; domain=0001:0000::")
        assertThat(cookie!!.domain).isEqualTo("1::")
        assertThat(cookie.matches("http://[1::]/".toHttpUrl())).isTrue()
      }
    
      @Test fun domainMatchesIpv6AddressWithIpv4Suffix() {
    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)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

        stack.add(content)
        constructed = false // The enclosed object written in block() is not constructed.
        path += name
        try {
          block(content)
          constructedBit = if (constructed) 0b0010_0000 else 0
          constructed = true // The enclosing object is constructed.
        } finally {
          stack.removeAt(stack.size - 1)
          path.removeAt(path.size - 1)
        }
    
        val sink = sink()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  9. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt

          var hostname = inetAddress.hostName
          if (inetAddress is Inet6Address && hostname.contains(':')) {
            // hostname is likely some form representing the IPv6 bytes
            // 2001:0db8:85a3:0000:0000:8a2e:0370:7334
            // 2001:db8:85a3::8a2e:370:7334
            // ::1
            hostname = "[$hostname]"
          }
    
          val localPort = socket.localPort
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (2)
  10. .teamcity/src/main/kotlin/configurations/Gradleception.kt

         4. Use dogfood-second to run a Gradle build which runs tests.
    
         */
        val dogfoodTimestamp1 = "19800101010101+0000"
        val dogfoodTimestamp2 = "19800202020202+0000"
        val buildScanTagForType = buildScanTag("Gradleception")
        val buildScanTagForGroovy4 = buildScanTag("Groovy4")
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Feb 27 09:57:17 GMT 2024
    - 6K bytes
    - Viewed (0)
Back to top