- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 210 for Capacity (0.05 seconds)
-
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
* higher than performing just the operation without enforcing the capacity constraint. * * This implementation uses a per-segment queue to record a memento of the additions, removals, * and accesses that were performed on the map. The queue is drained on writes and when it exceeds * its capacity threshold. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 89.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 27.5K bytes - Click Count (0) -
guava/src/com/google/common/cache/LocalCache.java
* higher than performing just the operation without enforcing the capacity constraint. * * This implementation uses a per-segment queue to record a memento of the additions, removals, * and accesses that were performed on the map. The queue is drained on writes and when it exceeds * its capacity threshold. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 148.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
} /** * Returns the contents read from the reader as a string. * * @param reader * the reader * @param initialCapacity * the initial buffer capacity * @return the string read from the reader */ protected static String read(final Reader reader, final int initialCapacity) { int bufferSize;Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 13.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
.isInstanceOf(MapMakerInternalMap.StrongKeyStrongValueEntry.Helper.class); assertEquals(4, map.concurrencyLevel); // concurrency level assertThat(map.segments).hasLength(4); // initial capacity / concurrency level assertEquals(16 / map.segments.length, map.segments[0].table.length()); } public void testSetKeyEquivalence() { Equivalence<Object> testEquivalence = new Equivalence<Object>() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 36K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
.isInstanceOf(MapMakerInternalMap.StrongKeyStrongValueEntry.Helper.class); assertEquals(4, map.concurrencyLevel); // concurrency level assertThat(map.segments).hasLength(4); // initial capacity / concurrency level assertEquals(16 / map.segments.length, map.segments[0].table.length()); } public void testSetKeyEquivalence() { Equivalence<Object> testEquivalence = new Equivalence<Object>() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 36K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/DirectedGraphConnections.java
} static <N, V> DirectedGraphConnections<N, V> of(ElementOrder<N> incidentEdgeOrder) { // We store predecessors and successors in the same map, so double the initial capacity. int initialCapacity = INNER_CAPACITY * 2; List<NodeConnection<N>> orderedNodeConnections; switch (incidentEdgeOrder.type()) { case UNORDERED: orderedNodeConnections = null;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 17.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableList.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 30.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
@GwtCompatible public final class HashBiMap<K extends @Nullable Object, V extends @Nullable Object> extends AbstractMap<K, V> implements BiMap<K, V>, Serializable { /** Returns a new, empty {@code HashBiMap} with the default initial capacity (16). */ public static <K extends @Nullable Object, V extends @Nullable Object> HashBiMap<K, V> create() { return create(16); } /** * Constructs a new, empty bimap with the specified expected size. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 37K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheBuilderSpec.java
@Override void parseInteger(CacheBuilderSpec spec, int value) { checkArgument( spec.initialCapacity == null, "initial capacity was already set to %s", spec.initialCapacity); spec.initialCapacity = value; } } /** Parse maximumSize */ private static final class MaximumSizeParser extends LongParser {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 18.2K bytes - Click Count (0)