- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for queueSize (0.05 sec)
-
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java
*/ public SimplexTransferListener( TransferListener delegate, int queueSize, int batchMaxSize, boolean blockOnLastEvent) { this.delegate = requireNonNull(delegate); if (queueSize < 1 || batchMaxSize < 1) { throw new IllegalArgumentException("Queue and batch sizes must be greater than 1"); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
return capAtMaximumSize(newCapacity, maximumSize); } /** There's no reason for the queueSize to ever be more than maxSize + 1 */ private static int capAtMaximumSize(int queueSize, int maximumSize) { return min(queueSize - 1, maximumSize) + 1; // don't overflow }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 34.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/MinMaxPriorityQueue.java
return capAtMaximumSize(newCapacity, maximumSize); } /** There's no reason for the queueSize to ever be more than maxSize + 1 */ private static int capAtMaximumSize(int queueSize, int maximumSize) { return min(queueSize - 1, maximumSize) + 1; // don't overflow }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 34.1K bytes - Viewed (0)