Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for suffix (0.18 sec)

  1. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    // License, v. 2.0. If a copy of the MPL was not distributed with this
    // file, You can obtain one at https://mozilla.org/MPL/2.0/.
    
    // Please pull this list from, and only from https://publicsuffix.org/list/public_suffix_list.dat,
    // rather than any other VCS sites. Pulling from any other URL is not guaranteed to be supported.
    
    // Instructions on pulling and using this list can be found at https://publicsuffix.org/list/.
    
    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)
  2. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

    import okhttp3.internal.publicsuffix.PublicSuffixDatabase.Companion.PUBLIC_SUFFIX_RESOURCE
    import okio.BufferedSink
    import okio.ByteString
    import okio.ByteString.Companion.encodeUtf8
    import okio.FileSystem
    import okio.Path
    import okio.Path.Companion.toPath
    import okio.buffer
    import okio.gzip
    
    /**
     * Downloads the public suffix list from https://publicsuffix.org/list/public_suffix_list.dat and
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:24:38 GMT 2024
    - 6K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_4x.md

    _2023-10-16_
    
     *  Fix: Don't hang taking headers for HTTP 103 responses.
    
     *  Fix: Recover gracefully when a cache entry's certificate is corrupted.
    
     *  Fix: Fail permanently when there's a failure loading the bundled public suffix database.
        This is the dataset that powers `HttpUrl.topPrivateDomain()`.
    
     *  Fix: Immediately update the connection's flow control window instead of waiting for the
        receiving stream to process it.
    
    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)
  4. okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

        // Hostname must end with the region of pattern following the asterisk.
        val suffix = pattern.substring(1)
        if (!hostname.endsWith(suffix)) {
          return false // Hostname does not end with the suffix.
        }
    
        // Check that asterisk did not match across domain name labels.
        val suffixStartIndexInHostname = hostname.length - suffix.length
        if (suffixStartIndexInHostname > 0 &&
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

      val upstreamBuffer = Buffer()
    
      /** True if there are no further bytes to read from [upstream]. Guarded by this. */
      var complete = (upstream == null)
    
      /** The most recently read bytes from [upstream]. This is a suffix of [file]. Guarded by this. */
      val buffer = Buffer()
    
      /**
       * Reference count of the number of active sources reading this stream. When decremented to 0
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

        address.copyInto(address, address.size - (b - compress), compress, b)
        address.fill(0.toByte(), compress, compress + (address.size - b))
      }
    
      return address
    }
    
    /** Decodes an IPv4 address suffix of an IPv6 address, like 1111::5555:6666:192.168.0.1. */
    internal fun decodeIpv4Suffix(
      input: String,
      pos: Int,
      limit: Int,
      address: ByteArray,
      addressOffset: Int,
    ): 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/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

      private lateinit var publicSuffixExceptionListBytes: ByteArray
    
      /**
       * Returns the effective top-level domain plus one (eTLD+1) by referencing the public suffix list.
       * Returns null if the domain is a public suffix or a private address.
       *
       * Here are some examples:
       *
       * ```java
       * assertEquals("google.com", getEffectiveTldPlusOne("google.com"));
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/ws/MessageDeflater.kt

        }
    
        buffer.write(deflatedBytes, deflatedBytes.size)
      }
    
      @Throws(IOException::class)
      override fun close() = deflaterSink.close()
    
      private fun Buffer.endsWith(suffix: ByteString): Boolean = rangeEquals(size - suffix.size, suffix)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. native-image-tests/src/main/kotlin/okhttp3/PublicSuffixDatabaseTest.kt

      }
    
      @Test
      fun testPublicSuffixes() {
        platform.assumeNotGraalVMImage()
    
        val metadata = FileSystem.RESOURCES.metadata(PublicSuffixDatabase.PUBLIC_SUFFIX_RESOURCE)
        assertThat(metadata.size!!).isGreaterThan(30000)
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:33:12 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  10. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

      }
    }
    
    internal class MainTestProvider : SimpleProvider() {
      override fun arguments(): List<Any> {
        val mainFiles = mainFiles()
        return mainFiles.map {
          val suffix = it.path.replace("${prefix}samples/guide/src/main/java/", "")
          suffix.replace("(.*)\\.java".toRegex()) { mr ->
            mr.groupValues[1].replace('/', '.')
          }.replace("(.*)\\.kt".toRegex()) { mr ->
            mr.groupValues[1].replace('/', '.') + "Kt"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.7K bytes
    - Viewed (0)
Back to top