- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 142 for Ratio (0.06 sec)
-
src/runtime/complex.go
if abs(real(m)) >= abs(imag(m)) { ratio := imag(m) / real(m) denom := real(m) + ratio*imag(m) e = (real(n) + imag(n)*ratio) / denom f = (imag(n) - real(n)*ratio) / denom } else { ratio := real(m) / imag(m) denom := imag(m) + ratio*real(m) e = (real(n)*ratio + imag(n)) / denom f = (imag(n)*ratio - real(n)) / denom } if isNaN(e) && isNaN(f) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 15 22:45:17 UTC 2017 - 1.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/metrics/timing_ratio_histogram.go
defer trh.Unlock() trh.numerator = numerator ratio := numerator / trh.denominator trh.getGaugeOfRatio().Set(ratio) } func (trh *timingRatioHistogramInner) Add(deltaNumerator float64) { trh.Lock() defer trh.Unlock() numerator := trh.numerator + deltaNumerator trh.numerator = numerator ratio := numerator / trh.denominator trh.getGaugeOfRatio().Set(ratio) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 03 06:51:04 UTC 2023 - 8.6K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/measurement/measurement.go
func Percentage(value, total int64) string { var ratio float64 if total != 0 { ratio = math.Abs(float64(value)/float64(total)) * 100 } switch { case math.Abs(ratio) >= 99.95 && math.Abs(ratio) <= 100.05: return " 100%" case math.Abs(ratio) >= 1.0: return fmt.Sprintf("%5.2f%%", ratio) default: return fmt.Sprintf("%5.2g%%", ratio) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 8.8K bytes - Viewed (0) -
platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/rules/JacocoPluginCoverageVerificationIntegrationTest.groovy
[Insufficient.LINE_METRIC_COVERED_RATIO] | 'line metric with covered ratio' | 'lines covered ratio is 1.0, but expected maximum is 0.5'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 16:03:36 UTC 2023 - 12.9K bytes - Viewed (0) -
test/chanlinear.go
} return } // If n ops run in under a second and the ratio // doesn't work out, make n bigger, trying to reduce // the effect that a constant amount of overhead has // on the computed ratio. if t1 < 1*time.Second { n *= 2 continue } // Once the test runs long enough for n ops, // try to get the right ratio at least once. // If five in a row all fail, give up. if fails++; fails >= 5 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 2.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/python/testing.py
return total def get_size_ratio(path_a: str, path_b: str) -> float: """Return the size ratio of the given paths. Args: path_a: Path of a directory or a file to be the nominator of the ratio. path_b: Path of a directory or a file to be the denominator of the ratio. Returns: Ratio of size of path_a / size of path_b. """ size_a = get_dir_size(path_a) size_b = get_dir_size(path_b)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 21 08:51:46 UTC 2024 - 2.2K bytes - Viewed (0) -
src/runtime/mgcpacer_test.go
assertInRange(t, "goal ratio", c[n-1].goalRatio(), 0.925, 1.025) // Next, let's make sure there's some minimum distance between the goal // and the trigger. It should be proportional to the runway (hence the // trigger ratio check, instead of a check against the runway). assertInRange(t, "trigger ratio", c[n-1].triggerRatio(), 0.925, 0.975) } if n > 25 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 13:53:21 UTC 2023 - 39.3K bytes - Viewed (0) -
test/maplinear.go
} return } // If n ops run in under a second and the ratio // doesn't work out, make n bigger, trying to reduce // the effect that a constant amount of overhead has // on the computed ratio. if t1 < 1*time.Second { n *= 2 continue } // Once the test runs long enough for n ops, // try to get the right ratio at least once. // If five in a row all fail, give up. if fails++; fails >= 5 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 3.6K bytes - Viewed (0) -
src/runtime/mgcpacer.go
// calls to revise. // // The result of this race is that the two assist ratio values may not line // up or may be stale. In practice this is OK because the assist ratio // moves slowly throughout a GC cycle, and the assist ratio is a best-effort // heuristic anyway. Furthermore, no part of the heuristic depends on // the two assist ratio values being exact reciprocals of one another, since
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 55.4K bytes - Viewed (0) -
pkg/controller/podautoscaler/metrics/utilization.go
limitations under the License. */ package metrics import ( "fmt" ) // GetResourceUtilizationRatio takes in a set of metrics, a set of matching requests, // and a target utilization percentage, and calculates the ratio of // desired to actual utilization (returning that, the actual utilization, and the raw average value)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Sep 22 08:59:02 UTC 2022 - 2.3K bytes - Viewed (0)