Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 165 for leading (0.22 sec)

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

       */
      var typeHint: Any?
        get() = typeHintStack.lastOrNull()
        set(value) {
          typeHintStack[typeHintStack.size - 1] = value
        }
    
      /** Names leading to the current location in the ASN.1 document. */
      private val path = mutableListOf<String>()
    
      private var constructed = false
    
      private var peekedHeader: DerHeader? = null
    
      private val bytesLeft: Long
    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/test/java/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

        FileSystem.RESOURCES.source(PublicSuffixDatabase.PUBLIC_SUFFIX_RESOURCE).use { resource ->
          GzipSource(resource).buffer().use { source ->
            var length = source.readInt()
            source.skip(length.toLong())
            length = source.readInt()
            buffer.write(source, length.toLong())
          }
        }
        while (!buffer.exhausted()) {
          val exception = buffer.readUtf8LineStrict()
    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)
  3. okhttp/src/main/kotlin/okhttp3/Headers.kt

     * simplifies use of single-valued fields whose values routinely contain commas, such as cookies or
     * dates.
     *
     * This class trims whitespace from values. It never returns values with leading or trailing
     * whitespace.
     *
     * Instances of this class are immutable. Use [Builder] to create instances.
     */
    @Suppress("NAME_SHADOWING")
    class Headers internal constructor(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

        var value = 0
        val groupOffset = i
        while (i < limit) {
          val c = input[i]
          if (c < '0' || c > '9') break
          if (value == 0 && groupOffset != i) return false // Reject unnecessary leading '0's.
          value = value * 10 + c.code - '0'.code
          if (value > 255) return false // Value out of range.
          i++
        }
        val groupLength = i - groupOffset
    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)
  5. docs/en/docs/tutorial/path-params.md

    !!! tip
        If you are wondering, "AlexNet", "ResNet", and "LeNet" are just names of Machine Learning <abbr title="Technically, Deep Learning model architectures">models</abbr>.
    
    ### Declare a *path parameter*
    
    Then create a *path parameter* with a type annotation using the enum class you created (`ModelName`):
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/Cookie.kt

        replaceWith = ReplaceWith(expression = "secure"),
        level = DeprecationLevel.ERROR,
      )
      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.
       */
    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)
  7. okhttp/src/test/java/okhttp3/CookieTest.kt

        assertThat(cookie.matches("http://www.example.com".toHttpUrl())).isFalse()
        assertThat(cookie.matches("http://square.com".toHttpUrl())).isFalse()
      }
    
      /** Ignore an optional leading `.` in the domain.  */
      @Test fun domainMatchesIgnoresLeadingDot() {
        val cookie = parse(url, "a=b; domain=.example.com")
        assertThat(cookie!!.matches("http://example.com".toHttpUrl())).isTrue()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 24.3K bytes
    - Viewed (0)
  8. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

          assertThat(header.constructed).isFalse()
          assertThat(header.length).isEqualTo(201)
        }
    
        assertThat(derReader.hasNext()).isFalse()
      }
    
      @Test fun `decode length encoded with leading zero byte`() {
        val buffer =
          Buffer()
            .writeByte(0b00000010)
            .writeByte(0b10000010)
            .writeByte(0b00000000)
            .writeByte(0b01111111)
    
        val derReader = DerReader(buffer)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 31.7K bytes
    - Viewed (0)
  9. docs/changelogs/changelog_4x.md

    _2020-04-06_
    
    **This release fixes a severe bug where OkHttp incorrectly detected and recovered from unhealthy
    connections.** Stale or canceled connections were incorrectly attempted when they shouldn't have
    been, leading to rare cases of infinite retries. Please upgrade to this release!
    
     *  Fix: don't return stale DNS entries in `DnsOverHttps`. We were caching DNS results indefinitely
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

          if (exceptionMessage != null) {
            assertThat(iae).hasMessage(exceptionMessage)
          }
        }
      }
    
      @Test
      fun parseTrimsAsciiWhitespace() {
        val expected = parse("http://host/")
        // Leading.
        assertThat(parse("http://host/\u000c\n\t \r")).isEqualTo(expected)
        // Trailing.
        assertThat(parse("\r\n\u000c \thttp://host/")).isEqualTo(expected)
        // Both.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
Back to top