Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 22 of 22 for Stuart (0.18 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        val socket = peer.openSocket()
        val connection =
          Http2Connection.Builder(true, TaskRunner.INSTANCE)
            .socket(socket)
            .pushObserver(IGNORE)
            .build()
        connection.start(sendConnectionPreface = false)
        socket.shutdownOutput()
        assertFailsWith<IOException> {
          connection.newStream(headerEntries("a", longString), false)
        }
        assertFailsWith<IOException> {
    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)
  2. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

          taskFaker.sleep(100.µs)
          log += "red:finishing@${taskFaker.nanoTime}"
        }
        assertThat(taskFaker.executeCallCount).isEqualTo(1)
    
        // Enqueueing the blue task doesn't start a thread because the red one is still starting.
        blueQueue.execute("blue task") {
          log += "blue:starting@${taskFaker.nanoTime}"
          taskFaker.sleep(100.µs)
          log += "blue:finishing@${taskFaker.nanoTime}"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 23K bytes
    - Viewed (0)
Back to top