- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for noSizeCorruptionAfterEditorDetached (0.11 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
// Committing the detached editor should not change the cache's size. editor.commit() assertThat(cache.size()).isEqualTo(4) assertValue("k1", "bb", "bb") } @Test fun noSizeCorruptionAfterEditorDetached() { Assumptions.assumeFalse(windows) // Windows can't have two concurrent editors. set("k1", "a", "a") // Create an editor for k1. Detach it by clearing the cache.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 59.4K bytes - Click Count (0)