Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for wildcardMatch (0.34 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

            if (rule != null) {
              wildcardMatch = rule
              break
            }
          }
        }
    
        // Exception rules only apply to wildcard rules, so only try it if we matched a wildcard.
        var exception: String? = null
        if (wildcardMatch != null) {
          for (labelIndex in 0 until domainLabelsUtf8Bytes.size - 1) {
            val rule =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/ConfiguredPublicSuffixDatabaseTest.kt

          .isEqualTo("bar.square.com")
        assertThat(publicSuffixDatabase.getEffectiveTldPlusOne("foo.my.square.com"))
          .isEqualTo("foo.my.square.com")
      }
    
      @Test fun wildcardMatch() {
        list.bytes =
          Buffer()
            .writeUtf8("*.square.com\n")
            .writeUtf8("com\n")
            .writeUtf8("example.com\n")
            .readByteString()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top