- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 309 for enough (0.07 sec)
-
guava-tests/test/com/google/common/hash/HashingTest.java
Random r = new Random(9); for (int i = 0; i < ITERS; i++) { countRemaps(r.nextLong(), map); } for (int shard = 2; shard <= MAX_SHARDS; shard++) { // Rough: don't exceed 1.2x the expected number of remaps by more than 20 assertTrue(map.get(shard) <= 1.2 * ITERS / shard + 20); } } private void countRemaps(long h, AtomicLongMap<Integer> map) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 26.4K bytes - Viewed (2) -
android/guava/src/com/google/common/reflect/TypeResolver.java
/* * We'd like to simply create our own TypeVariable with the newly resolved bounds. There's * just one problem: Under all the JDK versions that we support (though *not* under * Android), the built-in TypeVariable's equals() method doesn't recognize instances of our * TypeVariable implementation. This is a problem because users compare TypeVariables from
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 24.2K bytes - Viewed (0) -
guava-gwt/pom.xml
<configuration> <excludes> <!-- Yes, we want to exclude ForceGuavaCompilation 4 times: --> <!-- (And we might as well exclude DummyJavadocClass 3 times (though it would be harmless to include).) --> <!-- 1. Don't compile it (since that requires a *non-test* dep on gwt-user. --> <exclude>**/ForceGuavaCompilation*</exclude>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Sep 04 21:35:58 UTC 2025 - 19.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Suppliers.java
} /** * Returns a function that accepts a supplier and returns the result of invoking {@link * Supplier#get} on that supplier. * * <p>Prefer to use the method reference {@code Supplier::get} instead, though note that it is not * serializable unless you explicitly make it {@link Serializable}, typically by writing {@code * (Function<Supplier<T>, T> & Serializable) Supplier::get}. * * @since 8.0 */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 16.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashingTest.java
Random r = new Random(9); for (int i = 0; i < ITERS; i++) { countRemaps(r.nextLong(), map); } for (int shard = 2; shard <= MAX_SHARDS; shard++) { // Rough: don't exceed 1.2x the expected number of remaps by more than 20 assertTrue(map.get(shard) <= 1.2 * ITERS / shard + 20); } } private void countRemaps(long h, AtomicLongMap<Integer> map) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 26.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
} /** * Returns an {@code ImmutableRangeSet} containing each of the specified disjoint ranges. * Overlapping ranges and empty ranges are forbidden, though adjacent ranges are permitted and * will be merged. * * @throws IllegalArgumentException if any ranges overlap or are empty * @since 21.0 */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 27.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
Iterable<Integer> source = new LinkedList<>(asList(1, 2, 3)); Iterable<List<Integer>> partitions = Iterables.partition(source, 2); Iterator<List<Integer>> iterator = partitions.iterator(); // Even though the input list doesn't implement RandomAccess, the output // lists do. assertTrue(iterator.next() instanceof RandomAccess); assertTrue(iterator.next() instanceof RandomAccess); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.2K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
* BCAST, Node Status) we need to augment the hashcode generated * for the addresses hostname or failed lookups for one type will * be cached and cause other types to fail even though they may * not be the authority for the name. For example, if a WINS lookup * for FOO fails and caches unknownAddress for FOO, a subsequent
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
return key; } @Override @ParametricNullness public V getValue() { updateIndex(); /* * If the entry has been removed from the map, we return null, even though that might not be a * valid value. That's the best we can do, short of holding a reference to the most recently * seen value. And while we *could* do that, we aren't required to: Map.Entry explicitly says
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 36.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FluentIterable.java
* differences include: * * <ul> * <li>A stream is <i>single-use</i>; it becomes invalid as soon as any "terminal operation" such * as {@code findFirst()} or {@code iterator()} is invoked. (Even though {@code Stream} * contains all the right method <i>signatures</i> to implement {@link Iterable}, it does not * actually do so, to avoid implying repeat-iterability.) {@code FluentIterable}, on the other
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.3K bytes - Viewed (0)