Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 82 for Schick (0.16 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/flowcontrol/WindowCounter.kt

        @Synchronized get() = total - acknowledged
    
      @Synchronized
      fun update(
        total: Long = 0,
        acknowledged: Long = 0,
      ) {
        check(total >= 0)
        check(acknowledged >= 0)
    
        this.total += total
        this.acknowledged += acknowledged
    
        check(this.acknowledged <= this.total)
      }
    
      override fun toString(): String {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/AutobahnTester.kt

              webSocket: WebSocket,
              t: Throwable,
              response: Response?,
            ) {
              t.printStackTrace(System.out)
              latch.countDown()
            }
          },
        )
    
        check(latch.await(30, TimeUnit.SECONDS)) { "Timed out waiting for test $number to finish." }
        val endNanos = System.nanoTime()
        val tookMs = TimeUnit.NANOSECONDS.toMillis(endNanos - startNanos.get())
        println("Took ${tookMs}ms")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java

    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public final class CheckHandshake {
      /** Rejects otherwise-trusted certificates. */
      private static final Interceptor CHECK_HANDSHAKE_INTERCEPTOR = new Interceptor() {
        final Set<String> denylist = Collections.singleton(
            "sha256/afwiKY3RxoMmLkuRW1l7QsPZTJPwDS2pdDROQjXw8ig=");
    
    Java
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/UrlComponentEncodingTesterJvm.kt

          if (uri.toString() != component.urlString("")) {
            fail("Encoding $component $codePoint using $encoding")
          }
          return
        }
    
        // If the URI has more escaping than the HttpURL, check that the decoded values still match.
        val uriEscaped = uriEscapedCodePoints.indexOf(codePointString) != -1
        if (uriEscaped) {
          if (uri.toString() == httpUrl.toString()) {
    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)
  5. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        return size
      }
    
      @Synchronized
      @Throws(IOException::class)
      internal fun completeEdit(
        editor: Editor,
        success: Boolean,
      ) {
        val entry = editor.entry
        check(entry.currentEditor == editor)
    
        // If this edit is creating the entry for the first time, every index must have a value.
        if (success && !entry.readable) {
          for (i in 0 until valueCount) {
    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)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

      internal var errorException: IOException? = null
    
      init {
        if (headers != null) {
          check(!isLocallyInitiated) { "locally-initiated streams shouldn't have headers yet" }
          headersQueue += headers
        } else {
          check(isLocallyInitiated) { "remotely-initiated streams should have headers" }
        }
      }
    
      /**
    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)
  7. okhttp/src/main/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt

        val trustManagers =
          TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm()).apply {
            init(null as KeyStore?)
          }.trustManagers!!
        check(trustManagers.size == 1 && trustManagers[0] is X509TrustManager) {
          "Unexpected default trust managers: ${trustManagers.contentToString()}"
        }
        val x509TrustManager = trustManagers[0] as X509TrustManager
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          if (field == null && started) {
            field = ServerSocketFactory.getDefault() // Build the default value lazily.
          }
          return field
        }
    
        @Synchronized set(value) {
          check(!started) { "serverSocketFactory must not be set after start()" }
          field = value
        }
    
      private var serverSocket: ServerSocket? = null
      private var sslSocketFactory: SSLSocketFactory? = null
    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)
  9. okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt

          rangesIndices += compactTable.sections.read14BitInt(i)
          rangesOffsets += compactTable.sections.read14BitInt(i + 2)
        }
        assertThat(rangesIndices).isEqualTo(rangesIndices.sorted())
    
        // Check the ranges.
        for (r in 0 until rangesOffsets.size) {
          val rangePos = rangesOffsets[r] * 4
          val rangeLimit =
            when {
              r + 1 < rangesOffsets.size -> rangesOffsets[r + 1] * 4
    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)
  10. docs/features/https.md

            failure (external/openssl/ssl/s23_clnt.c:770 0x7f2728a53ea0:0x00000000)
        at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
    ```
    
    You can check a web server's configuration using [Qualys SSL Labs][qualys]. OkHttp's TLS
    configuration history is [tracked here](../security/tls_configuration_history.md).
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Dec 24 00:16:30 GMT 2022
    - 10.5K bytes
    - Viewed (0)
Back to top