- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 181 for capacity (0.04 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java
} /** * Test LRU behavior of robotsTxtUrlSet */ public void test_robotsTxtUrlSet_lru() { Set<String> urlSet = crawlerContext.getRobotsTxtUrlSet(); // Add URLs up to capacity (10000) for (int i = 0; i < 10000; i++) { urlSet.add("http://example" + i + ".com/robots.txt"); } assertEquals(10000, urlSet.size());Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 25.6K bytes - Viewed (0) -
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,
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Aug 05 15:41:37 UTC 2025 - 26.6K bytes - Viewed (0) -
internal/lru/lru.go
func (c *LRU[K, V]) removeFromBucket(e *Entry[K, V]) { delete(c.buckets[e.ExpireBucket].entries, e.Key) } // Cap returns the capacity of the cache func (c *LRU[K, V]) Cap() int { return c.size } // Entry is an LRU Entry type Entry[K comparable, V any] struct { // Next and previous pointers in the doubly-linked list of elements.
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Fri Apr 25 08:22:26 UTC 2025 - 12.5K bytes - Viewed (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
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 22K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableIntArray.java
return new Builder(initialCapacity); } /** * Returns a new, empty builder for {@link ImmutableIntArray} instances, with a default initial * capacity. The returned builder is not thread-safe. * * <p><b>Performance note:</b> The {@link ImmutableIntArray} that is built will very likely occupy * more memory than necessary; to trim memory usage, build using {@code
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 21.5K bytes - Viewed (0) -
cmd/metacache-stream.go
type metacacheBlockWriter struct { wg sync.WaitGroup streamErr error blockEntries int } // newMetacacheBlockWriter provides a streaming block writer. // Each block is the size of the capacity of the input channel. // The caller should close to indicate the stream has ended. func newMetacacheBlockWriter(in <-chan metaCacheEntry, nextBlock func(b *metacacheBlock) error) *metacacheBlockWriter {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed May 07 15:37:12 UTC 2025 - 19.5K bytes - Viewed (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 } @GwtIncompatible // CountDownLatch static final class DelayingIdentityLoader<T> extends CacheLoader<T, T> { private final AtomicBoolean shouldWait;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 25.4K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.21.md
### Storage Capacity Tracking
Registered: Fri Dec 26 09:05:12 UTC 2025 - Last Modified: Fri Oct 14 07:03:14 UTC 2022 - 367.3K bytes - Viewed (0) -
src/main/java/jcifs/audit/SecurityAuditLogger.java
} else { sb.setLength(0); // Reset length } return sb; } private void returnStringBuilder(StringBuilder sb) { if (sb != null && sb.capacity() < 2048) { // Avoid keeping very large builders stringBuilderPool.offer(sb); } } private Map<String, Object> getContextMap() { HashMap<String, Object> map = mapPool.poll();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 26.6K bytes - Viewed (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. */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.4K bytes - Viewed (0)