Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for maxLength (0.17 sec)

  1. android/guava/src/com/google/common/io/ByteSource.java

          checkArgument(length >= 0, "length (%s) may not be negative", length);
          long maxLength = this.length - offset;
          return maxLength <= 0
              ? ByteSource.empty()
              : ByteSource.this.slice(this.offset + offset, Math.min(length, maxLength));
        }
    
        @Override
        public boolean isEmpty() throws IOException {
          return length == 0 || super.isEmpty();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
Back to top