Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for fghijk (0.17 sec)

  1. okhttp/src/test/java/okhttp3/EventListenerTest.kt

            .bodyDelay(responseBodyStartDelay, TimeUnit.MILLISECONDS)
            .throttleBody(5, responseBodyEndDelay, TimeUnit.MILLISECONDS)
            .body("fghijk")
            .build(),
        )
        call.execute().use { response ->
          assertThat(response.body.string()).isEqualTo("fghijk")
        }
    
        // Confirm the events occur when expected.
        listener.takeEvent(CallStart::class.java, 0L)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (2)
  2. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

      @ArgumentsSource(ProtocolParamProvider::class)
      fun noDefaultContentLengthOnStreamingPost(
        protocol: Protocol,
        mockWebServer: MockWebServer,
      ) {
        setUp(protocol, mockWebServer)
        val postBytes = "FGHIJ".toByteArray()
        server.enqueue(MockResponse(body = "ABCDE"))
        val call =
          client.newCall(
            Request(
              url = server.url("/foo"),
              body =
                object : RequestBody() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        val stream = connection.newStream(headerEntries("b", "banana"), true)
    
        // two outgoing writes
        val sink = stream.getSink()
        sink.write(Buffer().writeUtf8("abcde"), 5)
        sink.write(Buffer().writeUtf8("fghij"), 5)
        sink.close()
    
        // verify the peer received one incoming frame
        assertThat(peer.takeFrame().type).isEqualTo(Http2.TYPE_HEADERS)
        val data = peer.takeFrame()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  4. src/bufio/bufio_test.go

    	}
    	if _, err := buf.Read(p[0:3]); string(p[0:3]) != "def" || err != nil {
    		t.Fatalf("want %q got %q, err=%v", "def", string(p[0:3]), err)
    	}
    	if s, err := buf.Peek(4); string(s) != "ghij" || err != nil {
    		t.Fatalf("want %q got %q, err=%v", "ghij", string(s), err)
    	}
    	if _, err := buf.Read(p[0:]); string(p[0:]) != "ghijklmnop" || err != nil {
    		t.Fatalf("want %q got %q, err=%v", "ghijklmnop", string(p[0:minReadBufferSize]), err)
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
Back to top