- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for TestLimit (0.06 seconds)
-
guava-tests/test/com/google/common/io/ByteStreamsTest.java
assertThrows(IndexOutOfBoundsException.class, () -> nos.write(tenBytes, 9, 2)); assertThrows(IndexOutOfBoundsException.class, () -> nos.write(tenBytes, 9, 100)); } public void testLimit() throws Exception { byte[] big = newPreFilledByteArray(5); InputStream bin = new ByteArrayInputStream(big); InputStream lin = ByteStreams.limit(bin, 2); // also test available lin.mark(2);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 22K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ByteStreamsTest.java
assertThrows(IndexOutOfBoundsException.class, () -> nos.write(tenBytes, 9, 2)); assertThrows(IndexOutOfBoundsException.class, () -> nos.write(tenBytes, 9, 100)); } public void testLimit() throws Exception { byte[] big = newPreFilledByteArray(5); InputStream bin = new ByteArrayInputStream(big); InputStream lin = ByteStreams.limit(bin, 2); // also test available lin.mark(2);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 22K bytes - Click Count (0)