Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 131 for Capacity (0.19 sec)

  1. src/test/java/jcifs/smb1/smb1/AllocInfoTest.java

        @ParameterizedTest
        @ValueSource(longs = { 0L, -1L, Long.MAX_VALUE })
        @DisplayName("capacity may be any long value")
        void testCapacityEdgeValues(long capacity) {
            when(mockAllocInfo.getCapacity()).thenReturn(capacity);
            assertEquals(capacity, mockAllocInfo.getCapacity());
        }
    
        /**
         * Null pointer scenario – calls on a null reference should raise
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/AllocInfo.java

    /**
     * Interface for file system allocation information providing capacity and free space details.
     * Used in SMB protocol operations to query disk space information from remote SMB shares.
     *
     * @author mbechler
     */
    public interface AllocInfo extends FileSystemInformation {
    
        /**
         * Gets the total capacity of the allocation.
         *
         * @return total capacity
         */
        long getCapacity();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  3. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  4. cmd/notification-summary.go

    )
    
    // GetTotalCapacity gets the total capacity in the cluster.
    func GetTotalCapacity(diskInfo []madmin.Disk) (capacity uint64) {
    	for _, disk := range diskInfo {
    		capacity += disk.TotalSpace
    	}
    	return
    }
    
    // GetTotalUsableCapacity gets the total usable capacity in the cluster.
    func GetTotalUsableCapacity(diskInfo []madmin.Disk, s StorageInfo) (capacity uint64) {
    	for _, disk := range diskInfo {
    		// Ignore invalid.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/AllocInfoTest.java

            private final long capacity;
            private final long free;
            private byte fileSystemInformationClass = FS_SIZE_INFO;
    
            TestAllocInfo(long capacity, long free) {
                this.capacity = capacity;
                this.free = free;
            }
    
            TestAllocInfo(long capacity, long free, byte fileSystemInformationClass) {
                this.capacity = capacity;
                this.free = free;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBenchmark.java

        queue = (BlockingQueue<String>) constructor.newInstance(capacity);
    
        strings = new String[capacity];
        for (int i = 0; i < capacity; i++) {
          strings[i] = String.valueOf(Math.random());
        }
      }
    
      @Benchmark
      void addsAndRemoves(int reps) {
        int capacity = this.capacity;
        BlockingQueue<String> queue = this.queue;
        String[] strings = this.strings;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  8. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  9. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. cmd/metrics-v3-cluster-health.go

    var (
    	healthCapacityRawTotalBytesMD = NewGaugeMD(healthCapacityRawTotalBytes,
    		"Total cluster raw storage capacity in bytes")
    	healthCapacityRawFreeBytesMD = NewGaugeMD(healthCapacityRawFreeBytes,
    		"Total cluster raw storage free in bytes")
    	healthCapacityUsableTotalBytesMD = NewGaugeMD(healthCapacityUsableTotalBytes,
    		"Total cluster usable storage capacity in bytes")
    	healthCapacityUsableFreeBytesMD = NewGaugeMD(healthCapacityUsableFreeBytes,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top