- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 97 for failures (0.17 sec)
-
guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
.isTrue(); if (!failures.isEmpty()) { StringWriter message = new StringWriter(); PrintWriter writer = new PrintWriter(message); writer.println("Expected no failures, but found:"); for (AssertionError failure : failures) { failure.printStackTrace(writer); } failures.clear(); assertWithMessage(message.toString()).fail(); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 75.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
.isTrue(); if (!failures.isEmpty()) { StringWriter message = new StringWriter(); PrintWriter writer = new PrintWriter(message); writer.println("Expected no failures, but found:"); for (AssertionError failure : failures) { failure.printStackTrace(writer); } failures.clear(); assertWithMessage(message.toString()).fail(); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 74.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
private void handleException(Throwable throwable) { checkNotNull(throwable); if (allMustSucceed) { // As soon as the first one fails, make that failure the result of the output future. // The results of all other inputs are then ignored (except for logging any failures). boolean completedWithFailure = setException(throwable); if (!completedWithFailure) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 01 21:46:34 GMT 2024 - 15.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java
import java.lang.reflect.Type; import java.util.List; import java.util.Map; import junit.framework.TestCase; /** * Unit tests of {@link TypeResolver}. * * @author Ben Yu */ @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations? public class TypeResolverTest extends TestCase { public void testWhere_noMapping() { Type t = aTypeVariable();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 9.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypesTest.java
import java.util.List; import java.util.Map; import java.util.Map.Entry; import junit.framework.TestCase; /** * Tests for {@link Types}. * * @author Ben Yu */ @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations? public class TypesTest extends TestCase { public void testNewParameterizedType_ownerTypeImplied() throws Exception { ParameterizedType jvmType =
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 14.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
import static org.junit.Assert.assertThrows; import java.io.Serializable; import java.util.Comparator; import java.util.List; import junit.framework.TestCase; @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations? public class TypeTokenSubtypeTest extends TestCase { public void testOwnerTypeSubtypes() throws Exception { new OwnerTypeSubtypingTests().testAllDeclarations();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 20.3K bytes - Viewed (0) -
guava/src/com/google/common/cache/Striped64.java
* slots that eliminates collisions. When we reach capacity, we * search for this mapping by randomly varying the hash codes of * colliding threads. Because search is random, and collisions * only become known via CAS failures, convergence can be slow, * and because threads are typically not bound to CPUS forever, * may not occur at all. However, despite these limitations, * observed contention rates are typically low in these cases. *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 11.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
private final AtomicReference<Throwable> threadFailure = new AtomicReference<>(null); /** * Records an exception so that it can be rethrown later in the test harness thread, triggering a * test case failure. Only the first failure is recorded; subsequent calls to this method from * within the same test have no effect. */ public void threadRecordFailure(Throwable t) { threadFailure.compareAndSet(null, t); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 37.7K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/Striped64.java
* slots that eliminates collisions. When we reach capacity, we * search for this mapping by randomly varying the hash codes of * colliding threads. Because search is random, and collisions * only become known via CAS failures, convergence can be slow, * and because threads are typically not bound to CPUS forever, * may not occur at all. However, despite these limitations, * observed contention rates are typically low in these cases. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 11.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeResolverTest.java
import java.lang.reflect.Type; import java.util.List; import java.util.Map; import junit.framework.TestCase; /** * Unit tests of {@link TypeResolver}. * * @author Ben Yu */ @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations? public class TypeResolverTest extends TestCase { public void testWhere_noMapping() { Type t = aTypeVariable();
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 9.7K bytes - Viewed (0)