- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for atomicHelperTypeForTest (0.13 sec)
-
android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java
} final void clearSeenExceptions() { seenExceptionsField = null; } @VisibleForTesting static String atomicHelperTypeForTest() { return ATOMIC_HELPER.atomicHelperTypeForTest(); } private abstract static class AtomicHelper { /** Performs an atomic compare-and-set of {@link AggregateFutureState#seenExceptionsField}. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureDefaultAtomicHelperTest.java
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) -
guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateDefaultAtomicHelperTest.java
* under Android. */ @NullUnmarked public class AggregateFutureStateDefaultAtomicHelperTest extends TestCase { public void testUsingExpectedAtomicHelper() throws Exception { assertThat(AggregateFutureState.atomicHelperTypeForTest()).isEqualTo("SafeAtomicHelper"); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Apr 05 15:44:19 UTC 2025 - 1.3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractFutureState.java
// blocking. This value is what AbstractQueuedSynchronizer uses. private static final long SPIN_THRESHOLD_NANOS = 1000L; @VisibleForTesting static String atomicHelperTypeForTest() { return ATOMIC_HELPER.atomicHelperTypeForTest(); } private enum VarHandleAtomicHelperMaker { INSTANCE { /** * Implementation used by non-J2ObjC environments (aside, of course, from those that have
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 34.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
// blocking. This value is what AbstractQueuedSynchronizer uses. private static final long SPIN_THRESHOLD_NANOS = 1000L; @VisibleForTesting static String atomicHelperTypeForTest() { return ATOMIC_HELPER.atomicHelperTypeForTest(); } private abstract static class AtomicHelper { /** Non-volatile write of the thread to the {@link Waiter#thread} field. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 33.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
Class<?> abstractFutureStateClass = classLoader.loadClass(AbstractFutureState.class.getName()); Method helperMethod = abstractFutureStateClass.getDeclaredMethod("atomicHelperTypeForTest"); helperMethod.setAccessible(true); assertThat(helperMethod.invoke(null)).isEqualTo(expectedHelperClassName); } private static ClassLoader getClassLoader(Set<String> disallowedClassNames) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
Class<?> abstractFutureStateClass = classLoader.loadClass(AbstractFutureState.class.getName()); Method helperMethod = abstractFutureStateClass.getDeclaredMethod("atomicHelperTypeForTest"); helperMethod.setAccessible(true); assertThat(helperMethod.invoke(null)).isEqualTo(expectedHelperClassName); } private static ClassLoader getClassLoader(Set<String> disallowedClassNames) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 8.1K bytes - Viewed (0)