- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 115 for IndexOutOfBoundsException (0.2 seconds)
-
guava-tests/test/com/google/common/hash/HashTestUtils.java
Assert.fail(); } catch (IndexOutOfBoundsException expected) { } try { hashFunction.hashBytes(new byte[128], 64, 256 /* too long len */); Assert.fail(); } catch (IndexOutOfBoundsException expected) { } try { hashFunction.hashBytes(new byte[64], 0, -1); Assert.fail(); } catch (IndexOutOfBoundsException expected) { } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 25.6K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 10.8K bytes - Click Count (0) -
android/guava/src/com/google/common/net/PercentEscaper.java
} /** Escapes the given Unicode code point in UTF-8. */ @Override protected char @Nullable [] escape(int cp) { // We should never get negative values here but if we do it will throw an // IndexOutOfBoundsException, so at least it will get spotted. if (cp < safeOctets.length && safeOctets[cp]) { return null; } else if (cp == ' ' && plusForSpace) { return plusSign; } else if (cp <= 0x7F) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 8.6K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Booleans.java
* exclusive. This is equivalent to {@code * Collections.reverse(Booleans.asList(array).subList(fromIndex, toIndex))}, but is likely to be * more efficient. * * @throws IndexOutOfBoundsException if {@code fromIndex < 0}, {@code toIndex > array.length}, or * {@code toIndex > fromIndex} * @since 23.1 */ public static void reverse(boolean[] array, int fromIndex, int toIndex) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Sep 25 15:01:23 GMT 2025 - 20.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jul 18 17:30:19 GMT 2025 - 11.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/FluentIterableTest.java
} public void testGet_outOfBounds() { assertThrows( IndexOutOfBoundsException.class, () -> FluentIterable.from(Lists.newArrayList("a", "b", "c")).get(-1)); assertThrows( IndexOutOfBoundsException.class, () -> FluentIterable.from(Lists.newArrayList("a", "b", "c")).get(3)); } /*
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 31.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java
} catch (Exception e) { // Expected - empty command list should cause exception assertTrue(e instanceof JobProcessingException || e instanceof IndexOutOfBoundsException); } } @Test public void test_nullCallback() { String sessionId = "test_null_callback"; List<String> cmdList = Arrays.asList("echo", "hello");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 16K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Chars.java
* exclusive. This is equivalent to {@code * Collections.reverse(Chars.asList(array).subList(fromIndex, toIndex))}, but is likely to be more * efficient. * * @throws IndexOutOfBoundsException if {@code fromIndex < 0}, {@code toIndex > array.length}, or * {@code toIndex > fromIndex} * @since 23.1 */ public static void reverse(char[] array, int fromIndex, int toIndex) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
assertCannotCancel(future); } private static void assertCannotSet(AbstractFuture<@Nullable Integer> future) { assertThat(future.set(99)).isFalse(); assertThat(future.setException(new IndexOutOfBoundsException())).isFalse(); assertThat(future.setFuture(new AbstractFuture<Integer>() {})).isFalse(); assertThat(future.setFuture(immediateFuture(99))).isFalse(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 16.3K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Shorts.java
* exclusive. This is equivalent to {@code * Collections.reverse(Shorts.asList(array).subList(fromIndex, toIndex))}, but is likely to be * more efficient. * * @throws IndexOutOfBoundsException if {@code fromIndex < 0}, {@code toIndex > array.length}, or * {@code toIndex > fromIndex} * @since 23.1 */ public static void reverse(short[] array, int fromIndex, int toIndex) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 25.7K bytes - Click Count (0)