Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for AbstractFutureState (1.63 sec)

  1. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFutureState.java

    import com.google.common.util.concurrent.AbstractFuture.Listener;
    import com.google.common.util.concurrent.internal.InternalFutureFailureAccess;
    import org.jspecify.annotations.Nullable;
    
    abstract class AbstractFutureState<V extends @Nullable Object> extends InternalFutureFailureAccess
        implements ListenableFuture<V> {
      final boolean casListeners(@Nullable Listener expect, Listener update) {
        if (listeners == expect) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Feb 21 02:38:37 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureDefaultAtomicHelperTest.java

    public class AbstractFutureDefaultAtomicHelperTest extends TestCase {
      public void testUsingExpectedAtomicHelper() throws Exception {
        if (isAndroid()) {
          assertThat(AbstractFutureState.atomicHelperTypeForTest()).isEqualTo("UnsafeAtomicHelper");
        } else {
          assertThat(AbstractFutureState.atomicHelperTypeForTest())
              .isEqualTo("AtomicReferenceFieldUpdaterAtomicHelper");
        }
      }
    
      private static boolean isJava8() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 13:08:45 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

         * 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.
         */
        checkHelperVersion(NO_ATOMIC_REFERENCE_FIELD_UPDATER, "SynchronizedHelper");
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

          throws Exception {
        // Make sure we are actually running with the expected helper implementation
        Class<?> abstractFutureStateClass = classLoader.loadClass(AbstractFutureState.class.getName());
        Method helperMethod = abstractFutureStateClass.getDeclaredMethod("atomicHelperTypeForTest");
        helperMethod.setAccessible(true);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

        extends AbstractFuture.TrustedFuture<OutputT> {
      /*
       * The following fields are package-private, even though we intend never to use them outside this
       * file. For discussion, see AbstractFutureState.
       */
    
      // Lazily initialized the first time we see an exception; not released until all the input futures
      // have completed and we have processed them all.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top