Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for publicSuffix (0.18 sec)

  1. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

      private val resources = projectRoot / "okhttp/src/main/resources/okhttp3/internal/publicsuffix"
      private val testResources = projectRoot / "okhttp/src/test/resources/okhttp3/internal/publicsuffix"
      private val publicSuffixListDotDat = testResources / "public_suffix_list.dat"
      private val outputFile = resources / PUBLIC_SUFFIX_RESOURCE
    
      val request = Request("https://publicsuffix.org/list/public_suffix_list.dat".toHttpUrl())
    
      suspend fun import() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 18 01:24:38 GMT 2024
    - 6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

        while (!buffer.exhausted()) {
          var publicSuffix = buffer.readUtf8LineStrict()
          if (publicSuffix.contains("*")) {
            // A wildcard rule, let's replace the wildcard with a value.
            publicSuffix = publicSuffix.replace("\\*".toRegex(), "square")
          }
          assertThat(publicSuffixDatabase.getEffectiveTldPlusOne(publicSuffix)).isNull()
          val test = "foobar.$publicSuffix"
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

    import okio.FileSystem
    import okio.GzipSource
    import okio.Path
    import okio.Path.Companion.toPath
    import okio.buffer
    
    /**
     * A database of public suffixes provided by [publicsuffix.org][publicsuffix_org].
     *
     * [publicsuffix_org]: https://publicsuffix.org/
     */
    class PublicSuffixDatabase internal constructor(
      val path: Path = PUBLIC_SUFFIX_RESOURCE,
      val fileSystem: FileSystem = FileSystem.RESOURCES,
    ) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  4. guava-gwt/src/com/google/common/ForceGuavaCompilation.gwt.xml

      <inherits name="com.google.common.util.concurrent.Concurrent" />
      <inherits name="com.google.common.xml.Xml" />
      <inherits name="com.google.thirdparty.publicsuffix.PublicSuffixPatterns" />
      <inherits name="com.google.thirdparty.publicsuffix.PublicSuffixType" />
    
      <!-- com.google.common.testing.Testing is located in
           GuavaTests under guava-gwt/test -->
    
      <source path="">
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Sep 27 15:04:14 GMT 2021
    - 1.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

        InternetDomainName domain = InternetDomainName.from("foo.city.yokohama.jp");
        assertTrue(domain.hasPublicSuffix());
        assertEquals("yokohama.jp", domain.publicSuffix().toString());
    
        // Behold the weirdness!
        assertFalse(domain.publicSuffix().isPublicSuffix());
      }
    
      public void testPublicSuffixMultipleUnders() {
        // PSL has both *.uk and *.sch.uk; the latter should win.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  6. okhttp/src/main/resources/META-INF/proguard/okhttp3.pro

    -dontwarn javax.annotation.**
    
    # A resource is loaded with a relative path so the package of this class must be preserved.
    -keeppackagenames okhttp3.internal.publicsuffix.*
    -adaptresourcefilenames okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz
    
    # Animal Sniffer compileOnly dependency to ensure APIs are compatible with older versions of Java.
    -dontwarn org.codehaus.mojo.animal_sniffer.*
    
    Others
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Dec 23 14:46:51 GMT 2023
    - 682 bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/net/InternetDomainNameTest.java

        InternetDomainName domain = InternetDomainName.from("foo.city.yokohama.jp");
        assertTrue(domain.hasPublicSuffix());
        assertEquals("yokohama.jp", domain.publicSuffix().toString());
    
        // Behold the weirdness!
        assertFalse(domain.publicSuffix().isPublicSuffix());
      }
    
      public void testPublicSuffixMultipleUnders() {
        // PSL has both *.uk and *.sch.uk; the latter should win.
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  8. guava-gwt/src/com/google/common/net/Net.gwt.xml

    <inherits name="com.google.common.escape.Escape" />
    <inherits name="com.google.gwt.core.Core" />
    <inherits name="com.google.gwt.user.User" />
    <inherits name="com.google.thirdparty.publicsuffix.PublicSuffixPatterns" />
    <inherits name="com.google.thirdparty.publicsuffix.PublicSuffixType" />
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jan 06 15:30:58 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  9. okhttp/src/main/resources/META-INF/native-image/okhttp/okhttp/resource-config.json

    {
      "resources": [
        {"pattern": "okhttp3/internal/publicsuffix/publicsuffixes.gz"}
      ]
    Json
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 92 bytes
    - Viewed (0)
  10. okhttp/src/main/resources/okhttp3/internal/publicsuffix/NOTICE

    Note that PublicSuffixDatabase.gz is compiled from The Public Suffix List:
    https://publicsuffix.org/list/public_suffix_list.dat
    
    It is subject to the terms of the Mozilla Public License, v. 2.0:
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 224 bytes
    - Viewed (0)
Back to top