Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for Capacity (0.64 sec)

  1. android/guava/src/com/google/common/collect/Queues.java

       * @since 12.0
       */
      @J2ktIncompatible
      @GwtIncompatible // LinkedBlockingDeque
      public static <E> LinkedBlockingDeque<E> newLinkedBlockingDeque(int capacity) {
        return new LinkedBlockingDeque<>(capacity);
      }
    
      /**
       * Creates a {@code LinkedBlockingDeque} with a capacity of {@link Integer#MAX_VALUE}, containing
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. src/builtin/builtin.go

    // the type:
    //
    //	Slice: The size specifies the length. The capacity of the slice is
    //	equal to its length. A second integer argument may be provided to
    //	specify a different capacity; it must be no smaller than the
    //	length. For example, make([]int, 0, 10) allocates an underlying array
    //	of size 10 and returns a slice of length 0 and capacity 10 that is
    //	backed by this underlying array.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Queues.java

       * @since 12.0
       */
      @J2ktIncompatible
      @GwtIncompatible // LinkedBlockingDeque
      public static <E> LinkedBlockingDeque<E> newLinkedBlockingDeque(int capacity) {
        return new LinkedBlockingDeque<>(capacity);
      }
    
      /**
       * Creates a {@code LinkedBlockingDeque} with a capacity of {@link Integer#MAX_VALUE}, containing
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/storage/v1/generated.proto

    //
    // The following three cases all imply that no capacity is available for
    // a certain combination:
    // - no object exists with suitable topology and storage class name
    // - such an object exists, but the capacity is unset
    // - such an object exists, but the capacity is zero
    //
    // The producer of these objects can decide which approach is more suitable.
    //
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  5. cmd/metrics.go

    	totalDisks := offlineDisks.Merge(onlineDisks)
    
    	// Report total capacity
    	ch <- prometheus.MustNewConstMetric(
    		prometheus.NewDesc(
    			prometheus.BuildFQName(minioNamespace, "capacity_raw", "total"),
    			"Total capacity online in the cluster",
    			nil, nil),
    		prometheus.GaugeValue,
    		float64(GetTotalCapacity(server.Disks)),
    	)
    
    	// Report total capacity free
    	ch <- prometheus.MustNewConstMetric(
    		prometheus.NewDesc(
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

      }
    
      /**
       * Creates an {@code MonitorBasedArrayBlockingQueue} with the given (fixed) capacity and default
       * access policy.
       *
       * @param capacity the capacity of this queue
       * @throws IllegalArgumentException if {@code capacity} is less than 1
       */
      public MonitorBasedArrayBlockingQueue(int capacity) {
        this(capacity, false);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/storage/v1beta1/generated.proto

    //
    // The following three cases all imply that no capacity is available for
    // a certain combination:
    // - no object exists with suitable topology and storage class name
    // - such an object exists, but the capacity is unset
    // - such an object exists, but the capacity is zero
    //
    // The producer of these objects can decide which approach is more suitable.
    //
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertEquals(0, ArbitraryInstances.get(Buffer.class).capacity());
        assertEquals(0, ArbitraryInstances.get(CharBuffer.class).capacity());
        assertEquals(0, ArbitraryInstances.get(ByteBuffer.class).capacity());
        assertEquals(0, ArbitraryInstances.get(ShortBuffer.class).capacity());
        assertEquals(0, ArbitraryInstances.get(IntBuffer.class).capacity());
        assertEquals(0, ArbitraryInstances.get(LongBuffer.class).capacity());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue.create();
        assertEquals(11, queue.capacity());
        checkUnbounded(queue);
        checkNatural(queue);
      }
    
      public void testCreation_comparator() {
        MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue.orderedBy(SOME_COMPARATOR).create();
        assertEquals(11, queue.capacity());
        checkUnbounded(queue);
        assertSame(SOME_COMPARATOR, queue.comparator());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

        }
      }
    
      /**
       * Constructs a new instance of {@code ObjectCountHashMap} with the specified capacity.
       *
       * @param capacity the initial capacity of this {@code ObjectCountHashMap}.
       */
      ObjectCountHashMap(int capacity) {
        this(capacity, DEFAULT_LOAD_FACTOR);
      }
    
      ObjectCountHashMap(int expectedSize, float loadFactor) {
        init(expectedSize, loadFactor);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 15K bytes
    - Viewed (0)
Back to top