Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for Reed (0.45 sec)

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

       *
       * @param domain A canonicalized domain. An International Domain Name (IDN) should be punycode
       *     encoded.
       */
      fun getEffectiveTldPlusOne(domain: String): String? {
        // We use UTF-8 in the list so we need to convert to Unicode.
        val unicodeDomain = IDN.toUnicode(domain)
        val domainLabels = splitDomain(unicodeDomain)
    
        val rule = findMatchingRule(domainLabels)
    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/connection/RealConnectionPool.kt

        // Find the longest-idle connections in 2 categories:
        //
        //  1. OLD: Connections that have been idle for at least keepAliveDurationNs. We close these if
        //     we find them, regardless of what the address policies need.
        //
        //  2. EVICTABLE: Connections not required by any address policy. This matches connections that
        //     don't participate in any policy, plus connections whose policies won't be violated if the
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CacheTest.kt

        assertThat(request.headers["If-Modified-Since"]).isNull()
      }
    
      private fun assertClientSuppliedCondition(
        seed: MockResponse,
        conditionName: String,
        conditionValue: String,
      ): RecordedRequest {
        server.enqueue(
          seed.newBuilder()
            .body("A")
            .build(),
        )
        server.enqueue(
          MockResponse.Builder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

                  condition.signalAll()
                }
              }
            }
          }
    
          // Update the connection flow control, as this is a shared resource.
          // Even if our stream doesn't need more data, others might.
          // But delay updating the stream flow control until that stream has been
          // consumed
          updateConnectionFlowControl(byteCount)
    
          // Notify that buffer size changed
    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)
  5. okhttp/src/main/kotlin/okhttp3/internal/url/-Url.kt

            writeByte('%'.code)
            writeByte(HEX_DIGITS[b shr 4 and 0xf].code)
            writeByte(HEX_DIGITS[b and 0xf].code)
          }
        } else {
          // This character doesn't need encoding. Just copy it over.
          writeUtf8CodePoint(codePoint)
        }
        i += Character.charCount(codePoint)
      }
    }
    
    /**
     * Returns a substring of `input` on the range `[pos..limit)` with the following
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

       * will fail and no connection will be established.
       */
      fun requestClientAuth() {
        this.clientAuth = CLIENT_AUTH_REQUESTED
      }
    
      /**
       * Configure the server to [need client auth][SSLSocket.setNeedClientAuth]. If the
       * client presents a certificate that is [trusted][TrustManager] the handshake will
       * proceed normally. If the client presents an untrusted certificate or no certificate at all the
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

       *     DIRTY action should be followed by a CLEAN or REMOVE action. DIRTY lines without a matching
       *     CLEAN or REMOVE indicate that temporary files may need to be deleted.
       *
       *   o CLEAN lines track a cache entry that has been successfully published and may be read. A
       *     publish line is followed by the lengths of each of its values.
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  8. okhttp/api/okhttp.api

    	public static final field TLS_RSA_WITH_RC4_128_MD5 Lokhttp3/CipherSuite;
    	public static final field TLS_RSA_WITH_RC4_128_SHA Lokhttp3/CipherSuite;
    	public static final field TLS_RSA_WITH_SEED_CBC_SHA Lokhttp3/CipherSuite;
    	public final fun -deprecated_javaName ()Ljava/lang/String;
    	public synthetic fun <init> (Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

       * the implementation will need to be revisited to support a more flexible rule.
       */
      private fun assertWildcardRule(rule: String) {
        check(rule.startsWith(WILDCARD_CHAR)) {
          """Wildcard Assertion Failure: '$rule'
    A wildcard rule was added with a wildcard that is not in leftmost position! We'll need to change the ${PublicSuffixDatabase::class.java.name} to handle this."""
        }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:24:38 GMT 2024
    - 6K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

        override fun read(
          sink: Buffer,
          byteCount: Long,
        ): Long {
          check(fileOperator != null)
    
          val source: Int =
            synchronized(this@Relay) {
              // We need new data from upstream.
              while (true) {
                val upstreamPos = ******@****.***amPos
                if (sourcePos != upstreamPos) break
    
                // No more data upstream. We're done.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.8K bytes
    - Viewed (0)
Back to top