Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 152 for haverace (0.17 sec)

  1. src/runtime/ehooks_test.go

    	if testing.Short() {
    		t.Skip("skipping due to -short")
    	}
    	// Note the HasCGO() test below; this is to prevent the test
    	// running if CGO_ENABLED=0 is in effect.
    	haverace := platform.RaceDetectorSupported(runtime.GOOS, runtime.GOARCH)
    	if haverace && testenv.HasCGO() {
    		bmodes = append(bmodes, "-race")
    	}
    	for _, bmode := range bmodes {
    		scenarios := []struct {
    			mode     string
    			expected string
    			musthave []string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/test/groovy/org/gradle/performance/measure/DataSeriesTest.groovy

            expect:
            series.size() == 3
            series.average == v2
            series.average == v2
            series.min == v1
            series.max == v3
        }
    
        def "can be empty"() {
            def series = new DataSeries([null, null])
    
            expect:
            series.empty
            series.average == null
            series.median == null
            series.min == null
            series.max == null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/integrator.go

    	return x == y || x != nil && y != nil && x.Duration == y.Duration && x.Min == y.Min && x.Max == y.Max && (x.Average == y.Average || math.IsNaN(x.Average) && math.IsNaN(y.Average)) && (x.Deviation == y.Deviation || math.IsNaN(x.Deviation) && math.IsNaN(y.Deviation))
    }
    
    type integrator struct {
    	name  string
    	clock clock.PassiveClock
    	sync.Mutex
    	lastTime time.Time
    	x        float64
    	moments  Moments
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 17:37:20 UTC 2022
    - 5K bytes
    - Viewed (0)
  4. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/DataSeries.java

            median = medianLeft.plus(medianRight).div(2);
            average = total.div(size());
            this.min = min;
            this.max = max;
    
            BigDecimal sumSquares = BigDecimal.ZERO;
            Units<Q> baseUnits = average.getUnits().getBaseUnits();
            BigDecimal averageValue = average.toUnits(baseUnits).getValue();
            for (Amount<Q> amount : this) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/integrator_test.go

    	rToo := igr.Reset()
    	if e := (IntegratorResults{Duration: time.Second.Seconds(), Average: 3, Deviation: 0, Min: 0, Max: 3}); !e.Equal(&results) {
    		t.Errorf("expected %#+v, got %#+v", e, results)
    	}
    	if !results.Equal(&rToo) {
    		t.Errorf("expected %#+v, got %#+v", results, rToo)
    	}
    	igr.Set(2)
    	results = igr.GetResults()
    	if e := (IntegratorResults{Duration: 0, Average: math.NaN(), Deviation: math.NaN(), Min: 2, Max: 3}); !e.Equal(&results) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 27 21:11:44 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/borrowing_test.go

    			}
    			if results0.Average < 15.5 || results0.Average > 16.1 {
    				t.Errorf("Flow 0 got average concurrency of %v but expected about 16", results0.Average)
    			} else {
    				t.Logf("Flow 0 got average concurrency of %v and expected about 16", results0.Average)
    			}
    			if results1.Average < 5.5 || results1.Average > 6.1 {
    				t.Errorf("Flow 1 got average concurrency of %v but expected about 6", results1.Average)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 9K bytes
    - Viewed (0)
  7. docs/metrics/prometheus/list.md

    | `minio_node_cpu_avg_load5`           | CPU load average 5min.                     |
    | `minio_node_cpu_avg_load5_avg`       | CPU load average 5min (avg).               |
    | `minio_node_cpu_avg_load5_max`       | CPU load average 5min (max).               |
    | `minio_node_cpu_avg_load5_perc`      | CPU load average 5min (percentage).        |
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 43.3K bytes
    - Viewed (0)
  8. testing/internal-performance-testing/src/test/groovy/org/gradle/performance/fixture/CrossVersionPerformanceTestExecutionTest.groovy

    class CrossVersionPerformanceTestExecutionTest extends ResultSpecification {
        def result = new CrossVersionPerformanceResults(testProject: "some-project", tasks: [], cleanTasks: [])
    
        def "passes when average execution time for current release is smaller than average execution time for previous releases"() {
            given:
            result.baseline("1.0").results.add(operation(totalTime: 110))
            result.baseline("1.0").results.add(operation(totalTime: 100))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. internal/bucket/bandwidth/measurement.go

    }
    
    // exponentialMovingAverage calculates the exponential moving average
    func exponentialMovingAverage(beta, previousAvg, incrementAvg float64) float64 {
    	return (1-beta)*incrementAvg + beta*previousAvg
    }
    
    // getExpMovingAvgBytesPerSecond returns the exponential moving average for the bucket in bytes
    func (m *bucketMeasurement) getExpMovingAvgBytesPerSecond() float64 {
    	m.lock.Lock()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 03 20:41:51 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. src/testing/allocs.go

    package testing
    
    import (
    	"runtime"
    )
    
    // AllocsPerRun returns the average number of allocations during calls to f.
    // Although the return value has type float64, it will always be an integral value.
    //
    // To compute the number of allocations, the function will first be run once as
    // a warm-up. The average number of allocations over the specified number of
    // runs will then be measured and returned.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 02 00:13:47 UTC 2016
    - 1.4K bytes
    - Viewed (0)
Back to top