Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for RandomAmountInputStream (0.11 seconds)

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

        assertTrue(
            source.contentEquals(
                new ByteSource() {
                  @Override
                  public InputStream openStream() throws IOException {
                    return new RandomAmountInputStream(
                        new ByteArrayInputStream(expected), new Random());
                  }
                }));
      }
    
      public void testRead_usingByteProcessor() throws IOException {
        byte[] readBytes =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/io/ByteSourceTester.java

        assertTrue(
            source.contentEquals(
                new ByteSource() {
                  @Override
                  public InputStream openStream() throws IOException {
                    return new RandomAmountInputStream(
                        new ByteArrayInputStream(expected), new Random());
                  }
                }));
      }
    
      public void testRead_usingByteProcessor() throws IOException {
        byte[] readBytes =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.6K bytes
    - Click Count (0)
Back to Top