Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for dot (0.15 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

        val result = Buffer()
        val dot = '.'.code.toByte().toInt()
        when (val xy = readVariableLengthLong()) {
          in 0L until 40L -> {
            result.writeDecimalLong(0)
            result.writeByte(dot)
            result.writeDecimalLong(xy)
          }
          in 40L until 80L -> {
            result.writeDecimalLong(1)
            result.writeByte(dot)
            result.writeDecimalLong(xy - 40L)
          }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

      var labelStart = 0
      while (true) {
        val dot = indexOf('.', startIndex = labelStart)
        val labelLength =
          when (dot) {
            -1 -> length - labelStart
            else -> dot - labelStart
          }
        if (labelLength !in 1..63) return true
        if (dot == -1) break
        if (dot == length - 1) break // Trailing '.' is allowed.
        labelStart = dot + 1
      }
    
      return false
    }
    
    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)
  3. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

          }
        }
    
        fun matchesHostname(hostname: String): Boolean {
          return when {
            pattern.startsWith("**.") -> {
              // With ** empty prefixes match so exclude the dot from regionMatches().
              val suffixLength = pattern.length - 3
              val prefixLength = hostname.length - suffixLength
              hostname.regionMatches(hostname.length - suffixLength, pattern, 3, suffixLength) &&
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.2K bytes
    - Viewed (1)
  4. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

      }
    
      private fun splitDomain(domain: String): List<String> {
        val domainLabels = domain.split('.')
    
        if (domainLabels.last() == "") {
          // allow for domain name trailing dot
          return domainLabels.dropLast(1)
        }
    
        return domainLabels
      }
    
      private fun findMatchingRule(domainLabels: List<String>): List<String> {
    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)
  5. okhttp/src/test/resources/web-platform-test-urltestdata.txt

    # U+200B, U+2060, and U+FEFF, are ignored
    http://GOO\u200b\u2060\ufeffgoo.com  s:http p:/ h:googoo.com
    
    # Ideographic full stop (full-width period for Chinese, etc.) should be
    # treated as a dot.
    # U+3002 is mapped to U+002E (dot)
    http://www.foo\u3002bar.com  s:http p:/ h:www.foo.bar.com
    
    # Invalid unicode characters should fail...
    # U+FDD0 is disallowed; %ef%b7%90 is U+FDD0
    http://\ufdd0zyx.com
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/bigger-applications.md

    {!../../../docs_src/bigger_applications/app/routers/items.py!}
    ```
    
    #### How relative imports work
    
    !!! tip
        If you know perfectly how imports work, continue to the next section below.
    
    A single dot `.`, like in:
    
    ```Python
    from .dependencies import get_token_header
    ```
    
    would mean:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

        // Mixed case.
        checkPublicSuffix("COM", null)
        checkPublicSuffix("example.COM", "example.com")
        checkPublicSuffix("WwW.example.COM", "example.com")
        // Leading dot.
        checkPublicSuffix(".com", null)
        checkPublicSuffix(".example", null)
        checkPublicSuffix(".example.com", null)
        checkPublicSuffix(".example.example", null)
        // Unlisted TLD.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Cookie.kt

      fun secure(): Boolean = secure
    
      /**
       * @param forObsoleteRfc2965 true to include a leading `.` on the domain pattern. This is
       *     necessary for `example.com` to match `www.example.com` under RFC 2965. This extra dot is
       *     ignored by more recent specifications.
       */
      internal fun toString(forObsoleteRfc2965: Boolean): String {
        return buildString {
          append(name)
          append('=')
          append(value)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/networking/v1beta1/generated.proto

      // IngressRuleValue. If the host is unspecified, the Ingress routes all
      // traffic based on the specified IngressRuleValue.
      //
      // host can be "precise" which is a domain name without the terminating dot of
      // a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name
      // prefixed with a single wildcard label (e.g. "*.foo.com").
      // The wildcard character '*' must appear by itself as the first DNS label and
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/networking/v1/generated.proto

      // IngressRuleValue. If the host is unspecified, the Ingress routes all
      // traffic based on the specified IngressRuleValue.
      //
      // host can be "precise" which is a domain name without the terminating dot of
      // a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name
      // prefixed with a single wildcard label (e.g. "*.foo.com").
      // The wildcard character '*' must appear by itself as the first DNS label and
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 25.2K bytes
    - Viewed (0)
Back to top