Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 150 for Capacity (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 16 14:46:34 GMT 2025
    - 37.1K bytes
    - Click Count (0)
  2. 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: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ImmutableList.java

         * ImmutableList#builder}.
         */
        public Builder() {
          this(DEFAULT_INITIAL_CAPACITY);
        }
    
        Builder(int capacity) {
          this.contents = new @Nullable Object[capacity];
          this.size = 0;
        }
    
        private void ensureRoomFor(int newElements) {
          @Nullable Object[] contents = this.contents;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  4. 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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  5. 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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  6. 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 Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  7. 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 Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  8. 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());
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Sep 06 04:15:37 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  9. 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 Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Aug 05 15:41:37 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  10. 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.
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Apr 25 08:22:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
Back to Top