- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for trimToSizeWithActiveEdit (0.09 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
} /** * We had a long-lived bug where [DiskLruCache.trimToSize] could infinite loop if entries * being edited required deletion for the operation to complete. */ @Test fun trimToSizeWithActiveEdit() { val expectedByteCount = if (windows) 10L else 0L val afterRemoveFileContents = if (windows) "a1234" else null set("a", "a1234", "a1234") val a = cache.edit("a")!!
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)