- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for multipleSources (0.43 sec)
-
okhttp/src/test/java/okhttp3/internal/cache2/RelayTest.kt
assertThat(sourceBuffer.size).isEqualTo(0) source.close() assertThat(relay.isClosed).isTrue() assertFile(Relay.PREFIX_CLEAN, 13L, metadata.size, "abcdefghijklm", metadata) } @Test fun multipleSources() { val upstream = Buffer() upstream.writeUtf8("abcdefghijklm") val relay = edit(file, upstream, metadata, 1024) val source1 = relay.newSource()!!.buffer() val source2 = relay.newSource()!!.buffer()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 8.1K bytes - Viewed (0)