- Sort Score
- Result 10 results
- Languages All
Results 51 - 59 of 59 for host (0.15 sec)
-
guava-tests/test/com/google/common/cache/CacheReferencesTest.java
private void assertCleanup( LoadingCache<Integer, String> cache, CountingRemovalListener<Integer, String> removalListener) { // initialSize will most likely be 2, but it's possible for the GC to have already run, so we'll // observe a size of 1 long initialSize = cache.size(); assertTrue(initialSize == 1 || initialSize == 2); // wait up to 5s
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 6.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java
.withSetUp(parentBuilder.getSetUp()) .withTearDown(parentBuilder.getTearDown()) .createTestSuite()); /* * TODO(cpovirk): the Map tests duplicate most of this effort by using a * CollectionTestSuiteBuilder on values(). It would be nice to avoid that */ derived.add( SetTestSuiteBuilder.using(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 6.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java
expectedCrc, actualCrcHasher); } // From RFC 3720, Section 12.1, the polynomial generator is 0x11EDC6F41. // We calculate the constant below by: // 1. Omitting the most significant bit (because it's always 1). => 0x1EDC6F41 // 2. Flipping the bits of the constant so we can process a byte at a time. => 0x82F63B78 private static final int CRC32C_GENERATOR = 0x1EDC6F41; // 0x11EDC6F41
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Dec 23 18:30:33 GMT 2020 - 6.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeTraverser.java
if (childItr.hasNext()) { stack.addLast(childItr); } return result; } } /** * Returns an unmodifiable iterable over the nodes in a tree structure, using post-order * traversal. That is, each node's subtrees are traversed before the node itself is returned. * * <p>No guarantees are made about the behavior of the traversal when nodes change while iteration
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 8.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AtomicDouble.java
* long xBits = Double.doubleToRawLongBits(x); * long yBits = Double.doubleToRawLongBits(y); * return xBits == yBits; * } * }</pre> * * <p>It is possible to write a more scalable updater, at the cost of giving up strict atomicity. * See for example <a * href="http://gee.cs.oswego.edu/dl/jsr166/dist/docs/java.base/java/util/concurrent/atomic/DoubleAdder.html"> * DoubleAdder</a>. * * @author Doug Lea
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 28 21:00:54 GMT 2022 - 7.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
* #expectContents(Object[]) expectContents(E...)} and other convenience methods. The creation of * multiple containers in a single method is discouraged in most cases, but it is vital to the * iterator tests. * * @return the new container instance * @param newValue the new container instance */ @CanIgnoreReturnValue protected C resetContainer(C newValue) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 8.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Stopwatch.java
* in any other way than how {@code Stopwatch} uses them. * <li>An alternative source of nanosecond ticks can be substituted, for example for testing or * performance reasons, without affecting most of your code. * </ul> * * <p>The one downside of {@code Stopwatch} relative to {@link System#nanoTime()} is that {@code * Stopwatch} requires object allocation and additional method calls, which can reduce the accuracy
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Nov 15 21:38:09 GMT 2022 - 8.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java
/** * A map of contents pre-created before experiment starts to only measure map creation cost. The * implementation for the creation of contents is independent and could be different from that of * the map under test. */ Map<Element, Element> contents; /** Map pre-created before experiment starts to only measure iteration cost during experiment. */ Map<Element, Element> map; CollectionBenchmarkSampleData elems;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Dec 20 15:07:46 GMT 2019 - 3.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingSortedMap.java
public abstract class ForwardingSortedMap<K extends @Nullable Object, V extends @Nullable Object> extends ForwardingMap<K, V> implements SortedMap<K, V> { // TODO(lowasser): identify places where thread safety is actually lost /** Constructor for use by subclasses. */ protected ForwardingSortedMap() {} @Override protected abstract SortedMap<K, V> delegate(); @Override @CheckForNull
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri May 12 15:26:39 GMT 2023 - 5.6K bytes - Viewed (0)