- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 371 for rchecked (0.13 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
*/ protected void verify(List<E> elements) {} /** Executes the test. */ @SuppressWarnings("CatchingUnchecked") // sneaky checked exception public final void test() { try { recurse(0); } catch (Exception e) { // sneaky checked exception throw new RuntimeException(Arrays.toString(stimuli), e); } } private void recurse(int level) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 20.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** Implementations of {@code Futures.transform*}. */ @GwtCompatible @ElementTypesAreNonnullByDefault @SuppressWarnings({ // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, || "ShortCircuitBoolean", "nullness", // TODO(b/147136275): Remove once our checker understands & and |. })
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 13:13:32 UTC 2024 - 11K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
* @author George van den Driessche */ @GwtIncompatible public abstract class FeatureSpecificTestSuiteBuilder< B extends FeatureSpecificTestSuiteBuilder<B, G>, G> { @SuppressWarnings("unchecked") protected B self() { return (B) this; } // Test Data private @Nullable G subjectGenerator; // Gets run before every test. private Runnable setUp;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 10.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
*/ protected void verify(List<E> elements) {} /** Executes the test. */ @SuppressWarnings("CatchingUnchecked") // sneaky checked exception public final void test() { try { recurse(0); } catch (Exception e) { // sneaky checked exception throw new RuntimeException(Arrays.toString(stimuli), e); } } public void testForEachRemaining() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 21.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
return true; } catch (Throwable t) { // sneaky checked exception return false; } } private static <X extends Exception> X newWithCause(Class<X> exceptionClass, Throwable cause) { // getConstructors() guarantees this as long as we don't modify the array. @SuppressWarnings({"unchecked", "rawtypes"})
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:40:56 UTC 2024 - 11.9K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Invokable.java
@SuppressWarnings("CatchingUnchecked") // sneaky checked exception public final boolean trySetAccessible() { // We can't call accessibleObject.trySetAccessible since that was added in Java 9 and this code // should work on Java 8. So we emulate it this way. try { accessibleObject.setAccessible(true); return true; } catch (Exception e) { // sneaky checked exception return false; } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 19.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
* * <ul> * <li>All non-private static methods are checked such that passing null for any parameter * that's not annotated nullable should throw {@link NullPointerException}. * <li>If there is any non-private constructor or non-private static factory method declared by * {@code cls}, all non-private instance methods will be checked too using the instance
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:18:12 UTC 2024 - 32.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
return size; } @SuppressWarnings("unchecked") @Override @CheckForNull public V get(@CheckForNull Object key) { Object result = get(hashTable, alternatingKeysAndValues, size, 0, key); /* * We can't simply cast the result of `RegularImmutableMap.get` to V because of a bug in our * nullness checker (resulting from https://github.com/jspecify/checker-framework/issues/8). */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 15 22:32:14 UTC 2024 - 22.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Streams.java
} catch (Exception e) { // sneaky checked exception if (exception == null) { exception = e; } else { exception.addSuppressed(e); } } } if (exception != null) { // Normally this is a RuntimeException that doesn't need sneakyThrow. // But theoretically we could see sneaky checked exception sneakyThrow(exception); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 37.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/LinkedListMultimap.java
if (node.previousSibling == null) { // requireNonNull is safe because we checked that not *both* siblings were null. keyList.head = requireNonNull(node.nextSibling); } else { node.previousSibling.nextSibling = node.nextSibling; } if (node.nextSibling == null) { // requireNonNull is safe because we checked that not *both* siblings were null.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 13 14:11:58 UTC 2023 - 27.5K bytes - Viewed (0)