Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Reference (0.18 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

     *  See the License for the specific language governing permissions and
     *  limitations under the License.
     */
    package okhttp3.internal.connection
    
    import java.io.IOException
    import java.lang.ref.Reference
    import java.net.Proxy
    import java.net.Socket
    import java.net.SocketException
    import java.security.cert.X509Certificate
    import java.util.concurrent.TimeUnit.MILLISECONDS
    import java.util.concurrent.locks.ReentrantLock
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  2. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    @file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
    
    package okhttp3.logging
    
    import java.io.IOException
    import java.nio.charset.Charset
    import java.util.TreeSet
    import java.util.concurrent.TimeUnit
    import okhttp3.Headers
    import okhttp3.HttpUrl
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 11.2K bytes
    - Viewed (1)
  3. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

      var complete = (upstream == null)
    
      /** The most recently read bytes from [upstream]. This is a suffix of [file]. Guarded by this. */
      val buffer = Buffer()
    
      /**
       * Reference count of the number of active sources reading this stream. When decremented to 0
       * resources are released and all following calls to [.newSource] return null. Guarded by this.
       */
      var sourceCount = 0
    
    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)
  4. docs/changelogs/changelog_4x.md

     [dev_server]: https://github.com/square/okhttp/blob/482f88300f78c3419b04379fc26c3683c10d6a9d/samples/guide/src/main/java/okhttp3/recipes/kt/DevServer.kt
     [fun_interface]: https://kotlinlang.org/docs/reference/fun-interfaces.html
     [iana_websocket]: https://www.iana.org/assignments/websocket/websocket.txt
     [jetty_8_252]: https://webtide.com/jetty-alpn-java-8u252/
     [kotlin_1_3_71]: https://github.com/JetBrains/kotlin/releases/tag/v1.3.71
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  5. docs/changelogs/upgrading_to_okhttp_4.md

     [advanced_profiling_bug]: https://issuetracker.google.com/issues/135141615
     [japicmp]: https://github.com/siom79/japicmp
     [japicmp_gradle]: https://github.com/melix/japicmp-gradle-plugin
     [java_sams]: https://kotlinlang.org/docs/reference/java-interop.html#sam-conversions
     [kotlin_sams]: https://youtrack.jetbrains.com/issue/KT-11129
     [mockito]: https://site.mockito.org/
     [proguard_problems]: https://github.com/square/okhttp/issues/5167
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt

              latch3.countDown()
              try {
                latch4.await()
              } catch (e: InterruptedException) {
                throw AssertionError(e)
              }
            }
          }
    
        // Get a reference to the connection so we can violently destroy it.
        val connection = AtomicReference<Connection?>()
        val client1 =
          client.newBuilder()
            .addNetworkInterceptor(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt

            CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA.javaName,
          )
        applyConnectionSpec(tlsSpec, sslSocket, false)
        if (platform.isAndroid) {
          // https://developer.android.com/reference/javax/net/ssl/SSLSocket
          val sdkVersion = platform.androidSdkVersion()
          if (sdkVersion != null && sdkVersion >= 29) {
            assertThat(sslSocket.enabledCipherSuites)
              .containsExactly(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    @file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
    
    package mockwebserver3
    
    import java.util.concurrent.TimeUnit
    import mockwebserver3.SocketPolicy.KeepOpen
    import mockwebserver3.internal.toMockResponseBody
    import okhttp3.ExperimentalOkHttpApi
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 13.3K bytes
    - Viewed (1)
  9. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

                    ),
                    listOf(
                      AttributeTypeAndValue(
                        type = ORGANIZATIONAL_UNIT_NAME,
                        value = "www.entrust.net/CPS is incorporated by reference",
                      ),
                    ),
                    listOf(
                      AttributeTypeAndValue(
                        type = ORGANIZATIONAL_UNIT_NAME,
                        value = "(c) 2006 Entrust, Inc.",
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 43.9K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

      ): Int {
        connection.lock.assertHeld()
    
        val references = connection.calls
        var i = 0
        while (i < references.size) {
          val reference = references[i]
    
          if (reference.get() != null) {
            i++
            continue
          }
    
          // We've discovered a leaked call. This is an application bug.
          val callReference = reference as CallReference
          val message =
    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)
Back to top