- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 269 for IllegalStateException (0.07 sec)
-
android/guava/src/com/google/common/collect/ForwardingNavigableMap.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 14.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingNavigableMap.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 14.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
* immediately calling {@code remove()} on that iterator, as the {@code Iterator} contract states * that a call to {@code remove()} before a call to {@code next()} will throw an {@link * IllegalStateException}. * * <p><b>{@code Stream} equivalent:</b> {@link Stream#skip} * * @since 3.0 */ public static <T extends @Nullable Object> Iterable<T> skip(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 43.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
val call = client.newCall(request) val response = call.execute() response.body.close() assertFailsWith<IllegalStateException> { call.execute() }.also { expected -> assertThat(expected.message).isEqualTo("Already Executed") } assertFailsWith<IllegalStateException> { call.enqueue(callback) }.also { expected -> assertThat(expected.message).isEqualTo("Already Executed")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 146.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
digest.secureWipeKey(); // Verify digest fails after wiping byte[] newData = new byte[128]; Arrays.fill(newData, (byte) 0x66); assertThrows(IllegalStateException.class, () -> { digest.sign(newData, 0, newData.length, request, response); }, "Should throw exception after key is wiped"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 18.9K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Crc32cHashFunction.java
private int crc1 = 0; private int crc2 = 0; private int crc3 = 0; @Override protected void process(ByteBuffer bb) { if (finished) { throw new IllegalStateException( "The behavior of calling any method after calling hash() is undefined."); } while (bb.remaining() >= 16) { crc0 = computeForWord(crc0); crc1 = computeForWord(crc1);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 21.2K bytes - Viewed (0) -
guava/src/com/google/common/base/Suppliers.java
@SuppressWarnings("UnnecessaryLambda") // Must be a fixed singleton object private static final Supplier<@Nullable Void> SUCCESSFULLY_COMPUTED = () -> { throw new IllegalStateException(); // Should never get called. }; private volatile Supplier<T> delegate; // "value" does not need to be volatile; visibility piggy-backs on volatile read of "delegate".
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 16.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
// We want remove() to fail even after a failed call to next(). } assertThrows(IllegalStateException.class, () -> iterator.remove()); } public void testSkip_allOfMutableList_modifiable() { List<String> list = newArrayList("a", "b"); Iterator<String> iterator = skip(list, 2).iterator(); assertThrows(IllegalStateException.class, () -> iterator.remove()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 46.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Suppliers.java
@SuppressWarnings("UnnecessaryLambda") // Must be a fixed singleton object private static final Supplier<@Nullable Void> SUCCESSFULLY_COMPUTED = () -> { throw new IllegalStateException(); // Should never get called. }; private volatile Supplier<T> delegate; // "value" does not need to be volatile; visibility piggy-backs on volatile read of "delegate".
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 16.5K bytes - Viewed (0)