- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for maximumSize (0.11 sec)
-
guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java
.addEqualityGroup(parse("initialCapacity=15"), parse("initialCapacity=15")) .addEqualityGroup(parse("maximumSize=7"), parse("maximumSize=7")) .addEqualityGroup(parse("maximumSize=15"), parse("maximumSize=15")) .addEqualityGroup(parse("maximumWeight=7"), parse("maximumWeight=7")) .addEqualityGroup(parse("maximumWeight=15"), parse("maximumWeight=15"))
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 19.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/MinMaxPriorityQueue.java
* {@code maximumSize} elements. Each time a queue grows beyond this bound, it immediately * removes its greatest element (according to its comparator), which might be the element that * was just added. */ @CanIgnoreReturnValue public Builder<B> maximumSize(int maximumSize) { checkArgument(maximumSize > 0); this.maximumSize = maximumSize; return this; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 34.1K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java
max = Ints.checkedCast((long) Math.pow(distinctKeys, concentration)); cache = CacheBuilder.newBuilder() .concurrencyLevel(segments) .maximumSize(maximumSize) .build( new CacheLoader<Integer, Integer>() { @Override public Integer load(Integer from) { return (int) misses.incrementAndGet();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java
.addEqualityGroup(parse("initialCapacity=15"), parse("initialCapacity=15")) .addEqualityGroup(parse("maximumSize=7"), parse("maximumSize=7")) .addEqualityGroup(parse("maximumSize=15"), parse("maximumSize=15")) .addEqualityGroup(parse("maximumWeight=7"), parse("maximumWeight=7")) .addEqualityGroup(parse("maximumWeight=15"), parse("maximumWeight=15"))
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 19.1K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheBuilder.java
* maximumSize}, {@link #maximumWeight(long) maximumWeight}, {@link #expireAfterWrite * expireAfterWrite}, {@link #expireAfterAccess expireAfterAccess}, {@link #weakKeys weakKeys}, * {@link #weakValues weakValues}, or {@link #softValues softValues} are requested. * * <p>If {@link #maximumSize(long) maximumSize} or {@link #maximumWeight(long) maximumWeight} is
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 51.6K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java
max = Ints.checkedCast((long) Math.pow(distinctKeys, concentration)); cache = CacheBuilder.newBuilder() .concurrencyLevel(segments) .maximumSize(maximumSize) .build( new CacheLoader<Integer, Integer>() { @Override public Integer load(Integer from) { return (int) misses.incrementAndGet();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
assertThrows(IllegalArgumentException.class, () -> builder.maximumSize(-1)); } public void testMaximumSize_setTwice() { CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder().maximumSize(16); assertThrows(IllegalStateException.class, () -> builder.maximumSize(16)); } @GwtIncompatible // maximumWeight public void testMaximumSize_andWeight() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 24.9K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
* maximumSize}, {@link #maximumWeight(long) maximumWeight}, {@link #expireAfterWrite * expireAfterWrite}, {@link #expireAfterAccess expireAfterAccess}, {@link #weakKeys weakKeys}, * {@link #weakValues weakValues}, or {@link #softValues softValues} are requested. * * <p>If {@link #maximumSize(long) maximumSize} or {@link #maximumWeight(long) maximumWeight} is
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 52K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
* {@code maximumSize} elements. Each time a queue grows beyond this bound, it immediately * removes its greatest element (according to its comparator), which might be the element that * was just added. */ @CanIgnoreReturnValue public Builder<B> maximumSize(int maximumSize) { checkArgument(maximumSize > 0); this.maximumSize = maximumSize; return this; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 34.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheEvictionTest.java
import java.util.List; import java.util.Set; import junit.framework.TestCase; /** * Tests relating to cache eviction: what does and doesn't count toward maximumSize, what happens * when maximumSize is reached, etc. * * @author mike nonemacher */ public class CacheEvictionTest extends TestCase { static final int MAX_SIZE = 100; public void testEviction_setMaxSegmentSize() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 15K bytes - Viewed (0)