- Sort Score
- Num 10 results
- Language All
Results 1 - 8 of 8 for AbstractFutureState (0.16 seconds)
-
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
abstract @Nullable Waiter gasWaiters(AbstractFutureState<?> future, Waiter update); /** Performs a GAS operation on {@link AbstractFutureState#listenersField}. */ abstract @Nullable Listener gasListeners(AbstractFutureState<?> future, Listener update); /** Performs a CAS operation on {@link AbstractFutureState#valueField}. */ abstract boolean casValue(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 33.2K bytes - Click Count (0) -
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) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Feb 21 02:38:37 GMT 2025 - 1.9K bytes - Click Count (0) -
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() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 1.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureDefaultAtomicHelperTest.java
public void testUsingExpectedAtomicHelper() throws Exception { if (isJava8() || isAndroid()) { assertThat(AbstractFutureState.atomicHelperTypeForTest()).isEqualTo("UnsafeAtomicHelper"); } else { assertThat(AbstractFutureState.atomicHelperTypeForTest()).isEqualTo("VarHandleAtomicHelper"); } } private static boolean isJava8() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 1.9K bytes - Click Count (0) -
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");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.3K bytes - Click Count (0) -
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.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
*/ @ReflectionSupport(value = ReflectionSupport.Level.FULL) public abstract class AbstractFuture<V extends @Nullable Object> extends AbstractFutureState<V> { /* * All static initialization should be performed in AbstractFutureState: AbstractFutureState's * initialization may trigger logging, which may assume that AbstractFuture is initialized. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 14:39:00 GMT 2026 - 43.6K bytes - Click Count (0) -
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);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 7.4K bytes - Click Count (0)