- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Editor (0.25 sec)
-
okhttp/src/main/kotlin/okhttp3/Cache.kt
var editor: DiskLruCache.Editor? = null try { editor = snapshot.edit() ?: return // edit() returns null if snapshot is not current. entry.writeTo(editor) editor.commit() } catch (_: IOException) { abortQuietly(editor) } } private fun abortQuietly(editor: DiskLruCache.Editor?) { // Give up because the cache cannot be written.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 26.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
val editor = cache.edit("k1")!! editor.setString(0, "A") editor.setString(1, "B") editor.abort() editor.assertInoperable() } @ParameterizedTest @ArgumentsSource(FileSystemParamProvider::class) fun explicitRemoveAppliedToDiskImmediately(parameters: Pair<FileSystem, Boolean>) { setUp(parameters.first, parameters.second) val editor = cache.edit("k1")!!
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)