Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for threshold (0.18 seconds)

  1. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

       *
       * <p>This test covers a scenario where we write a smaller amount of data first, then write a
       * large amount that crosses the threshold (transitioning from "not at threshold" to "over the
       * threshold"). (We then write some more afterward.) This differs from the existing
       * testThreshold() which writes exactly enough bytes to fill the buffer, then immediately writes
       * more bytes.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Oct 30 16:30:29 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/logging/SystemLogger.java

        private final PrintWriter out;
        private final Level threshold;
    
        public SystemLogger(@Nullable OutputStream out) {
            this(out, null);
        }
    
        public SystemLogger(@Nullable OutputStream out, @Nullable Level threshold) {
            this.out = new PrintWriter(toPsOrDef(out, System.err), true);
            this.threshold = Objects.requireNonNullElse(threshold, Level.INFO);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Feb 08 16:25:25 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

       *
       * <p>This test covers a scenario where we write a smaller amount of data first, then write a
       * large amount that crosses the threshold (transitioning from "not at threshold" to "over the
       * threshold"). (We then write some more afterward.) This differs from the existing
       * testThreshold() which writes exactly enough bytes to fill the buffer, then immediately writes
       * more bytes.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Oct 30 16:30:29 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/logging/Slf4jLoggerManager.java

            return 0;
        }
    
        /**
         * <b>Warning</b>: ignored.
         */
        @Override
        public void setThreshold(int threshold) {}
    
        /**
         * <b>Warning</b>: ignored.
         */
        @Override
        public void setThresholds(int threshold) {}
    
        /**
         * <b>Warning</b>: ignored (always return <code>0</code>).
         */
        @Override
        public int getActiveLoggerCount() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  5. cmd/dynamic-timeouts.go

    package cmd
    
    import (
    	"math"
    	"sync"
    	"sync/atomic"
    	"time"
    )
    
    const (
    	dynamicTimeoutIncreaseThresholdPct = 0.33 // Upper threshold for failures in order to increase timeout
    	dynamicTimeoutDecreaseThresholdPct = 0.10 // Lower threshold for failures in order to decrease timeout
    	dynamicTimeoutLogSize              = 16
    	maxDuration                        = math.MaxInt64
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  6. guava-tests/benchmark/com/google/common/cache/SegmentBenchmark.java

        checkState(cache.segments.length == 1);
        segment = cache.segments[0];
        checkState(segment.table.length() == capacity);
        for (int i = 0; i < segment.threshold; i++) {
          cache.put(new Object(), new Object());
        }
        checkState(segment.table.length() == capacity);
      }
    
      @SuppressWarnings("GuardedBy")
      @Benchmark
      int time(int reps) {
        int dummy = 0;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/logging/Slf4jLogger.java

         */
        @Override
        public int getThreshold() {
            return 0;
        }
    
        /**
         * <b>Warning</b>: ignored.
         */
        @Override
        public void setThreshold(int threshold) {}
    
        /**
         * <b>Warning</b>: ignored (always return <code>null</code>).
         */
        @Override
        public Logger getChildLogger(String name) {
            return null;
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  8. cmd/server-rlimit.go

    	// about older Linux kernels and Go runtime.
    	return currentKernel < kernel.Version(4, 0, 0)
    }
    
    func setMaxResources(ctx serverCtxt) (err error) {
    	// Set the Go runtime max threads threshold to 90% of kernel setting.
    	sysMaxThreads, err := sys.GetMaxThreads()
    	if err == nil {
    		minioMaxThreads := (sysMaxThreads * 90) / 100
    		// Only set max threads if it is greater than the default one
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jul 02 15:09:36 GMT 2024
    - 2.8K bytes
    - Click Count (0)
Back to Top