- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for exists (0.15 sec)
-
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
assertThat(filesystem.exists(getCleanFile("g1", 0))).isFalse() assertThat(filesystem.exists(getCleanFile("g1", 1))).isFalse() assertThat(filesystem.exists(getCleanFile("g2", 0))).isFalse() assertThat(filesystem.exists(getCleanFile("g2", 1))).isFalse() assertThat(filesystem.exists(cacheDir / "otherFile0")).isFalse() assertThat(filesystem.exists(cacheDir / "dir1")).isFalse() }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 75.8K bytes - Viewed (0) -
settings.gradle.kts
project(":okhttp-logging-interceptor").name = "logging-interceptor" val androidHome = System.getenv("ANDROID_HOME") val localProperties = Properties().apply { val file = File("local.properties") if (file.exists()) { load(file.inputStream()) } } val sdkDir = localProperties.getProperty("sdk.dir") if ((androidHome != null || sdkDir != null) && !isKnownBrokenIntelliJ()) { include(":okhttp-android")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Apr 14 14:24:05 GMT 2024 - 2.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
return connect } /** * Returns the connection already attached to the call if it's eligible for a new exchange. * * If the call's connection exists and is eligible for another exchange, it is returned. If it * exists but cannot be used for another exchange, it is closed and this returns null. */ private fun planReuseCallConnection(): ReusePlan? { // This may be mutated by releaseConnectionNoEvents()!
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 12K bytes - Viewed (0) -
build.gradle.kts
skipDeprecated.set(true) jdkVersion.set(8) perPackageOption { matchingRegex.set(".*\\.internal.*") suppress.set(true) } if (project.file("Module.md").exists()) { includes.from(project.file("Module.md")) } externalDocumentationLink { url.set(URI.create("https://square.github.io/okio/3.x/okio/").toURL())
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) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt
* Corresponds to `FLAG_FIN`. * @param flushHeaders true to force flush the response headers. This should be true unless the * response body exists and will be written immediately. */ @Throws(IOException::class) fun writeHeaders( responseHeaders: List<Header>, outFinished: Boolean, flushHeaders: Boolean, ) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 23.2K bytes - Viewed (1) -
okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt
assertThat(pool.closeConnections(149L)).isEqualTo(1L) assertThat(pool.connectionCount()).isEqualTo(1) assertThat(c1.socket().isClosed).isFalse() // Running at time 150, the pool evicts. assertThat(pool.closeConnections(150L)).isEqualTo(0) assertThat(pool.connectionCount()).isEqualTo(0) assertThat(c1.socket().isClosed).isTrue()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 24 04:40:49 GMT 2024 - 12.7K bytes - Viewed (0)