- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 106 for Capacity (0.06 sec)
-
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.3K bytes - Viewed (0) -
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 raiseRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (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;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (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
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Nov 04 17:24:58 UTC 2025 - 18.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java
assertEquals(500, info.free); assertEquals(100, info.sectPerAlloc); assertEquals(512, info.bytesPerSect); assertEquals(1000L * 100 * 512, info.getCapacity(), "Capacity calculation should be correct"); assertEquals(500L * 100 * 512, info.getFree(), "Free space calculation should be correct"); } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (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); } /**Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 49.9K bytes - Viewed (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;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 2.1K bytes - Viewed (0) -
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 22.4K bytes - Viewed (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
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Nov 04 17:24:58 UTC 2025 - 18K bytes - Viewed (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 */Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.2K bytes - Viewed (0)