Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 167 for Capacity (0.13 sec)

  1. guava/src/com/google/common/collect/CompactHashing.java

       * minimum hashtable size, whichever is greater.
       */
      static int tableSize(int expectedSize) {
        // We use entries next == 0 to indicate UNSET, so actual capacity is 1 less than requested.
        return max(MIN_HASH_TABLE_SIZE, Hashing.closedTableSize(expectedSize + 1, 1.0));
      }
    
      /** Creates and returns a properly-sized array with the given number of buckets. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

            Serialization.getFieldSetter(ConcurrentHashMultiset.class, "countMap");
      }
    
      /**
       * Creates a new, empty {@code ConcurrentHashMultiset} using the default initial capacity, load
       * factor, and concurrency settings.
       */
      public static <E> ConcurrentHashMultiset<E> create() {
        // TODO(schmoe): provide a way to use this class with other (possibly arbitrary)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/flowcontrol/v1beta3/generated.proto

      // (and thus are never queued) and do not detract from the
      // capacity made available to other priority levels.  A value of
      // `"Limited"` means that (a) requests of this priority level
      // _are_ subject to limits and (b) some of the server's limited
      // capacity is made available exclusively to this priority level.
      // Required.
      // +unionDiscriminator
      optional string type = 1;
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Maps.java

          HashMap<K, V> newHashMapWithExpectedSize(int expectedSize) {
        return new HashMap<>(capacity(expectedSize));
      }
    
      /**
       * Returns a capacity that is sufficient to keep the map from being resized as long as it grows no
       * larger than expectedSize and the load factor is ≥ its default (0.75).
       */
      static int capacity(int expectedSize) {
        if (expectedSize < 3) {
          checkNonnegative(expectedSize, "expectedSize");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Maps.java

          HashMap<K, V> newHashMapWithExpectedSize(int expectedSize) {
        return new HashMap<>(capacity(expectedSize));
      }
    
      /**
       * Returns a capacity that is sufficient to keep the map from being resized as long as it grows no
       * larger than expectedSize and the load factor is ≥ its default (0.75).
       */
      static int capacity(int expectedSize) {
        if (expectedSize < 3) {
          checkNonnegative(expectedSize, "expectedSize");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  6. doc/go1.17_spec.html

    </p>
    <p>
    The array underlying a slice may extend past the end of the slice.
    The <i>capacity</i> is a measure of that extent: it is the sum of
    the length of the slice and the length of the array beyond the slice;
    a slice of length up to that capacity can be created by
    <a href="#Slice_expressions"><i>slicing</i></a> a new one from the original slice.
    The capacity of a slice <code>a</code> can be discovered using the
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/flowcontrol/v1beta1/generated.proto

      // (and thus are never queued) and do not detract from the
      // capacity made available to other priority levels.  A value of
      // `"Limited"` means that (a) requests of this priority level
      // _are_ subject to limits and (b) some of the server's limited
      // capacity is made available exclusively to this priority level.
      // Required.
      // +unionDiscriminator
      optional string type = 1;
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

       * to indicate natural ordering.
       */
      public Comparator<? super E> comparator() {
        return minHeap.ordering;
      }
    
      @VisibleForTesting
      int capacity() {
        return queue.length;
      }
    
      // Size/capacity-related methods
    
      private static final int DEFAULT_CAPACITY = 11;
    
      @VisibleForTesting
      static int initialQueueSize(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/core/v1/generated.proto

    message NodeStatus {
      // Capacity represents the total resources of a node.
      // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity
      // +optional
      map<string, k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;
    
      // Allocatable represents the resources of a node that are available for scheduling.
      // Defaults to Capacity.
      // +optional
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 255.8K bytes
    - Viewed (0)
  10. 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)
Back to top