- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for runtime (0.17 sec)
-
okhttp/src/main/kotlin/okhttp3/OkHttp.kt
* * Note that OkHttp's runtime version may be different from the version specified in your * project's build file due to the dependency resolution features of your build tool. * * [semver]: https://semver.org */ @Suppress("MayBeConstant") // Non-const so external callers get the runtime version. @JvmField val VERSION = CONST_VERSION
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 1.6K bytes - Viewed (1) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/Flaky.kt
* limitations under the License. */ package okhttp3.testing @Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION) @Retention(AnnotationRetention.RUNTIME) /** * Annotation marking a test as flaky, and requires extra logging and linking against * a known github issue. This does not ignore the failure. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 902 bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt
private val isBouncyCastlePreferred: Boolean get() { val preferredProvider = Security.getProviders()[0].name return "BC" == preferredProvider } /** Attempt to match the host runtime to a capable Platform implementation. */ private fun findPlatform(): Platform = if (isAndroid) { findAndroidPlatform() } else { findJvmPlatform() }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.8K bytes - Viewed (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) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
platform.assumeJdk9() assertFailsWith<UnsupportedOperationException> { client.newBuilder() .sslSocketFactory(handshakeCertificates.sslSocketFactory()) } } /** Confirm that runtime exceptions thrown inside of OkHttp propagate to the caller. */ @Test fun unexpectedExceptionSync() { client = client.newBuilder() .dns { hostname: String? -> throw RuntimeException("boom!") }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 131.7K bytes - Viewed (0) -
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) -
okhttp-idna-mapping-table/README.md
OkHttp IDNA Mapping Table ========================= This module contains supporting tools for building the IDNA mapping table.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue May 02 11:21:58 GMT 2023 - 174 bytes - Viewed (0) -
okhttp/src/test/resources/okhttp3/internal/idn/README.md
(RFC 3454). Fragments of this RFC are dumped into the files in this directory and parsed by `StringprepTablesReader` into a model that can be used at runtime. This format is chosen to make it easy to validate that these tables are consistent with the RFC. ``` cd okhttp/src/test/resources/okhttp3/internal/idn/
Plain Text - Registered: Fri Mar 29 11:42:11 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 618 bytes - Viewed (0) -
native-image-tests/build.gradle.kts
} graal { mainClass("okhttp3.RunTestsKt") outputName("ConsoleLauncher") graalVersion(libs.versions.graalvm.get()) javaVersion("11") option("--no-fallback") option("--report-unsupported-elements-at-runtime") option("-H:+ReportExceptionStackTraces")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 06 05:31:00 GMT 2024 - 1.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/MediaType.kt
) { /** * Returns the charset of this media type, or [defaultValue] if either this media type doesn't * specify a charset, or if its charset is unsupported by the current runtime. */ @JvmOverloads fun charset(defaultValue: Charset? = null): Charset? { val charset = parameter("charset") ?: return defaultValue return try { Charset.forName(charset)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.2K bytes - Viewed (0)