Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for labelsWithWildcard (0.08 sec)

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

        var wildcardMatch: String? = null
        if (domainLabelsUtf8Bytes.size > 1) {
          val labelsWithWildcard = domainLabelsUtf8Bytes.clone()
          for (labelIndex in 0 until labelsWithWildcard.size - 1) {
            labelsWithWildcard[labelIndex] = WILDCARD_LABEL
            val rule = publicSuffixListBytes.binarySearch(labelsWithWildcard, labelIndex)
            if (rule != null) {
              wildcardMatch = rule
              break
            }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top