- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 154 for Capacity (0.17 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: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K 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: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.3K 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: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.8K 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 Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 2.7K 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 Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Nov 04 17:24:58 GMT 2025 - 18.2K bytes - Click Count (0) -
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,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 10 09:15:15 GMT 2024 - 3.9K bytes - Click Count (0) -
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.
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Dec 30 23:59:23 GMT 2024 - 12.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 Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 2.2K bytes - Click Count (0) -
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;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 2.1K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/CollectionsUtil.java
* * @param <E> the element type of {@link ArrayBlockingQueue} * @param capacity the queue capacity * @return a new instance of {@link ArrayBlockingQueue} * @see ArrayBlockingQueue#ArrayBlockingQueue(int) */ public static <E> ArrayBlockingQueue<E> newArrayBlockingQueue(final int capacity) { return new ArrayBlockingQueue<>(capacity); } /**Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 49.9K bytes - Click Count (0)