Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for runtime (0.17 sec)

  1. docs/changelogs/changelog_4x.md

        expected.
    
     *  New: Constant string `okhttp3.VERSION`. This is a string like "4.5.0-RC1", "4.5.0", or
        "4.6.0-SNAPSHOT" indicating the version of OkHttp in the current runtime. Use this to include
        the OkHttp version in custom `User-Agent` headers.
    
     *  Fix: Don't crash when running as a plugin in Android Studio Canary 4.1. To enable
    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)
  2. build.gradle.kts

        javaLauncher.set(javaToolchains.launcherFor {
          languageVersion.set(JavaLanguageVersion.of(testJavaVersion))
        })
    
        maxParallelForks = Runtime.getRuntime().availableProcessors() * 2
        testLogging {
          exceptionFormat = TestExceptionFormat.FULL
        }
    
        systemProperty("okhttp.platform", platform)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:32:42 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

       * https://android.googlesource.com/platform/libcore/+/master/support/src/test/java/libcore/
       * java/lang/ref/FinalizationTester.java
       */
      @Throws(Exception::class)
      @JvmStatic
      fun awaitGarbageCollection() {
        Runtime.getRuntime().gc()
        Thread.sleep(100)
        System.runFinalization()
      }
    
      @JvmStatic
      fun assumeNetwork() {
        try {
          InetAddress.getByName("www.google.com")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Cache.kt

     * bandwidth.
     *
     * The Cache instance must have exclusive access to the [directory], since the internal data structures
     * may cause corruption or runtime errors if not. It may however be shared amongst multiple OkHttpClient
     * instances.
     *
     * ## Cache Optimization
     *
     * To measure cache effectiveness, this class tracks three statistics:
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

        serverListener.assertOpen()
        serverListener.assertFailure(EOFException::class.java)
        serverListener.assertExhausted()
        clientListener.assertFailure(e)
      }
    
      @Disabled("AsyncCall currently lets runtime exceptions propagate.")
      @Test
      @Throws(
        Exception::class,
      )
      fun throwingOnFailLogs() {
        webServer.enqueue(
          MockResponse.Builder()
            .code(200)
            .body("Body")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 35.2K bytes
    - Viewed (1)
  6. CHANGELOG.md

        JVM artifact (`com.squareup.okhttp3:okhttp-jvm:3.x.x`) for Maven builds. This should work-around
        an issue where Maven doesn't interpret Gradle metadata.
     *  Fix: Make another attempt at supporting Kotlin 1.5.31 at runtime. We were crashing on
        `DurationUnit` which was a typealias in 1.5.x.
     *  Upgrade: [Okio 3.2.0][okio_3_2_0].
    
    
    ## Version 5.0.0-alpha.9
    
    _2022-06-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)
Back to top