Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for AggregateFutureState (0.3 sec)

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

        /** Performs an atomic compare-and-set of {@link AggregateFutureState#seenExceptionsField}. */
        abstract void compareAndSetSeenExceptions(
            AggregateFutureState<?> state, @Nullable Set<Throwable> expect, Set<Throwable> update);
    
        /** Performs an atomic decrement-and-get of {@link AggregateFutureState#remainingField}. */
        abstract int decrementAndGetRemainingCount(AggregateFutureState<?> state);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AggregateFutureState.java

    package com.google.common.util.concurrent;
    
    import static com.google.common.collect.Sets.newHashSet;
    
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /** Emulation of AggregateFutureState. */
    abstract class AggregateFutureState<OutputT extends @Nullable Object>
        extends AbstractFuture.TrustedFuture<OutputT> {
      // Lazily initialized the first time we see an exception; not released until all the input futures
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateDefaultAtomicHelperTest.java

    package com.google.common.util.concurrent;
    
    import static com.google.common.truth.Truth.assertThat;
    
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests that {@link AggregateFutureState} uses the expected {@code AtomicHelper} implementation.
     *
     * <p>We have more thorough testing of {@code AtomicHelper} implementations in {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 05 15:44:19 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

    /**
     * Tests our AtomicHelper fallback strategy in AggregateFutureState.
     *
     * <p>On different platforms AggregateFutureState uses different strategies for its core
     * synchronization primitives. The strategies are all implemented as subtypes of AtomicHelper and
     * the strategy is selected in the static initializer of AggregateFutureState. This is convenient
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

         *
         * SynchronizedHelper also ends up getting used under the JVM during
         * AggregateFutureStateFallbackAtomicHelperTest, as discussed in a comment in
         * AggregateFutureState.
         *
         * Here, we check that we're able to force AbstractFutureState to select SynchronizedHelper, and
         * below, we actually run the AbstractFutureTest methods under that scenario.
         */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top