Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for B1 (0.17 sec)

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

        ByteSource b1 = ByteSource.wrap(new byte[] {0, 1, 2, 3});
        ByteSource b2 = ByteSource.wrap(new byte[0]);
        ByteSource b3 = ByteSource.wrap(new byte[] {4, 5});
    
        byte[] expected = {0, 1, 2, 3, 4, 5};
    
        assertArrayEquals(expected, ByteSource.concat(ImmutableList.of(b1, b2, b3)).read());
        assertArrayEquals(expected, ByteSource.concat(b1, b2, b3).read());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/ByteSourceTest.java

        ByteSource b1 = ByteSource.wrap(new byte[] {0, 1, 2, 3});
        ByteSource b2 = ByteSource.wrap(new byte[0]);
        ByteSource b3 = ByteSource.wrap(new byte[] {4, 5});
    
        byte[] expected = {0, 1, 2, 3, 4, 5};
    
        assertArrayEquals(expected, ByteSource.concat(ImmutableList.of(b1, b2, b3)).read());
        assertArrayEquals(expected, ByteSource.concat(b1, b2, b3).read());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
Back to top