Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 156 for Down (0.15 sec)

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

        for (int i = 0; i < 100000; i++) {
          SettableFuture<String> curr = SettableFuture.create();
          prev.setFuture(curr);
          prev = curr;
        }
        // orig is the 'outermost future', this should propagate fully down the stack of futures.
        orig.cancel(true);
        assertTrue(orig.isCancelled());
        assertTrue(prev.isCancelled());
        assertTrue(prev.wasInterrupted());
      }
    
      public void testSetFutureSelf_cancel() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableCollection.java

    @GwtCompatible(emulated = true)
    @SuppressWarnings("serial") // we're overriding default serialization
    @ElementTypesAreNonnullByDefault
    // TODO(kevinb): I think we should push everything down to "BaseImmutableCollection" or something,
    // just to do everything we can to emphasize the "practically an interface" nature of this class.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 18.7K bytes
    - Viewed (1)
  3. android/guava/src/com/google/common/math/DoubleMath.java

            break;
          case CEILING:
            increment = !isPowerOfTwo(x);
            break;
          case DOWN:
            increment = exponent < 0 & !isPowerOfTwo(x);
            break;
          case UP:
            increment = exponent >= 0 & !isPowerOfTwo(x);
            break;
          case HALF_DOWN:
          case HALF_EVEN:
          case HALF_UP:
            double xScaled = scaleNormalize(x);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSortedSet.java

          result.descendingSet = this;
        }
        return result;
      }
    
      // Most classes should implement this as new DescendingImmutableSortedSet<E>(this),
      // but we push down that implementation because ProGuard can't eliminate it even when it's always
      // overridden.
      @GwtIncompatible // NavigableSet
      abstract ImmutableSortedSet<E> createDescendingSet();
    
      @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

                      startUp();
                      notifyStarted();
                      // If stopAsync() is called while starting we may be in the STOPPING state in
                      // which case we should skip right down to shutdown.
                      if (isRunning()) {
                        try {
                          AbstractExecutionThreadService.this.run();
                        } catch (Throwable t) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

                  if (remainingNanos < SPIN_THRESHOLD_NANOS) {
                    // Remove the waiter, one way or another we are done parking this thread.
                    removeWaiter(node);
                    break long_wait_loop; // jump down to the busy wait loop
                  }
                }
              }
              oldHead = waiters; // re-read and loop.
            } while (oldHead != Waiter.TOMBSTONE);
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/TearDown.java

     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @FunctionalInterface
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TearDown {
      /**
       * Performs a <b>single</b> tear-down operation. See test-libraries-for-java's {@code
       * com.google.common.testing.junit3.TearDownTestCase} and {@code
       * com.google.common.testing.junit4.TearDownTestCase} for example.
       *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

     *   }
     * }
     * }</pre>
     *
     * <p>This class uses the ServiceManager's methods to start all of its services, to respond to
     * service failure and to ensure that when the JVM is shutting down all the services are stopped.
     *
     * @author Luke Sandberg
     * @since 14.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 30.5K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFluentFutureCatchingSpecialization.java

      /*
       * In the GWT versions of the methods (below), every exceptionType parameter is required to be
       * Class<Throwable>. To handle only certain kinds of exceptions under GWT, you'll need to write
       * your own instanceof tests.
       */
    
      public final FluentFuture<V> catching(
          Class<Throwable> exceptionType,
          Function<? super Throwable, ? extends V> fallback,
          Executor executor) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 08 20:30:27 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  10. guava-gwt/src/com/google/common/util/concurrent/Concurrent.gwt.xml

        have prod supersource, even if they have none. GWT is happy to ignore us
        when we specify a nonexistent path.
    
        (I hope that this workaround does not cause its own problems in the future.)
    -->
    <super-source path="super"/>
    
    <inherits name="com.google.common.annotations.Annotations" />
    <inherits name="com.google.common.base.Base" />
    <inherits name="com.google.common.collect.Collect" />
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jul 19 04:29:50 GMT 2022
    - 1.5K bytes
    - Viewed (0)
Back to top