Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for dirtyFiles (0.05 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

              return blackholeSink()
            }
            if (!entry.readable) {
              written!![index] = true
            }
            val dirtyFile = entry.dirtyFiles[index]
            val sink: Sink
            try {
              sink = fileSystem.sink(dirtyFile)
            } catch (_: FileNotFoundException) {
              return blackholeSink()
            }
            return FaultHidingSink(sink) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        cache.close()
        val cleanFile0 = getCleanFile("k1", 0)
        val cleanFile1 = getCleanFile("k1", 1)
        val dirtyFile0 = getDirtyFile("k1", 0)
        val dirtyFile1 = getDirtyFile("k1", 1)
        writeFile(cleanFile0, "A")
        writeFile(cleanFile1, "B")
        writeFile(dirtyFile0, "C")
        writeFile(dirtyFile1, "D")
        createJournal("CLEAN k1 1 1", "DIRTY k1")
        createNewCache()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
Back to top