- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 210 for Capacity (0.06 seconds)
-
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 raiseCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0) -
android/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); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 22.4K bytes - Click Count (0) -
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
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 18.2K bytes - Click Count (0) -
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;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.8K bytes - Click Count (0) -
cmd/notification-summary.go
capacity += disk.TotalSpace } } return capacity } // GetTotalCapacityFree gets the total capacity free in the cluster. func GetTotalCapacityFree(diskInfo []madmin.Disk) (capacity uint64) { for _, d := range diskInfo { capacity += d.AvailableSpace } return capacity } // GetTotalUsableCapacityFree gets the total usable capacity free in the cluster.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 2.2K bytes - Click Count (0) -
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
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 18K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/CaseInsensitiveMap.java
*/ public CaseInsensitiveMap() { } /** * Creates a {@link CaseInsensitiveMap}. * * @param capacity the initial capacity */ public CaseInsensitiveMap(final int capacity) { super(capacity); } /** * Returns whether the key is contained. * * @param key the key * @return whether the key is contained */Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 2.2K bytes - Click Count (0) -
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(); /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.3K bytes - Click Count (0) -
internal/bpool/bpool_test.go
for range size { bp.Get() // discard } // Try putting some invalid buffers into pool bp.Put(make([]byte, bp.w, bp.wcap-1)) // wrong capacity is rejected (less) bp.Put(make([]byte, bp.w, bp.wcap+1)) // wrong capacity is rejected (more) bp.Put(make([]byte, width)) // wrong capacity is rejected (very less) if len(bp.c) > 0 { t.Fatal("bytepool should have rejected invalid packets") }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 2.7K bytes - Click Count (0) -
cmd/metrics.go
// Report total capacity ch <- prometheus.MustNewConstMetric( prometheus.NewDesc( prometheus.BuildFQName(minioNamespace, "capacity_raw", "total"), "Total capacity online in current MinIO server instance", nil, nil), prometheus.GaugeValue, float64(GetTotalCapacity(server.Disks)), ) // Report total capacity free ch <- prometheus.MustNewConstMetric(
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 24 04:06:31 GMT 2025 - 16.7K bytes - Click Count (0)