- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for trimToSizeWithActiveEdit (0.1 sec)
-
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")!!
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 59.4K bytes - Viewed (0)