Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newNonBufferFillingReader (0.28 sec)

  1. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        StringBuilder b = new StringBuilder();
        // the main assertion of this test is here... the copy will fail if the buffer size goes down
        // each time it is not filled completely
        long copied = CharStreams.copy(newNonBufferFillingReader(new StringReader(string)), b);
        assertEquals(string, b.toString());
        assertEquals(string.length(), copied);
      }
    
      public void testExhaust_reader() throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CharStreamsTest.java

        StringBuilder b = new StringBuilder();
        // the main assertion of this test is here... the copy will fail if the buffer size goes down
        // each time it is not filled completely
        long copied = CharStreams.copy(newNonBufferFillingReader(new StringReader(string)), b);
        assertEquals(string, b.toString());
        assertEquals(string.length(), copied);
      }
    
      public void testExhaust_reader() throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top