- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 158 for Capacity (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/collect/CompactLinkedHashSet.java
/** * Creates a {@code CompactLinkedHashSet} instance, with a high enough "initial capacity" that it * <i>should</i> hold {@code expectedSize} elements without rebuilding internal data structures. * * @param expectedSize the number of elements you expect to add to the returned set * @return a new, empty {@code CompactLinkedHashSet} with enough capacity to hold {@code * expectedSize} elements without resizingCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 14:59:07 GMT 2025 - 9.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactLinkedHashSet.java
/** * Creates a {@code CompactLinkedHashSet} instance, with a high enough "initial capacity" that it * <i>should</i> hold {@code expectedSize} elements without rebuilding internal data structures. * * @param expectedSize the number of elements you expect to add to the returned set * @return a new, empty {@code CompactLinkedHashSet} with enough capacity to hold {@code * expectedSize} elements without resizingCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 14:59:07 GMT 2025 - 9.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
assertEquals(2500L * 16 * 1024, fileFsSizeInfo.getFree()); } } @Nested @DisplayName("Capacity and Free Space Calculation Tests") class CapacityCalculationTests { @Test @DisplayName("Should calculate capacity correctly") void shouldCalculateCapacityCorrectly() throws SMBProtocolDecodingException { // Given long alloc = 1024L;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.9K bytes - Click Count (0) -
internal/grid/grid.go
// There is no minimum size. var GetByteBuffer = func() []byte { b := *internalByteBuffer.Get() return b[:0] } // GetByteBufferCap returns a length 0 byte buffer with at least the given capacity. func GetByteBufferCap(wantSz int) []byte { if wantSz < defaultBufferSize { b := GetByteBuffer()[:0] if cap(b) >= wantSz { return b } PutByteBuffer(b) } if wantSz <= maxBufferSize {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/CaseInsensitiveSet.java
map = new CaseInsensitiveMap<>(Math.max((int) (c.size() / .75f) + 1, 16)); addAll(c); } /** * Creates a {@link CaseInsensitiveSet}. * * @param initialCapacity the initial capacity */ public CaseInsensitiveSet(final int initialCapacity) { map = new CaseInsensitiveMap<>(initialCapacity); } @Override public Iterator<String> iterator() {
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 2.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactHashMap.java
} /** * Creates a {@code CompactHashMap} instance, with a high enough "initial capacity" that it * <i>should</i> hold {@code expectedSize} elements without growth. * * @param expectedSize the number of elements you expect to add to the returned set * @return a new, empty {@code CompactHashMap} with enough capacity to hold {@code expectedSize} * elements without resizingCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 39.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactLinkedHashMap.java
/** * Creates a {@code CompactLinkedHashMap} instance, with a high enough "initial capacity" that it * <i>should</i> hold {@code expectedSize} elements without rebuilding internal data structures. * * @param expectedSize the number of elements you expect to add to the returned set * @return a new, empty {@code CompactLinkedHashMap} with enough capacity to hold {@code * expectedSize} elements without resizingCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 10.2K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
private final ArrayList<E> contents; public Builder() { contents = Lists.newArrayList(); } Builder(int capacity) { contents = Lists.newArrayListWithCapacity(capacity); } @CanIgnoreReturnValue @Override public Builder<E> add(E element) { contents.add(checkNotNull(element)); return this; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 11.1K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java
* * @param index the new index position */ public void setIndex(final int index) { this.index = index; } /** * Returns the capacity of the buffer. * * @return the buffer capacity */ public int getCapacity() { return this.buf.length - this.start; } /** * Returns the available space at the tail of the buffer. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.7K bytes - Click Count (0) -
cmd/rebalance-admin.go
continue } // for participating pools, total bytes to be rebalanced by this pool is given by, // pf_c = (f_i + x)/c_i, // pf_c - percentage free space across pools, f_i - ith pool's free space, c_i - ith pool's capacity // i.e. x = c_i*pfc -f_i totalBytesToRebal := float64(ps.InitCapacity)*meta.PercentFreeGoal - float64(ps.InitFreeSpace) elapsed := time.Since(ps.Info.StartTime)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.8K bytes - Click Count (0)