Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testToByteArray_withSize_givenSizeOneSmallerThanActual (0.51 seconds)

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

        InputStream in = new ByteArrayInputStream(PRE_FILLED_100);
        byte[] b = ByteStreams.toByteArray(in, 0);
        assertThat(b).isEqualTo(PRE_FILLED_100);
      }
    
      public void testToByteArray_withSize_givenSizeOneSmallerThanActual() throws IOException {
        InputStream in = new ByteArrayInputStream(PRE_FILLED_100);
        // this results in toByteArrayInternal being called when the stream is actually exhausted
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 22K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

        InputStream in = new ByteArrayInputStream(PRE_FILLED_100);
        byte[] b = ByteStreams.toByteArray(in, 0);
        assertThat(b).isEqualTo(PRE_FILLED_100);
      }
    
      public void testToByteArray_withSize_givenSizeOneSmallerThanActual() throws IOException {
        InputStream in = new ByteArrayInputStream(PRE_FILLED_100);
        // this results in toByteArrayInternal being called when the stream is actually exhausted
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 22K bytes
    - Click Count (0)
Back to Top