Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 213 for pause (0.17 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

                      }
                    }),
                executor);
    
        // Pause in step 2.
        step2Waiter.awaitStarted();
    
        // Everything should still be open.
        assertStillOpen(closeable1, closeable2, closeable3, closeable4);
    
        // Cancel step 3, resume step 2, and pause in step 4.
        assertWithMessage("step3.cancel()").that(step3.cancel(false)).isTrue();
        step2Waiter.awaitReturned();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

                      }
                    }),
                executor);
    
        // Pause in step 2.
        step2Waiter.awaitStarted();
    
        // Everything should still be open.
        assertStillOpen(closeable1, closeable2, closeable3, closeable4);
    
        // Cancel step 3, resume step 2, and pause in step 4.
        assertWithMessage("step3.cancel()").that(step3.cancel(false)).isTrue();
        step2Waiter.awaitReturned();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

            .testNulls();
      }
    
      static AssertionFailedError failureWithCause(Throwable cause, String message) {
        AssertionFailedError failure = new AssertionFailedError(message);
        failure.initCause(cause);
        return failure;
      }
    
      // This test covers a bug where an Error thrown from a callback could cause the TimeoutFuture to
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/net/MediaTypeTest.java

                MediaType.parse("text/plain; charset=UTF-8"),
                MediaType.parse("text/plain ; charset=utf-8"),
                MediaType.parse("text/plain; charset =UTF-8"),
                MediaType.parse("text/plain; charset= UTF-8"),
                MediaType.parse("text/plain; charset  =  UTF-8"),
                MediaType.parse("text/plain; charset=\tUTF-8"))
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/net/MediaTypeTest.java

                MediaType.parse("text/plain; charset=UTF-8"),
                MediaType.parse("text/plain ; charset=utf-8"),
                MediaType.parse("text/plain; charset =UTF-8"),
                MediaType.parse("text/plain; charset= UTF-8"),
                MediaType.parse("text/plain; charset  =  UTF-8"),
                MediaType.parse("text/plain; charset=\tUTF-8"))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java

       * non-nullable {@code cause}, as many users expect to find one.
       */
      public UncheckedExecutionException(@CheckForNull String message, @CheckForNull Throwable cause) {
        super(message, cause);
      }
    
      /**
       * Creates a new instance with {@code null} as its detail message and the given cause. Prefer to
       * provide a non-nullable {@code cause}, as many users expect to find one.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 17:52:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/CacheBuilderSpec.java

            valueParser.parse(spec, key, value);
          }
        }
    
        return spec;
      }
    
      /** Returns a CacheBuilderSpec that will prevent caching. */
      public static CacheBuilderSpec disableCaching() {
        // Maximum size of zero is one way to block caching
        return CacheBuilderSpec.parse("maximumSize=0");
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Aug 22 14:27:44 GMT 2022
    - 18.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

          Throwable cause, Class<X> exceptionClass) throws X {
        if (cause instanceof Error) {
          throw new ExecutionError((Error) cause);
        }
        if (cause instanceof RuntimeException) {
          throw new UncheckedExecutionException(cause);
        }
        throw newWithCause(exceptionClass, cause);
      }
    
      /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ComputationException.java

     */
    @Deprecated
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class ComputationException extends RuntimeException {
      /** Creates a new instance with the given cause. */
      public ComputationException(@CheckForNull Throwable cause) {
        super(cause);
      }
    
      private static final long serialVersionUID = 0;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Aug 04 13:28:27 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

        NPE_IAE_OR_UOE() {
          @Override
          public boolean isExpectedType(Throwable cause) {
            return cause instanceof NullPointerException
                || cause instanceof IllegalArgumentException
                || cause instanceof UnsupportedOperationException;
          }
        };
    
        public abstract boolean isExpectedType(Throwable cause);
      }
    
      private static boolean annotatedTypeExists() {
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 22.8K bytes
    - Viewed (0)
Back to top