- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Present (0.15 sec)
-
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
// The in-flight editor can still write after a trim failure. inFlightEditor.setString(0, "cc") inFlightEditor.setString(1, "cc") inFlightEditor.commit() // Confirm the committed values are present after a successful cache trim. filesystem.setFaultyDelete(cacheDir / "a.0", false) taskFaker.runNextTask() assertValue("c", "cc", "cc") } @ParameterizedTest
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) -
okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt
fun addInterceptor(interceptor: Interceptor) = apply { interceptors += interceptor } @JvmName("-addInterceptor") // Prefix with '-' to prevent ambiguous overloads from Java. inline fun addInterceptor(crossinline block: (chain: Interceptor.Chain) -> Response) = addInterceptor(Interceptor { chain -> block(chain) }) /**
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:21:33 GMT 2024 - 52K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
assertThat(synStream.associatedStreamId).isEqualTo(-1) assertThat(synStream.headerBlock).isEqualTo(headerEntries("a", "artichaut")) } /** A server RST_STREAM shouldn't prevent the client from consuming the response body. */ @Test fun serverResponseBodyRstStream() { // Write the mocking script. peer.sendFrame().settings(Settings()) peer.acceptFrame() // ACK
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 75.4K bytes - Viewed (0)