- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for Billy (0.25 sec)
-
guava/src/com/google/common/collect/ImmutableMapEntry.java
* created arrays to have a {@code @Nullable} element type even when they're created directly with * {@code new ImmutableMapEntry[...]}, so it seems silly to insist on that only here. */ @SuppressWarnings("unchecked") // Safe as long as the javadocs are followed static <K, V> ImmutableMapEntry<K, V>[] createEntryArray(int size) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 4.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
future1.set(1L); future1 = null; future2.set(2L); future2 = null; /* * Futures should be collected even if combiner never runs. This is kind of a silly test, since * the combiner is almost certain to hold its own reference to the futures, and a real app would * hold a reference to the executor and thus to the combiner. What we really care about is that
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 29 16:29:37 UTC 2024 - 144.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
future1.set(1L); future1 = null; future2.set(2L); future2 = null; /* * Futures should be collected even if combiner never runs. This is kind of a silly test, since * the combiner is almost certain to hold its own reference to the futures, and a real app would * hold a reference to the executor and thus to the combiner. What we really care about is that
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 29 16:29:37 UTC 2024 - 144.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java
@Override public int hashCode() { return slowItDown() + hash; } @Override public int compareTo(Element e) { int x = slowItDown(); return x + super.compareTo(e) - x; // silly attempt to prevent opt } static int slowItDown() { int result = 0; for (int i = 1; i <= 1000; i++) { result += i; } return result; } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 17 15:49:06 UTC 2023 - 4.2K bytes - Viewed (0)