Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,236 for checked (0.27 sec)

  1. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

      // next() both start by invoking hasNext() anyway.
    
      /** Throws an undeclared checked exception. */
      private static void sneakyThrow(Throwable t) {
        class SneakyThrower<T extends Throwable> {
          @SuppressWarnings("unchecked") // not really safe, but that's the point
          void throwIt(Throwable t) throws T {
            throw (T) t;
          }
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  2. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

                    return null;
                }
                return (int) longValue;
            } catch (NumberFormatException e) {
                // should never happen since checked isDigits(s) before
                return null;
            }
        }
    
        @Override
        public String toString() {
            return comparable.toString();
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Nov 17 15:50:51 GMT 2023
    - 6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractCatchingFuture.java

    import java.util.concurrent.Executor;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Implementations of {@code Futures.catching*}. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    @SuppressWarnings("nullness") // TODO(b/147136275): Remove once our checker understands & and |.
    abstract class AbstractCatchingFuture<
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Platform.java

       * - https://github.com/jspecify/jdk/commit/71d826792b8c7ef95d492c50a274deab938f2552
       */
      /*
       * TODO(cpovirk): Is the unchecked cast avoidable? Would System.arraycopy be similarly fast (if
       * likewise not type-checked)? Could our single caller do something different?
       */
      @SuppressWarnings({"nullness", "unchecked"})
      static <T extends @Nullable Object> T[] copy(Object[] source, int from, int to, T[] arrayOfType) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java

    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link AbstractLoadingCache}.
     *
     * @author Charles Fry
     */
    public class AbstractLoadingCacheTest extends TestCase {
    
      public void testGetUnchecked_checked() {
        final Exception cause = new Exception();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

                  newUpdater(AggregateFutureState.class, Set.class, "seenExceptions"),
                  newUpdater(AggregateFutureState.class, "remaining"));
        } catch (Throwable reflectionFailure) { // sneaky checked exception
          // Some Android 5.0.x Samsung devices have bugs in JDK reflection APIs that cause
          // getDeclaredField to throw a NoSuchFieldException when the field is definitely there.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

                     */
                    getUninterruptibly(delegate);
                  } catch (Throwable t) {
                    // (including CancellationException and sneaky checked exception)
                    // The task is presumably done, run the listeners.
                    // TODO(cpovirk): Do *something* in case of Error (and maybe
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  8. .cm/estimated_time_to_review.cm

    # can also use the constant `true` if you want to always run the actions.
    
    # Each automation is independent of the others.  Every time one of the `on` conditions match for
    # this PR, this automations will have its `if` checked to run.  In a way, the `on` conditions
    # function as an implicit first `if` for every automation in the file.
    
    # You can define multiple automations in a .cm file, but each automation name should be unique
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 2K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/ProjectModelResolver.java

                        && versionRangeResult.getVersionConstraint().getRange() != null
                        && versionRangeResult.getVersionConstraint().getRange().getUpperBound() == null) {
                    // Message below is checked for in the MNG-2199 core IT.
                    throw new UnresolvableModelException(
                            String.format(
                                    "The requested parent version range '%s' does not specify an upper bound",
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/callback_windows.go

    		t.Skip("skipping for non-gc toolchain")
    	}
    	if runtime.GOARCH != "amd64" {
    		// TODO: support SEH on other architectures.
    		t.Skip("skipping on non-amd64")
    	}
    	// Only frames in the test package are checked.
    	want := []string{
    		"test._Cfunc_backtrace",
    		"test.testCallbackCallersSEH.func1.1",
    		"test.testCallbackCallersSEH.func1",
    		"test.goCallback",
    		"test._Cfunc_callback",
    		"test.nestedCall.func1",
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Nov 29 16:01:37 GMT 2023
    - 2.6K bytes
    - Viewed (0)
Back to top