Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 34 for system (0.15 sec)

  1. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

            override fun peek(): MockResponse = TODO()
    
            override fun shutdown() = TODO()
          }
      }
    
      @Test
      fun dns() {
        var dns: Dns = Dns { TODO() }
    
        val system: Dns = Dns.SYSTEM
      }
    
      @Test
      fun eventListener() {
        val eventListener =
          object : EventListener() {
            override fun callStart(call: Call) = TODO()
    
            override fun dnsStart(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 46.5K bytes
    - Viewed (4)
  2. okhttp/src/main/kotlin/okhttp3/Cookie.kt

      @get:JvmName("name") val name: String,
      /** Returns a possibly-empty string with this cookie's value. */
      @get:JvmName("value") val value: String,
      /**
       * Returns the time that this cookie expires, in the same format as [System.currentTimeMillis].
       * This is December 31, 9999 if the cookie is not [persistent], in which case it will expire at the
       * end of the current session.
       *
    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)
  3. docs/features/https.md

              if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
              for (Certificate certificate : response.handshake().peerCertificates()) {
                System.out.println(CertificatePinner.pin(certificate));
              }
            }
          }
        ```
    
    ### Customizing Trusted Certificates ([.kt][CustomTrustKotlin], [.java][CustomTrustJava])
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 24 00:16:30 GMT 2022
    - 10.5K bytes
    - Viewed (0)
  4. CHANGELOG.md

    _2024-04-17_
    
     *  Breaking: Move coroutines extensions to okhttp3.coroutines. Previously this artifact shared the
        `okhttp3` package name with our core module, which is incompatible with the Java Platform Module
        System.
    
     *  Fix in okhttp-coroutines: Publish a valid artifact. The coroutines JAR file in 5.0.0-alpha.13
        was corrupt and should not be used.
    
    
    ## Version 5.0.0-alpha.13
    
    _2024-04-16_
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

      private val cleanupQueue: TaskQueue = taskRunner.newQueue()
      private val cleanupTask =
        object : Task("$okHttpName ConnectionPool connection closer") {
          override fun runOnce(): Long = closeConnections(System.nanoTime())
        }
    
      private fun AddressState.scheduleOpener() {
        queue.schedule(
          object : Task("$okHttpName ConnectionPool connection opener") {
    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)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

       */
      internal fun sendDegradedPingLater() {
        this.withLock {
          if (degradedPongsReceived < degradedPingsSent) return // Already awaiting a degraded pong.
          degradedPingsSent++
          degradedPongDeadlineNs = System.nanoTime() + DEGRADED_PONG_TIMEOUT_NS
        }
        writerQueue.execute("$connectionName ping") {
          writePing(false, DEGRADED_PING, 0)
        }
      }
    
      class Builder(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  7. gradle/wrapper/gradle-wrapper.jar

    of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."...
    Archive
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 42.4K bytes
    - Viewed (0)
  8. docs/recipes.md

            System.out.printf("%.2f Executing call.%n", (System.nanoTime() - startNanos) / 1e9f)
            try {
              call.execute().use { response ->
                System.out.printf("%.2f Call was expected to fail, but completed: %s%n",
                    (System.nanoTime() - startNanos) / 1e9f, response)
              }
            } catch (e: IOException) {
              System.out.printf("%.2f Call failed as expected: %s%n",
    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)
  9. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

            .build(),
        )
        val startNanos = System.nanoTime()
        val connection = server.url("/").toUrl().openConnection()
        connection.doOutput = true
        connection.getOutputStream().write("ABCDEF".toByteArray(UTF_8))
        val inputStream = connection.getInputStream()
        assertThat(inputStream.read()).isEqualTo(-1)
        val elapsedNanos = System.nanoTime() - startNanos
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

                bytesToRecover -= toEvict.hpackSize
                dynamicTableByteCount -= toEvict.hpackSize
                headerCount--
                entriesToEvict++
                j--
              }
              System.arraycopy(
                dynamicTable,
                nextHeaderIndex + 1,
                dynamicTable,
                nextHeaderIndex + 1 + entriesToEvict,
                headerCount,
              )
    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)
Back to top