- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 165 for detection (0.26 sec)
-
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
} }, /** * Disables cycle detection. This option causes the factory to return unmodified lock * implementations provided by the JDK, and is provided to allow applications to easily * parameterize when cycle detection is enabled. * * <p>Note that locks created by a factory with this policy will not participate the * cycle detection performed by locks created by other factories. */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Dec 15 19:31:54 GMT 2023 - 35.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
assertSame(firstException.getCause(), expected.getCause()); // lockA should work after lockB is released. lockB.unlock(); lockA.lock(); } // Tests transitive deadlock detection. public void testDeadlock_threeLocks() { // Establish an ordering from lockA -> lockB. lockA.lock(); lockB.lock(); lockB.unlock(); lockA.unlock();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 16.1K bytes - Viewed (1) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
} public void testSetIndirectSelf_toString() { final SettableFuture<Object> orig = SettableFuture.create(); // unlike the above this indirection defeats the trivial cycle detection and causes a SOE orig.setFuture( new ForwardingListenableFuture<Object>() { @Override protected ListenableFuture<Object> delegate() { return orig; }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 46.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
assertSame(firstException.getCause(), expected.getCause()); // lockA should work after lockB is released. lockB.unlock(); lockA.lock(); } // Tests transitive deadlock detection. public void testDeadlock_threeLocks() { // Establish an ordering from lockA -> lockB. lockA.lock(); lockB.lock(); lockB.unlock(); lockA.unlock();
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 16.1K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
rootLocaleFormat("%s must be annotated with @TesterAnnotation.", annotationClass), annotationClass.getAnnotation(TesterAnnotation.class)); final Retention retentionPolicy = annotationClass.getAnnotation(Retention.class); assertNotNull( rootLocaleFormat("%s must have a @Retention annotation.", annotationClass), retentionPolicy); assertEquals( rootLocaleFormat("%s must have RUNTIME RetentionPolicy.", annotationClass),
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/GwtTransient.java
import java.lang.annotation.Documented; import java.lang.annotation.Retention; import java.lang.annotation.Target; /** * Private replacement for {@link com.google.gwt.user.client.rpc.GwtTransient} to work around * build-system quirks. This annotation should be used <b>only</b> in {@code * com.google.common.collect}. */ @Documented @GwtCompatible @Retention(RUNTIME) @Target(FIELD) @ElementTypesAreNonnullByDefault
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Aug 05 00:40:25 GMT 2021 - 1.2K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java
return implied; } @Retention(RetentionPolicy.RUNTIME) @Inherited @TesterAnnotation @interface Require { ExampleDerivedFeature[] value() default {}; ExampleDerivedFeature[] absent() default {}; } } @Retention(RetentionPolicy.RUNTIME) @interface NonTesterAnnotation {}
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 10.4K bytes - Viewed (2) -
android/guava/src/com/google/common/collect/ElementTypesAreNonnullByDefault.java
import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; import com.google.common.annotations.GwtCompatible; import java.lang.annotation.Retention; import java.lang.annotation.Target; import javax.annotation.Nonnull; import javax.annotation.meta.TypeQualifierDefault; /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Aug 17 15:44:29 GMT 2021 - 1.5K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ElementTypesAreNonnullByDefault.java
import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; import com.google.common.annotations.GwtCompatible; import java.lang.annotation.Retention; import java.lang.annotation.Target; import javax.annotation.Nonnull; import javax.annotation.meta.TypeQualifierDefault; /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Aug 17 15:44:29 GMT 2021 - 1.5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ElementTypesAreNonnullByDefault.java
import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; import com.google.common.annotations.GwtCompatible; import java.lang.annotation.Retention; import java.lang.annotation.Target; import javax.annotation.Nonnull; import javax.annotation.meta.TypeQualifierDefault; /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Aug 17 15:44:29 GMT 2021 - 1.5K bytes - Viewed (0)