Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for CatchingUnchecked (0.09 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       *     remove()}, {@code set()}, and {@code add()} calls
       */
      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);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

         * will still be present. If the composed Executor is an ExecutorService, it can respond to
         * shutdown() by returning tasks queued on that Thread after {@link #worker} drains the queue.
         */
        @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
        private void workOnQueue() {
          boolean interruptedDuringTask = false;
          boolean hasSetRunning = false;
          try {
            while (true) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/SequentialExecutor.java

         * will still be present. If the composed Executor is an ExecutorService, it can respond to
         * shutdown() by returning tasks queued on that Thread after {@link #worker} drains the queue.
         */
        @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
        private void workOnQueue() {
          boolean interruptedDuringTask = false;
          boolean hasSetRunning = false;
          try {
            while (true) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       *     remove()}, {@code set()}, and {@code add()} calls
       */
      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);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

      AbstractTransformFuture(ListenableFuture<? extends I> inputFuture, F function) {
        this.inputFuture = checkNotNull(inputFuture);
        this.function = checkNotNull(function);
      }
    
      @Override
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      public final void run() {
        @RetainedLocalRef ListenableFuture<? extends I> localInputFuture = inputFuture;
        @RetainedLocalRef F localFunction = function;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

         * parameter, or if the constructor or factory method throws exception.
         *
         * @return this tester
         */
        @CanIgnoreReturnValue
        @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
        public FactoryMethodReturnValueTester testSerializable() throws Exception {
          for (Invokable<?, ?> factory : getFactoriesToTest()) {
            Object instance = instantiate(factory);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/reflect/Invokable.java

      public final void setAccessible(boolean flag) {
        accessibleObject.setAccessible(flag);
      }
    
      /** See {@link java.lang.reflect.AccessibleObject#trySetAccessible()}. */
      @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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Streams.java

      public static DoubleStream stream(OptionalDouble optional) {
        return optional.isPresent() ? DoubleStream.of(optional.getAsDouble()) : DoubleStream.empty();
      }
    
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      private static void closeAll(BaseStream<?, ?>[] toClose) {
        // If one of the streams throws an exception, continue closing the others, then throw the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * An implementation of {@link ExecutorService#invokeAny} for {@link ListeningExecutorService}
       * implementations.
       */
      @SuppressWarnings({
        "GoodTime", // should accept a java.time.Duration
        "CatchingUnchecked", // sneaky checked exception
        "Interruption", // We copy AbstractExecutorService.invokeAny. Maybe we shouldn't: b/227335009.
      })
      @J2ktIncompatible
      @GwtIncompatible
      @ParametricNullness
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/BloomFilter.java

       *     appear to be a BloomFilter serialized using the {@linkplain #writeTo(OutputStream)} method.
       */
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      public static <T extends @Nullable Object> BloomFilter<T> readFrom(
          InputStream in, Funnel<? super T> funnel) throws IOException {
        checkNotNull(in, "InputStream");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 26.6K bytes
    - Viewed (0)
Back to top