Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TLD (0.01 sec)

  1. okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

        checkPublicSuffix(".example.example", null)
        // Unlisted TLD.
        checkPublicSuffix("example", null)
        checkPublicSuffix("example.example", "example.example")
        checkPublicSuffix("b.example.example", "example.example")
        checkPublicSuffix("a.b.example.example", "example.example")
        // Listed, but non-Internet, TLD.
        // checkPublicSuffix("local", null);
        // checkPublicSuffix("example.local", null);
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 22:00:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

          return null // The domain is a public suffix.
        }
    
        val firstLabelOffset =
          if (rule[0][0] == EXCEPTION_MARKER) {
            // Exception rules hold the effective TLD plus one.
            domainLabels.size - rule.size
          } else {
            // Otherwise the rule is for a public suffix, so we must take one more label.
            domainLabels.size - (rule.size + 1)
          }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top