- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testSlice (0.12 seconds)
-
guava-tests/test/com/google/common/io/ByteSourceTest.java
byte[] copy = bytes.clone(); copy[9876] = 1; ByteSource oneByteOff = new TestByteSource(copy); assertFalse(source.contentEquals(oneByteOff)); } public void testSlice() throws IOException { // Test preconditions assertThrows(IllegalArgumentException.class, () -> source.slice(-1, 10)); assertThrows(IllegalArgumentException.class, () -> source.slice(0, -1));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 15.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ByteSourceTest.java
byte[] copy = bytes.clone(); copy[9876] = 1; ByteSource oneByteOff = new TestByteSource(copy); assertFalse(source.contentEquals(oneByteOff)); } public void testSlice() throws IOException { // Test preconditions assertThrows(IllegalArgumentException.class, () -> source.slice(-1, 10)); assertThrows(IllegalArgumentException.class, () -> source.slice(0, -1));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 15.6K bytes - Click Count (0)