- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Distinct (0.03 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
assertThat((response1.receivedResponseAtMillis - t0).toDouble()).isCloseTo(0.0, 250.0) // A conditional cache hit updates the cache. Thread.sleep(500) // Make sure t0 and t1 are distinct. val t1 = System.currentTimeMillis() val response2 = get(server.url("/a")) assertThat(response2.code).isEqualTo(HttpURLConnection.HTTP_OK) assertThat(response2.body.string()).isEqualTo("A")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 113.6K bytes - Viewed (0)