- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 314 for helper (0.15 sec)
-
android/guava-tests/test/com/google/common/math/IntMathTest.java
} } } /** Helper method that asserts the arithmetic mean of x and y is equal to the expectedMean. */ private static void assertMean(int expectedMean, int x, int y) { assertEquals( "The expectedMean should be the same as computeMeanSafely", expectedMean, computeMeanSafely(x, y)); assertMean(x, y); } /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 24.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/LongMathTest.java
} } } /** Helper method that asserts the arithmetic mean of x and y is equal to the expectedMean. */ private static void assertMean(long expectedMean, long x, long y) { assertEquals( "The expectedMean should be the same as computeMeanSafely", expectedMean, computeMeanSafely(x, y)); assertMean(x, y); } /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 04 20:15:57 GMT 2024 - 32.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/GcFinalization.java
* }); * }</pre> * * <p>Even if your non-test code does not use finalization, you can use this class to test for * leaks, by ensuring that objects are no longer strongly referenced: * * <pre>{@code * // Helper function keeps victim stack-unreachable. * private WeakReference<Foo> fooWeakRef() { * Foo x = ....; * WeakReference<Foo> weakRef = new WeakReference<>(x); * // ... use x ...
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 11.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java
try { cache.getUnchecked("bar"); fail(); } catch (UncheckedExecutionException expected) { } assertEquals(2, callCount.get()); } /** * Test-helper method that performs {@code nThreads} concurrent calls to {@code cache.get(key)} or * {@code cache.getUnchecked(key)}, and returns a List containing each of the results. The result
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 86.2K bytes - Viewed (0) -
android/pom.xml
<artifactId>maven-resources-plugin</artifactId> <version>3.3.1</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>3.4.0</version> </plugin> </plugins> </pluginManagement> </build> <distributionManagement> <snapshotRepository>
XML - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Mar 12 20:26:18 GMT 2024 - 19.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
final Monitor monitor; /** Guard for waiting takes */ private final Monitor.Guard notEmpty; /** Guard for waiting puts */ private final Monitor.Guard notFull; // Internal helper methods /** Circularly increment i. */ final int inc(int i) { return (++i == items.length) ? 0 : i; } /** * Inserts element at current put position, advances, and signals. Call only when occupying
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 22.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java
return Arrays.asList( Helpers.getMethod(MultisetIteratorTester.class, "testIteratorKnownOrder"), Helpers.getMethod(MultisetIteratorTester.class, "testIteratorUnknownOrder"), Helpers.getMethod(MultisetIteratorTester.class, "testRemovingIteratorKnownOrder"), Helpers.getMethod(MultisetIteratorTester.class, "testRemovingIteratorUnknownOrder")); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 4.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SampleElements.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 4.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 4.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java
package com.google.common.collect.testing.google; import static com.google.common.collect.testing.Helpers.assertEqualIgnoringOrder; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.Multimap; import com.google.common.collect.testing.AbstractContainerTester; import com.google.common.collect.testing.Helpers; import com.google.common.collect.testing.SampleElements;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 6K bytes - Viewed (0)