Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

            "expected IllegalArgumentException for call to slice with length -1: " + source,
            IllegalArgumentException.class,
            () -> source.slice(0, -1));
      }
    
      // Test that you can not expand the readable data in a previously sliced ByteSource.
      public void testSlice_constrainedRange() throws IOException {
        long size = source.read().length;
        if (size >= 2) {
          ByteSource sliced = source.slice(1, size - 2);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/ByteSourceTester.java

            "expected IllegalArgumentException for call to slice with length -1: " + source,
            IllegalArgumentException.class,
            () -> source.slice(0, -1));
      }
    
      // Test that you can not expand the readable data in a previously sliced ByteSource.
      public void testSlice_constrainedRange() throws IOException {
        long size = source.read().length;
        if (size >= 2) {
          ByteSource sliced = source.slice(1, size - 2);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.6K bytes
    - Viewed (0)
Back to top