Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for Othman (0.2 sec)

  1. okhttp/src/main/kotlin/okhttp3/EventListener.kt

        call: Call,
        url: HttpUrl,
        proxies: List<@JvmSuppressWildcards Proxy>,
      ) {
      }
    
      /**
       * Invoked just prior to a DNS lookup. See [Dns.lookup].
       *
       * This can be invoked more than 1 time for a single [Call]. For example, if the response to the
       * [Call.request] is a redirect to a different host.
       *
       * If the [Call] is able to reuse an existing pooled connection, this method will not be invoked.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/UrlComponentEncodingTesterJvm.kt

       * strict than the others.
       */
      fun escapeForUri(vararg codePoints: Int) =
        apply {
          uriEscapedCodePoints.append(String(*codePoints))
        }
    
      /**
       * Configure code points to be stripped in conversion to `java.net.URI`. That class is more
       * strict than the others.
       */
      fun stripForUri(vararg codePoints: Int) =
        apply {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/WebPlatformToAsciiTest.kt

    class WebPlatformToAsciiTest {
      @Suppress("ktlint:standard:max-line-length")
      val knownFailures =
        setOf(
          // OkHttp rejects empty labels.
          "x..xn--zca",
          "x..ß",
          // OkHttp rejects labels longer than 63 code points, the web platform tests don't.
          "x01234567890123456789012345678901234567890123456789012345678901x.xn--zca",
          "x01234567890123456789012345678901234567890123456789012345678901x.ß",
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt

      @Test fun validateCompactTableInvariants() {
        // Less than 16,834 bytes, because we binary search on a 14-bit index.
        assertThat(compactTable.sections.length).isLessThan(1 shl 14)
    
        // Less than 65,536 bytes, because we binary search on a 14-bit index with a stride of 4 bytes.
        assertThat(compactTable.ranges.length).isLessThan((1 shl 14) * 4)
    
        // Less than 16,384 chars, because we index on a 14-bit index in the ranges table.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

            ******@****.***ck {
              finished = this.finished
              flowControlError = remainingByteCount + readBuffer.size > maxByteCount
            }
    
            // If the peer sends more data than we can handle, discard it and close the connection.
            if (flowControlError) {
              source.skip(remainingByteCount)
              closeLater(ErrorCode.FLOW_CONTROL_ERROR)
              return
            }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  6. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        }
    
        if (mostRecentTrimFailed || mostRecentRebuildFailed) {
          // The OS has become our enemy! If the trim job failed, it means we are storing more data than
          // requested by the user. Do not allow edits so we do not go over that limit any further. If
          // the journal rebuild failed, the journal writer will not be active, meaning we will not be
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

            )
          }
        }
    
        if (isControlFrame && frameLength > PAYLOAD_BYTE_MAX) {
          throw ProtocolException("Control frame must be less than ${PAYLOAD_BYTE_MAX}B.")
        }
    
        if (isMasked) {
          // Read the masking key as bytes so that they can be used directly for unmasking.
          source.readFully(maskKey!!)
        }
      }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

              // Length specified over multiple bytes.
              val lengthBytes = length0 and 0b0111_1111
              if (lengthBytes > 8) {
                throw ProtocolException("length encoded with more than 8 bytes is not supported")
              }
    
              var lengthBits = source.readByte().toLong() and 0xff
              if (lengthBits == 0L || lengthBytes == 1 && lengthBits and 0b1000_0000 == 0L) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

        /** Age of the cached response. */
        private var ageSeconds = -1
    
        /**
         * Returns true if computeFreshnessLifetime used a heuristic. If we used a heuristic to serve a
         * cached response older than 24 hours, we are required to attach a warning.
         */
        private fun isFreshnessLifetimeHeuristic(): Boolean {
          return cacheResponse!!.cacheControl.maxAgeSeconds == -1 && expires == null
        }
    
        init {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12K bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          .scheme(if (sslSocketFactory != null) "https" else "http")
          .host(hostName)
          .port(port)
          .build()
          .resolve(path)!!
      }
    
      /**
       * Serve requests with HTTPS rather than otherwise.
       */
      fun useHttps(sslSocketFactory: SSLSocketFactory) {
        this.sslSocketFactory = sslSocketFactory
      }
    
      /**
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
Back to top