Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for fghijklm (0.06 sec)

  1. okhttp/src/test/java/okhttp3/internal/cache2/RelayTest.kt

        assertThat(source!!.read(sourceBuffer, 5)).isEqualTo(5)
        assertThat(sourceBuffer.readUtf8()).isEqualTo("abcde")
        assertThat(source.read(sourceBuffer, 1024)).isEqualTo(8)
        assertThat(sourceBuffer.readUtf8()).isEqualTo("fghijklm")
        assertThat(source.read(sourceBuffer, 1024)).isEqualTo(-1)
        assertThat(sourceBuffer.size).isEqualTo(0)
        source.close()
        assertThat(relay.isClosed).isTrue()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. src/archive/zip/zip_test.go

    	ss.Write([]byte("abc"))
    	if got := string(ss.Suffix()); got != "abc" {
    		t.Errorf("got = %q; want abc", got)
    	}
    	ss.Write([]byte("defghijklmno"))
    	if got := string(ss.Suffix()); got != "fghijklmno" {
    		t.Errorf("got = %q; want fghijklmno", got)
    	}
    	if got, want := ss.Size(), int64(len("abc")+len("defghijklmno")); got != want {
    		t.Errorf("Size = %d; want %d", got, want)
    	}
    	buf := make([]byte, ss.Size())
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  3. 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)
  4. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

      fun connectionReuse(
        protocol: Protocol,
        mockWebServer: MockWebServer,
      ) {
        setUp(protocol, mockWebServer)
        server.enqueue(MockResponse(body = "ABCDEF"))
        server.enqueue(MockResponse(body = "GHIJKL"))
        val call1 = client.newCall(Request(server.url("/r1")))
        val call2 = client.newCall(Request(server.url("/r1")))
        val response1 = call1.execute()
        val response2 = call2.execute()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
Back to top