Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 33 for bcde (0.17 sec)

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

        val response =
          MockResponse.Builder()
            .chunkedBody("ABCDE\nFGHIJ\nKLMNO\nPQR", 8)
            .build()
        server.enqueue(response)
        server.enqueue(response)
        val request = newRequest("/")
        val c1 = getResponse(request)
        assertContent("ABCDE", c1, 5)
        val c2 = getResponse(request)
        assertContent("ABCDE", c2, 5)
        c1.close()
        c2.close()
      }
    
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CharSourceTest.java

      }
    
      public void testConcat() throws IOException {
        CharSource c1 = CharSource.wrap("abc");
        CharSource c2 = CharSource.wrap("");
        CharSource c3 = CharSource.wrap("de");
    
        String expected = "abcde";
    
        assertEquals(expected, CharSource.concat(ImmutableList.of(c1, c2, c3)).read());
        assertEquals(expected, CharSource.concat(c1, c2, c3).read());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CharSourceTest.java

      }
    
      public void testConcat() throws IOException {
        CharSource c1 = CharSource.wrap("abc");
        CharSource c2 = CharSource.wrap("");
        CharSource c3 = CharSource.wrap("de");
    
        String expected = "abcde";
    
        assertEquals(expected, CharSource.concat(ImmutableList.of(c1, c2, c3)).read());
        assertEquals(expected, CharSource.concat(c1, c2, c3).read());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        peer.acceptFrame() // PING
        peer.sendFrame().ping(true, Http2Connection.AWAIT_PING, 0)
        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)
    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)
  5. okhttp/src/test/java/okhttp3/CacheTest.kt

        transferKind.setBody(mockResponse, "ABCDE\nFGHIJKLMNOPQRSTUVWXYZ", 16)
        server.enqueue(truncateViolently(mockResponse, 16).build())
        server.enqueue(
          MockResponse.Builder()
            .body("Request #2")
            .build(),
        )
        val bodySource = get(server.url("/")).body.source()
        assertThat(bodySource.readUtf8Line()).isEqualTo("ABCDE")
        bodySource.use {
          assertFailsWith<IOException> {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/CharStreamsTest.java

        assertEquals(2, CharStreams.readLines(r, conditional).intValue());
        assertEquals("ab", sb.toString());
      }
    
      public void testSkipFully_EOF() throws IOException {
        Reader reader = new StringReader("abcde");
        assertThrows(EOFException.class, () -> CharStreams.skipFully(reader, 6));
      }
    
      public void testSkipFully() throws IOException {
        String testString = "abcdef";
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        assertEquals(2, CharStreams.readLines(r, conditional).intValue());
        assertEquals("ab", sb.toString());
      }
    
      public void testSkipFully_EOF() throws IOException {
        Reader reader = new StringReader("abcde");
        assertThrows(EOFException.class, () -> CharStreams.skipFully(reader, 6));
      }
    
      public void testSkipFully() throws IOException {
        String testString = "abcdef";
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Splitter.java

        return onPatternInternal(Platform.compilePattern(separatorPattern));
      }
    
      /**
       * Returns a splitter that divides strings into pieces of the given length. For example, {@code
       * Splitter.fixedLength(2).split("abcde")} returns an iterable containing {@code ["ab", "cd",
       * "e"]}. The last piece can be smaller than {@code length} but will never be empty.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 24.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Splitter.java

        return onPatternInternal(Platform.compilePattern(separatorPattern));
      }
    
      /**
       * Returns a splitter that divides strings into pieces of the given length. For example, {@code
       * Splitter.fixedLength(2).split("abcde")} returns an iterable containing {@code ["ab", "cd",
       * "e"]}. The last piece can be smaller than {@code length} but will never be empty.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.7K bytes
    - Viewed (0)
  10. src/bytes/bytes_test.go

    	s   string
    	sep string
    	n   int
    	a   []string
    }
    
    var splittests = []SplitTest{
    	{"", "", -1, []string{}},
    	{abcd, "a", 0, nil},
    	{abcd, "", 2, []string{"a", "bcd"}},
    	{abcd, "a", -1, []string{"", "bcd"}},
    	{abcd, "z", -1, []string{"abcd"}},
    	{abcd, "", -1, []string{"a", "b", "c", "d"}},
    	{commas, ",", -1, []string{"1", "2", "3", "4"}},
    	{dots, "...", -1, []string{"1", ".2", ".3", ".4"}},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top