Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for fghi (0.03 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        peer.acceptFrame() // HEADERS STREAM 3
        peer.sendFrame().windowUpdate(3, 5)
        peer.acceptFrame() // DATA STREAM 3 "abcde"
        peer.sendFrame().windowUpdate(3, 5)
        peer.acceptFrame() // DATA STREAM 3 "fghi"
        peer.play()
    
        // Play it back.
        val connection = connect(peer)
        connection.writePingAndAwaitPong() // Ensure the SETTINGS have been received.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Ints.java

        //     Say we are rotating abcdefgh by 5. We start with abcde|fgh. The smaller block is [fgh]:
        //     [abc]de|[fgh] -> [fgh]de|[abc]. Now [fgh] is in the right place, but we need to swap [de]
        //     with [abc]: fgh[de]|a[bc] -> fgh[bc]|a[de]. Now we need to swap [a] with [bc]:
        //     fgh[b]c|[a]de -> fgh[a]c|[b]de. Finally we need to swap [c] with [b]:
        //     fgha[c]|[b]de -> fgha[b]|[c]de. Because these two blocks are the same size, we are done.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache2/RelayTest.kt

        assertThat(source1.readUtf8(5)).isEqualTo("abcde")
        assertThat(source2.readUtf8(5)).isEqualTo("abcde")
        assertThat(source2.readUtf8(5)).isEqualTo("fghij")
        assertThat(source1.readUtf8(5)).isEqualTo("fghij")
        assertThat(source1.exhausted()).isTrue()
        assertThat(source2.exhausted()).isTrue()
        source1.close()
        source2.close()
        assertThat(relay.isClosed).isTrue()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        response.body.close()
      }
    
      @ParameterizedTest
      @ArgumentsSource(ProtocolParamProvider::class)
      fun noDefaultContentLengthOnStreamingPost(protocol: Protocol) {
        setUp(protocol)
        val postBytes = "FGHIJ".toByteArray()
        server.enqueue(MockResponse(body = "ABCDE"))
        val call =
          client.newCall(
            Request(
              url = server.url("/foo"),
              body =
                object : RequestBody() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/MultiReaderTest.java

          @Override
          public Reader openStream() {
            return new StringReader(text);
          }
        };
      }
    
      public void testSkip() throws Exception {
        String begin = "abcde";
        String end = "fghij";
        Reader joinedReader = CharSource.concat(newCharSource(begin), newCharSource(end)).openStream();
    
        String expected = begin + end;
        assertEquals(expected.charAt(0), joinedReader.read());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt

            .Builder()
            .add("abc", "def")
            .build()
            .byteCount(),
        ).isEqualTo(10L)
        assertThat(
          Headers
            .Builder()
            .add("abc", "def")
            .add("ghi", "jkl")
            .build()
            .byteCount(),
        ).isEqualTo(20L)
      }
    
      @Test fun addDate() {
        val expected = Date(0L)
        val headers =
          Headers
            .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        server.enqueue(MockResponse(body = "abc"))
        server.enqueue(MockResponse(body = "def"))
        server.enqueue(MockResponse(body = "ghi"))
        executeSynchronously("/a").assertBody("abc")
        executeSynchronously("/b").assertBody("def")
        executeSynchronously("/c").assertBody("ghi")
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(0)
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(1)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        server.enqueue(MockResponse(body = "ABC"))
        server.enqueue(MockResponse(body = "DEF"))
        server.enqueue(MockResponse(body = "GHI"))
        assertContent("ABC", getResponse(newRequest("/")))
        assertContent("DEF", getResponse(newRequest("/")))
        assertContent("GHI", getResponse(newRequest("/")))
        assertThat(hostnameVerifier.calls)
          .isEqualTo(listOf("verify " + server.hostName))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

          expectedResponseCode = 200
          server.enqueue(
            MockResponse
              .Builder()
              .setHeader("Cache-Control", "no-store")
              .body("FGHIJ")
              .build(),
          )
        }
        server.start()
        val request =
          Request
            .Builder()
            .url(server.url("/"))
            .method(method, null)
            .build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
Back to top