Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 90 for Capacity (0.16 sec)

  1. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableList.java

         * ImmutableList#builder}.
         */
        public Builder() {
          this(DEFAULT_INITIAL_CAPACITY);
        }
    
        Builder(int capacity) {
          super(capacity);
        }
    
        /**
         * Adds {@code element} to the {@code ImmutableList}.
         *
         * @param element the element to add
         * @return this {@code Builder} object
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  3. docs/contribute/code_of_conduct.md

    Square’s open source community strives to:
    
     * **Be open**: We invite anyone to participate in any aspect of our projects. Our community is
       open, and any responsibility can be carried by a contributor who demonstrates the required
       capacity and competence.
    
     * **Be considerate**: People use our work, and we depend on the work of others. Consider users and
       colleagues before taking action. For example, changes to code, infrastructure, policy, and
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

                append(b, "count", () -> p.getCount()).append(',');
                append(b, "used", () -> p.getUsed().getBytes()).append(',');
                append(b, "capacity", () -> p.getTotalCapacity().getBytes()).append('}');
                return b.toString();
            }).collect(Collectors.joining(",")));
            buf.append("},");
            final GarbageCollectors gc = jvmStats.getGc();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

        implements ClassToInstanceMap<B>, Serializable {
    
      /**
       * Returns a new {@code MutableClassToInstanceMap} instance backed by a {@link HashMap} using the
       * default initial capacity and load factor.
       */
      public static <B extends @Nullable Object> MutableClassToInstanceMap<B> create() {
        return new MutableClassToInstanceMap<>(new HashMap<Class<? extends @NonNull B>, B>());
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  6. 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
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSet.java

         */
        private @Nullable SetBuilderImpl<E> impl;
        boolean forceCopy;
    
        public Builder() {
          this(0);
        }
    
        Builder(int capacity) {
          if (capacity > 0) {
            impl = new RegularSetBuilderImpl<>(capacity);
          } else {
            impl = EmptySetBuilderImpl.instance();
          }
        }
    
        Builder(@SuppressWarnings("unused") boolean subclass) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  8. 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.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  9. 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;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

      }
    
      static <N, V> DirectedGraphConnections<N, V> of(ElementOrder<N> incidentEdgeOrder) {
        // We store predecessors and successors in the same map, so double the initial capacity.
        int initialCapacity = INNER_CAPACITY * 2;
    
        List<NodeConnection<N>> orderedNodeConnections;
        switch (incidentEdgeOrder.type()) {
          case UNORDERED:
            orderedNodeConnections = null;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top