- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for prepended (0.38 sec)
-
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
set("b", "bb", "bbb") // Cause the cache trim job to fail. filesystem.setFaultyDelete(cacheDir / "a.0", true) taskFaker.runNextTask() // Confirm that edits are prevented after a cache trim failure. assertThat(cache.edit("a")).isNull() assertThat(cache.edit("b")).isNull() assertThat(cache.edit("c")).isNull() // Allow the test to clean up.
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) -
okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
/** * Returns true when all work currently in progress by the watchdog have completed. This method * creates more work for the watchdog and waits for that work to be executed. When it is, we know * work that preceded this call is complete. */ private fun awaitWatchdogIdle() { val latch = CountDownLatch(1) val watchdogJob: AsyncTimeout = object : AsyncTimeout() { override fun timedOut() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 75.4K bytes - Viewed (0)