Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 35 for initialCapacity (0.08 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TextUtilTest.java

            }
        }
    
        public static String normalizeText(final Reader reader, final int initialCapacity, final int maxAlphanumTermSize,
                final int maxSymbolTermSize, final boolean removeDuplication) {
            return new TextNormalizeContext(reader).initialCapacity(initialCapacity).maxAlphanumTermSize(maxAlphanumTermSize)
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

       * to trim memory usage, build using {@code builder.build().trimmed()}.
       */
      public static Builder builder(int initialCapacity) {
        checkArgument(initialCapacity >= 0, "Invalid initialCapacity: %s", initialCapacity);
        return new Builder(initialCapacity);
      }
    
      /**
       * Returns a new, empty builder for {@link ImmutableLongArray} instances, with a default initial
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/ImmutableIntArray.java

       * to trim memory usage, build using {@code builder.build().trimmed()}.
       */
      public static Builder builder(int initialCapacity) {
        checkArgument(initialCapacity >= 0, "Invalid initialCapacity: %s", initialCapacity);
        return new Builder(initialCapacity);
      }
    
      /**
       * Returns a new, empty builder for {@link ImmutableIntArray} instances, with a default initial
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

       *
       * @param initialCapacity the initial capacity for this priority queue
       * @throws IllegalArgumentException if {@code initialCapacity} is less than 1
       */
      public MonitorBasedPriorityBlockingQueue(int initialCapacity) {
        q = new PriorityQueue<E>(initialCapacity, null);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 07 21:36:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/FileUtil.java

         *
         * @param reader
         *            リーダー
         * @param initialCapacity
         *            バッファの初期容量
         * @return リーダーから読み込んだ文字列
         */
        protected static String read(final Reader reader, final int initialCapacity) {
            int bufferSize;
            if (initialCapacity > 0 && initialCapacity <= MAX_BUF_SIZE) {
                bufferSize = initialCapacity;
            } else {
                bufferSize = DEFAULT_BUF_SIZE;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        }
        this.segmentShift = 32 - segmentShift;
        segmentMask = segmentCount - 1;
    
        this.segments = newSegmentArray(segmentCount);
    
        int segmentCapacity = initialCapacity / segmentCount;
        if (segmentCapacity * segmentCount < initialCapacity) {
          ++segmentCapacity;
        }
    
        int segmentSize = 1;
        while (segmentSize < segmentCapacity) {
          segmentSize <<= 1;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/collection/ArrayMap.java

         */
        public ArrayMap() {
            this(INITIAL_CAPACITY);
        }
    
        /**
         * 指定された初期容量を持つインスタンスを構築します。
         *
         * @param initialCapacity
         *            初期容量
         */
        @SuppressWarnings("unchecked")
        public ArrayMap(int initialCapacity) {
            if (initialCapacity <= 0) {
                initialCapacity = INITIAL_CAPACITY;
            }
            mapTable = new Entry[initialCapacity];
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/CacheBuilder.java

       * @throws IllegalArgumentException if {@code initialCapacity} is negative
       * @throws IllegalStateException if an initial capacity was already set
       */
      @CanIgnoreReturnValue
      public CacheBuilder<K, V> initialCapacity(int initialCapacity) {
        checkState(
            this.initialCapacity == UNSET_INT,
            "initial capacity was already set to %s",
            this.initialCapacity);
        checkArgument(initialCapacity >= 0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/CacheBuilder.java

       * @throws IllegalArgumentException if {@code initialCapacity} is negative
       * @throws IllegalStateException if an initial capacity was already set
       */
      @CanIgnoreReturnValue
      public CacheBuilder<K, V> initialCapacity(int initialCapacity) {
        checkState(
            this.initialCapacity == UNSET_INT,
            "initial capacity was already set to %s",
            this.initialCapacity);
        checkArgument(initialCapacity >= 0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/LocalCacheTest.java

      }
    
      private static void checkInitialCapacity(
          int concurrencyLevel, int initialCapacity, int segmentSize) {
        LocalCache<Object, Object> map =
            makeLocalCache(
                createCacheBuilder()
                    .concurrencyLevel(concurrencyLevel)
                    .initialCapacity(initialCapacity));
        for (int i = 0; i < map.segments.length; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
Back to top