- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 150 for haverace (0.13 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
docs/metrics/prometheus/list.md
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:54 UTC 2024 - 43.3K bytes - Viewed (0) -
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) -
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) -
cmd/metrics-v3-system-cpu.go
sysCPUUser = "user" ) var ( sysCPUAvgIdleMD = NewGaugeMD(sysCPUAvgIdle, "Average CPU idle time") sysCPUAvgIOWaitMD = NewGaugeMD(sysCPUAvgIOWait, "Average CPU IOWait time") sysCPULoadMD = NewGaugeMD(sysCPULoad, "CPU load average 1min") sysCPULoadPercMD = NewGaugeMD(sysCPULoadPerc, "CPU load average 1min (percentage)") sysCPUNiceMD = NewGaugeMD(sysCPUNice, "CPU nice time")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Apr 23 23:56:12 UTC 2024 - 3K bytes - Viewed (0)