- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for system (0.18 sec)
-
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
val call = client.newCall(Request(server.url("/"))) val executeAtNanos = System.nanoTime() assertFailsWith<StreamResetException> { call.execute() }.also { expected -> assertThat(expected.message).isEqualTo( "stream was reset: PROTOCOL_ERROR", ) } val elapsedUntilFailure = System.nanoTime() - executeAtNanos
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 11 22:09:35 GMT 2024 - 75.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
import org.junit.jupiter.params.provider.ArgumentsSource class FileSystemParamProvider : SimpleProvider() { override fun arguments() = listOf( FakeFileSystem().apply { emulateUnix() } to false, FileSystem.SYSTEM to TestUtil.windows, FakeFileSystem().apply { emulateWindows() } to true, ) } @Timeout(60) @Tag("Slow") class DiskLruCacheTest { private lateinit var filesystem: FaultyFileSystem
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/api/okhttp.api
public final fun setMaxRequestsPerHost (I)V } public abstract interface class okhttp3/Dns { public static final field Companion Lokhttp3/Dns$Companion; public static final field SYSTEM Lokhttp3/Dns; public abstract fun lookup (Ljava/lang/String;)Ljava/util/List; } public final class okhttp3/Dns$Companion { } public abstract class okhttp3/EventListener {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:41:01 GMT 2024 - 70.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
peer.sendFrame().ping(true, Http2Connection.AWAIT_PING, 5) peer.play() // Play it back. val connection = connect(peer) val pingAtNanos = System.nanoTime() connection.writePingAndAwaitPong() val elapsedNanos = System.nanoTime() - pingAtNanos assertThat(elapsedNanos).isGreaterThan(0L) assertThat(elapsedNanos).isLessThan(TimeUnit.SECONDS.toNanos(1))
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)