Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for queue_size (0.09 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

         */
        public SimplexTransferListener(TransferListener delegate) {
            this(delegate, QUEUE_SIZE, BATCH_MAX_SIZE, true);
        }
    
        /**
         * Constructor that may alter behaviour of this listener.
         *
         * @param delegate The delegate that should run on single thread.
         * @param queueSize The event queue size (default {@code 1024}).
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
Back to top