- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for fault (0.01 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
// Once the journal has a failure, subsequent writes aren't permitted. filesystem.setFaultyWrite(journalFile, false) assertThat(cache.edit("d")).isNull() // Confirm that the fault didn't corrupt entries stored before the fault was introduced. cache.close() cache = DiskLruCache(filesystem, cacheDir, appVersion, 2, Int.MAX_VALUE.toLong(), taskRunner).also { toClose.add(it) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 75.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Preconditions.java
* * <h3>Non-preconditions</h3> * * <p>It is of course possible to use the methods of this class to check for invalid conditions * which are <i>not the caller's fault</i>. Doing so is <b>not recommended</b> because it is * misleading to future readers of the code and of stack traces. See <a * href="https://github.com/google/guava/wiki/ConditionalFailuresExplained">Conditional failures
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 10 22:11:00 UTC 2025 - 53K bytes - Viewed (0)