- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 76 for reducer (0.25 sec)
-
guava/src/com/google/common/collect/CompactLinkedHashMap.java
* * <p>As compared with {@link java.util.LinkedHashMap}, this structure places significantly reduced * load on the garbage collector by only using a constant number of internal objects. * * <p>This class should not be assumed to be universally superior to {@code * java.util.LinkedHashMap}. Generally speaking, this class reduces object allocation and memory
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 10.2K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/StreamsBenchmark.java
return Streams.findLast(stream); } }, REDUCE_LAST { @Override Object operate(Stream<?> stream) { return stream.reduce((a, b) -> b); } }, REDUCE_LAST_PARALLEL { @Override Object operate(Stream<?> stream) { return stream.parallel().reduce((a, b) -> b); } }; abstract Object operate(Stream<?> stream); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 03 19:39:41 GMT 2016 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralDataInternal.java
/** * Possibly appends the given domain name to the host name if it is currently unqualified * * @param domain */ void fixupDomain ( String domain ); /** * Reduces path consumed by the given value * * @param i */ void stripPathConsumed ( int i ); @Override DfsReferralDataInternal next (); /** * @param link */
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 2.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashMap.java
* which is optimal, and <i>not</i> the size of the internal hashtable, which could be much larger * than {@code size()}. Furthermore, this structure places significantly reduced load on the garbage * collector by only using a constant number of internal objects. * * <p>If there are no removals, then iteration order for the {@link #entrySet}, {@link #keySet}, and
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Jun 26 21:02:13 GMT 2023 - 39.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/DummyProxy.java
return DummyProxy.this; } @Override public String toString() { return "Dummy proxy for " + interfaceType; } // Since type variables aren't serializable, reduce the type down to raw type before // serialization. private Object writeReplace() { return new DummyHandler(TypeToken.of(interfaceType.getRawType())); } }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 08 17:31:55 GMT 2024 - 3.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/DummyProxy.java
return DummyProxy.this; } @Override public String toString() { return "Dummy proxy for " + interfaceType; } // Since type variables aren't serializable, reduce the type down to raw type before // serialization. private Object writeReplace() { return new DummyHandler(TypeToken.of(interfaceType.getRawType())); } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 08 17:31:55 GMT 2024 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/Striped64.java
* There is no need for a blocking lock; when the lock is not * available, threads try other slots (or the base). During these * retries, there is increased contention and reduced locality, * which is still better than alternatives. * * Per-thread hash codes are initialized to random values. * Contention and/or table collisions are indicated by failed
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) -
android/guava/src/com/google/common/base/Function.java
* * <p>This interface is now a legacy type. Use {@code java.util.function.Function} (or the * appropriate primitive specialization such as {@code ToIntFunction}) instead whenever possible. * Otherwise, at least reduce <i>explicit</i> dependencies on this type by using lambda expressions * or method references instead of classes, leaving your code easier to migrate in the future. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 24 01:41:50 GMT 2024 - 3.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ArrayListMultimap.java
*/ @Override List<V> createCollection() { return new ArrayList<>(expectedValuesPerKey); } /** * Reduces the memory used by this {@code ArrayListMultimap}, if feasible. * * @deprecated For a {@link ListMultimap} that automatically trims to size, use {@link
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 6.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/QueuesTest.java
assertEquals(0, Queues.drain(q, ImmutableList.of(), 1, 10, MILLISECONDS)); Producer producer = new Producer(q, 1); // producing one, will ask for two Future<?> producerThread = threadPool.submit(producer); producer.beganProducing.await(); // make sure we time out Stopwatch timer = Stopwatch.createStarted();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 12K bytes - Viewed (0)