Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Expect (0.16 sec)

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

        assertThrows(EOFException.class, () -> skipHelper(101, 0, new ByteArrayInputStream(bytes)));
      }
    
      private static void skipHelper(long n, int expect, InputStream in) throws IOException {
        ByteStreams.skipFully(in, n);
        assertEquals(expect, in.read());
        in.close();
      }
    
      private static final byte[] bytes = new byte[] {0x12, 0x34, 0x56, 0x78, 0x76, 0x54, 0x32, 0x10};
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/ByteStreamsTest.java

        assertThrows(EOFException.class, () -> skipHelper(101, 0, new ByteArrayInputStream(bytes)));
      }
    
      private static void skipHelper(long n, int expect, InputStream in) throws IOException {
        ByteStreams.skipFully(in, n);
        assertEquals(expect, in.read());
        in.close();
      }
    
      private static final byte[] bytes = new byte[] {0x12, 0x34, 0x56, 0x78, 0x76, 0x54, 0x32, 0x10};
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (0)
Back to top