Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for trimMargin (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

          writeUtf8(
            // No trailing newline.
            """
            |${DiskLruCache.MAGIC}
            |${DiskLruCache.VERSION_1}
            |100
            |2
            |
            |CLEAN k1 1 1
            """.trimMargin(),
          )
        }
        createNewCache()
        assertThat(cache["k1"]).isNull()
    
        // The journal is not corrupt when editing after a truncated line.
        set("k1", "C", "D")
        cache.close()
    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)
Back to Top