Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for attempt (0.28 sec)

  1. android/guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java

    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeUnit;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A TimeLimiter implementation which actually does not attempt to limit time at all. This may be
     * desirable to use in some unit tests. More importantly, attempting to debug a call which is
     * time-limited would be extremely annoying, so this gives you a time-limiter you can easily swap in
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

          if (run) {
            result = runInterruptibly();
          }
        } catch (Throwable t) {
          restoreInterruptIfIsInterruptedException(t);
          error = t;
        } finally {
          // Attempt to set the task as done so that further attempts to interrupt will fail.
          if (!compareAndSet(currentThread, DONE)) {
            waitForInterrupt(currentThread);
          }
          if (run) {
            if (error == null) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Sep 29 21:34:48 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     * be clearly documented.
     *
     * <p>Note that although your APIs should be liberal in what they accept, your methods which
     * <i>return</i> iterables should make every attempt to return ones of the robust variety.
     *
     * <p>This testing utility is not thread-safe.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RangeMap.java

       * for {@code asMapOfRanges().iterator().remove()}.
       *
       * <p>The returned range map will throw an {@link IllegalArgumentException} on an attempt to
       * insert a range not {@linkplain Range#encloses(Range) enclosed} by {@code range}.
       */
      // TODO(cpovirk): Consider documenting that IAE on the various methods that can throw it.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

       *
       * <p>The returned {@code Future} attempts to keep its cancellation state in sync with that of the
       * input future and that of the future returned by the chain function. That is, if the returned
       * {@code Future} is cancelled, it will attempt to cancel the other two, and if either of the
       * other two is cancelled, the returned {@code Future} will receive a callback in which it will
       * attempt to cancel itself.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/Closer.java

     *       will be thrown.
     *   <li>If no exceptions or errors were thrown in the try block, the <i>first</i> exception thrown
     *       by an attempt to close a resource will be thrown.
     *   <li>Any exception caught when attempting to close a resource that is <i>not</i> thrown (because
     *       another exception is already being thrown) is <i>suppressed</i>.
     * </ul>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/BiMap.java

      /**
       * {@inheritDoc}
       *
       * <p><b>Warning:</b> the results of calling this method may vary depending on the iteration order
       * of {@code map}.
       *
       * @throws IllegalArgumentException if an attempt to {@code put} any entry fails. Note that some
       *     map entries may have been added to the bimap before the exception was thrown.
       */
      @Override
      void putAll(Map<? extends K, ? extends V> map);
    
      // Views
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/prefix/internal/DefaultPluginPrefixResolver.java

            if (result != null) {
                return result;
            }
    
            // second try, refetch all (possibly outdated) metadata that wasn't updated in the first attempt
    
            if (!request.getRepositorySession().isOffline() && !requests.isEmpty()) {
                DefaultRepositorySystemSession session = new DefaultRepositorySystemSession(request.getRepositorySession());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     * be clearly documented.
     *
     * <p>Note that although your APIs should be liberal in what they accept, your methods which
     * <i>return</i> iterables should make every attempt to return ones of the robust variety.
     *
     * <p>This testing utility is not thread-safe.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/BiMap.java

      /**
       * {@inheritDoc}
       *
       * <p><b>Warning:</b> the results of calling this method may vary depending on the iteration order
       * of {@code map}.
       *
       * @throws IllegalArgumentException if an attempt to {@code put} any entry fails. Note that some
       *     map entries may have been added to the bimap before the exception was thrown.
       */
      @Override
      void putAll(Map<? extends K, ? extends V> map);
    
      // Views
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 4.3K bytes
    - Viewed (0)
Back to top