- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 74 for resources (0.21 sec)
-
native-image-tests/src/main/resources/META-INF/native-image/okhttp/nit/resource-config.json
Json - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Jul 28 12:56:04 GMT 2021 - 110 bytes - Viewed (0) -
docs/features/r8_proguard.md
also need rules from [Okio][okio] which is a dependency of this library. [okhttp3_pro]: https://raw.githubusercontent.com/square/okhttp/master/okhttp/src/main/resources/META-INF/proguard/okhttp3.pro
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 607 bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt
* * Work within queues is not concurrent. This is equivalent to each queue having a dedicated thread * for its work; in practice a set of queues may share a set of threads to save resources. */ class TaskQueue internal constructor( internal val taskRunner: TaskRunner, internal val name: String, ) { val lock: ReentrantLock = ReentrantLock() internal var shutdown = false
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 7.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/graal/OkHttpFeature.kt
import org.graalvm.nativeimage.hosted.Feature import org.graalvm.nativeimage.hosted.RuntimeResourceAccess /** * Automatic configuration of OkHttp for native images. * * Currently, includes all necessary resources. */ class OkHttpFeature : Feature { @IgnoreJRERequirement override fun beforeAnalysis(access: Feature.BeforeAnalysisAccess?) { RuntimeResourceAccess.addResource(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.2K bytes - Viewed (0) -
okcurl/src/main/resources/META-INF/native-image/okhttp3/okcurl/resource-config.json
{ "resources": [ {"pattern": "okcurl-version.properties"} ]
Json - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 70 bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/WebPlatformToAsciiData.kt
import kotlinx.serialization.decodeFromString import kotlinx.serialization.json.Json /** * A test from the [Web Platform To ASCII](https://github.com/web-platform-tests/wpt/blob/master/url/resources/toascii.json). * * Each test is a line of the file `toascii.json`. */ @Serializable class WebPlatformToAsciiData { var input: String? = null var output: String? = null var comment: String? = null
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 1.4K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/PublicSuffixDatabaseTest.kt
assertThat(url.topPrivateDomain()).isEqualTo("twitter.com") } @Test fun testPublicSuffixes() { platform.assumeNotGraalVMImage() val metadata = FileSystem.RESOURCES.metadata(PublicSuffixDatabase.PUBLIC_SUFFIX_RESOURCE) assertThat(metadata.size!!).isGreaterThan(30000) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Dec 24 09:33:12 GMT 2023 - 1.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Call.kt
fun request(): Request /** * Invokes the request immediately, and blocks until the response can be processed or is in error. * * To avoid leaking resources callers should close the [Response] which in turn will close the * underlying [ResponseBody]. * * ```java * // ensure the response (and underlying response body) is closed
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 3.6K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt
return readStory(this) } } /** Iterate through the hpack-test-case resources, only picking stories for the current draft. */ fun storiesForCurrentDraft(): Array<String> { val resource = HpackJsonUtil::class.java.getResource("/hpack-test-case") ?: return arrayOf() val testCaseDirectory = File(resource.toURI()).toOkioPath() val result = mutableListOf<String>()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.3K bytes - Viewed (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/Clients.kt
ConnectionSpec.COMPATIBLE_TLS.cipherSuites!!.map { ianaSuites.fromJavaName(it.javaName) }, ) } fun historicOkHttp(version: String): Client { val enabled = FileSystem.RESOURCES.read("okhttp_$version.txt".toPath()) { this.readUtf8().lines().filter { it.isNotBlank() }.map { SuiteId(id = null, name = it.trim()) } } return Client( userAgent = "OkHttp",
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Apr 02 01:44:15 GMT 2024 - 2.5K bytes - Viewed (0)