Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 62 for Kint (0.12 sec)

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

            // unsigned bytes.
            var compareResult: Int
            var currentLabelIndex = labelIndex
            var currentLabelByteIndex = 0
            var publicSuffixByteIndex = 0
    
            var expectDot = false
            while (true) {
              val byte0: Int
              if (expectDot) {
                byte0 = '.'.code
                expectDot = false
              } else {
    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)
  2. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

        @Throws(IOException::class)
        fun onReadMessage(bytes: ByteString)
    
        fun onReadPing(payload: ByteString)
    
        fun onReadPong(payload: ByteString)
    
        fun onReadClose(
          code: Int,
          reason: String,
        )
      }
    
      /**
       * Process the next protocol frame.
       *
       *  * If it is a control frame this will result in a single call to [FrameCallback].
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

    import okio.BufferedSource
    import okio.Sink
    import okio.Source
    import okio.Timeout
    
    /** A logical bidirectional stream. */
    @Suppress("NAME_SHADOWING")
    class Http2Stream internal constructor(
      val id: Int,
      val connection: Http2Connection,
      outFinished: Boolean,
      inFinished: Boolean,
      headers: Headers?,
    ) {
      internal val lock: ReentrantLock = ReentrantLock()
      val condition: Condition = lock.newCondition()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  4. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

              streamId: Int,
              streamDependency: Int,
              weight: Int,
              exclusive: Boolean,
            ) {
              assertThat(streamDependency).isEqualTo(0)
              assertThat(weight).isEqualTo(256)
              assertThat(exclusive).isFalse()
            }
    
            override fun headers(
              inFinished: Boolean,
              streamId: Int,
              associatedStreamId: Int,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

            dynamicTableByteCount += delta
          }
    
          @Throws(IOException::class)
          private fun readByte(): Int {
            return source.readByte() and 0xff
          }
    
          @Throws(IOException::class)
          fun readInt(
            firstByte: Int,
            prefixMask: Int,
          ): Int {
            val prefix = firstByte and prefixMask
            if (prefix < prefixMask) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 22.5K bytes
    - Viewed (1)
  6. docs/recipes.md

                sink.writeUtf8("Numbers\n");
                sink.writeUtf8("-------\n");
                for (int i = 2; i <= 997; i++) {
                  sink.writeUtf8(String.format(" * %s = %s\n", i, factor(i)));
                }
              }
    
              private String factor(int n) {
                for (int i = 2; i < n; i++) {
                  int x = n / i;
                  if (x * i == n) return factor(x) + " × " + i;
                }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Feb 18 08:52:22 GMT 2022
    - 40.2K bytes
    - Viewed (1)
  7. okhttp/src/main/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz

    info.tt info.tz info.ve info.vn info.zm ing ing.pa ingatlan.hu ink ino.kochi.jp instance.datadetect.com instances.spawn.cc instantcloud.cn institute insurance insurance.aero insure int int.ar int.az int.bo int.ci int.co int.cv int.eu.org int.in int.is int.la int.lk int.mv int.mw int.ni int.pt int.ru int.tj int.tt int.ve int.vn intelligence.museum interactive.museum international internet-dns.de internet.in intl.tn intuit inuyama.aichi.jp investments inzai.chiba.jp io io.in io.kg iobb.net iopsys.se ...
    Others
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 40.4K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt

          it is RequestFailed ||
          it is ResponseFailed
    
      private fun sleep(delayMillis: Int) {
        try {
          Thread.sleep(delayMillis.toLong())
        } catch (e: InterruptedException) {
          Thread.currentThread().interrupt()
        }
      }
    
      private fun cancelLater(
        call: Call,
        delayMillis: Int,
      ): CountDownLatch {
        val latch = CountDownLatch(1)
        Thread {
          sleep(delayMillis)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  9. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

        }
      }
    
      private fun buildRequest(
        hostname: String,
        networkRequests: MutableList<Call>,
        results: MutableList<InetAddress>,
        failures: MutableList<Exception>,
        type: Int,
      ) {
        val request = buildRequest(hostname, type)
        val response = getCacheOnlyResponse(request)
    
        response?.let { processResponse(it, hostname, results, failures) } ?: networkRequests.add(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Mar 22 07:09:21 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/ConnectionSpec.kt

          if (this.supportsTlsExtensions != other.supportsTlsExtensions) return false
        }
    
        return true
      }
    
      override fun hashCode(): Int {
        var result = 17
        if (isTls) {
          result = 31 * result + (cipherSuitesAsString?.contentHashCode() ?: 0)
          result = 31 * result + (tlsVersionsAsString?.contentHashCode() ?: 0)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 13.4K bytes
    - Viewed (0)
Back to top