- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 181 for capacity (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
doc/go_mem.html
<p class="rule"> The <i>k</i>th receive from a channel with capacity <i>C</i> is synchronized before the completion of the <i>k</i>+<i>C</i>th send on that channel. </p> <p> This rule generalizes the previous rule to buffered channels. It allows a counting semaphore to be modeled by a buffered channel: the number of items in the channel corresponds to the number of active uses,
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Aug 05 15:41:37 GMT 2025 - 26.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Sets.java
* * @param expectedSize the number of elements you expect to add to the returned set * @return a new, empty hash set with enough capacity to hold {@code expectedSize} elements * without resizing * @throws IllegalArgumentException if {@code expectedSize} is negative */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 81.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/Sets.java
* * @param expectedSize the number of elements you expect to add to the returned set * @return a new, empty hash set with enough capacity to hold {@code expectedSize} elements * without resizing * @throws IllegalArgumentException if {@code expectedSize} is negative */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 83K bytes - Click Count (0) -
cmd/object-api-datatypes.go
BackendFS = BackendType(madmin.FS) // Multi disk BackendErasure (single, distributed) backend. BackendErasure = BackendType(madmin.Erasure) // Add your own backend. ) // StorageInfo - represents total capacity of underlying storage. type StorageInfo = madmin.StorageInfo // objectHistogramInterval is an interval that will be // used to report the histogram of objects data sizes type objectHistogramInterval struct {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 21.2K bytes - Click Count (0) -
internal/grid/types.go
} // NewBytes returns a new Bytes. // A slice is preallocated. func NewBytes() *Bytes { b := Bytes(GetByteBuffer()[:0]) return &b } // NewBytesCap returns an empty Bytes with the given capacity. func NewBytesCap(size int) *Bytes { b := Bytes(GetByteBufferCap(size)) return &b } // NewBytesWith returns a new Bytes with the provided content.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 15.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
LocalCache<?, ?> map = CacheTesting.toLocalCache(cache); assertThat(map.segments).hasLength(4); // concurrency level assertThat(map.segments[0].table.length()).isEqualTo(4); // capacity / conc level } @J2ktIncompatible @GwtIncompatible // CountDownLatch static final class DelayingIdentityLoader<T> extends CacheLoader<T, T> { private final AtomicBoolean shouldWait;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
LocalCache<?, ?> map = CacheTesting.toLocalCache(cache); assertThat(map.segments).hasLength(4); // concurrency level assertThat(map.segments[0].table.length()).isEqualTo(4); // capacity / conc level } @J2ktIncompatible @GwtIncompatible // CountDownLatch static final class DelayingIdentityLoader<T> extends CacheLoader<T, T> { private final AtomicBoolean shouldWait;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
checkNonnegative(initialCapacity, "initialCapacity"); this.contents = new @Nullable Object[initialCapacity]; this.size = 0; } /* * Expand the absolute capacity of the builder so it can accept at least the specified number of * elements without being resized. Also, if we've already built a collection backed by the * current array, create a new array. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 21.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Striped.java
} @Override Condition delegate() { return delegate; } } private abstract static class PowerOfTwoStriped<L> extends Striped<L> { /** Capacity (power of two) minus one, for fast mod evaluation */ final int mask; PowerOfTwoStriped(int stripes) { Preconditions.checkArgument(stripes > 0, "Stripes must be positive");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 22:01:32 GMT 2025 - 20.6K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
return new Builder(initialCapacity); } /** * Returns a new, empty builder for {@link ImmutableLongArray} instances, with a default initial * capacity. The returned builder is not thread-safe. * * <p><b>Performance note:</b> The {@link ImmutableLongArray} that is built will very likely * occupy more memory than necessary; to trim memory usage, build using {@code
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 22K bytes - Click Count (0)