- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 470 for ROUND (0.31 sec)
-
cmd/metrics-v3-system-cpu.go
m.Set(sysCPULoadPerc, math.Round(perc*100)/100) } ts := cpuMetrics.TimesStat tot := ts.User + ts.System + ts.Idle + ts.Iowait + ts.Nice + ts.Steal cpuUserVal := math.Round(ts.User/tot*100*100) / 100 m.Set(sysCPUUser, cpuUserVal) cpuSystemVal := math.Round(ts.System/tot*100*100) / 100 m.Set(sysCPUSystem, cpuSystemVal) cpuNiceVal := math.Round(ts.Nice/tot*100*100) / 100 m.Set(sysCPUNice, cpuNiceVal)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Apr 23 23:56:12 UTC 2024 - 3K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/fuzzer/fuzzer.go
// Avoid round tripping the ClusterConfiguration embedded in the InitConfiguration, since it is // only present in the internal version and not in public versions obj.ClusterConfiguration = kubeadm.ClusterConfiguration{} // Adds the default bootstrap token to get the round trip working obj.BootstrapTokens = []bootstraptokenv1.BootstrapToken{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 13 06:41:07 UTC 2024 - 6.2K bytes - Viewed (0) -
src/internal/zstd/xxhash.go
n := copy(xh.buf[xh.cnt:], b) b = b[n:] xh.v[0] = xh.round(xh.v[0], binary.LittleEndian.Uint64(xh.buf[:])) xh.v[1] = xh.round(xh.v[1], binary.LittleEndian.Uint64(xh.buf[8:])) xh.v[2] = xh.round(xh.v[2], binary.LittleEndian.Uint64(xh.buf[16:])) xh.v[3] = xh.round(xh.v[3], binary.LittleEndian.Uint64(xh.buf[24:])) xh.cnt = 0 } for len(b) >= 32 { xh.v[0] = xh.round(xh.v[0], binary.LittleEndian.Uint64(b))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 18 20:34:13 UTC 2023 - 3.3K bytes - Viewed (0) -
src/crypto/md5/gen.go
} func rotate() string { data.a, data.b, data.c, data.d = data.d, data.a, data.b, data.c return "" // no output } func idx(round, index int) int { v := 0 switch round { case 1: v = index case 2: v = (1 + 5*index) & 15 case 3: v = (5 + 3*index) & 15 case 4: v = (7 * index) & 15 } return v } func seq(i int) []int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 4.7K bytes - Viewed (0) -
test/linkobj.go
fatalf("listing stdlib export files: %v", err) } // two rounds: once using normal objects, again using .a files (compile -pack). for round := 0; round < 2; round++ { pkg := "-pack=" + fmt.Sprint(round) // The compiler expects the files being read to have the right suffix. o := "o" if round == 1 { o = "a" } importcfg := string(stdlibimportcfg) + "\npackagefile p1=p1." + o + "\npackagefile p2=p2." + o
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 3.5K bytes - Viewed (0) -
src/time/example_test.go
if err != nil { panic(err) } round := []time.Duration{ time.Nanosecond, time.Microsecond, time.Millisecond, time.Second, 2 * time.Second, time.Minute, 10 * time.Minute, time.Hour, } for _, r := range round { fmt.Printf("d.Round(%6s) = %s\n", r, d.Round(r).String()) } // Output: // d.Round( 1ns) = 1h15m30.918273645s // d.Round( 1µs) = 1h15m30.918274s
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 13 01:05:00 UTC 2024 - 22.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/convert_mhlo_quant_to_int.mlir
// CHECK: %[[ADD:.*]] = f32[] add(f32[] %[[DIV]], f32[] // CHECK: %[[CLAMP:.*]] = f32[] clamp(f32[] %[[MIN:.*]], f32[] %[[ADD]], // CHECK: %[[ROUND:.*]] = f32[] round-nearest-even(f32[] %[[CLAMP]]) // CHECK: %[[CONVERT_0:.*]] = u8[] convert(f32[] %[[ROUND]]) // CHECK: %[[CONVERT_1:.*]] = s32[] convert(u8[] %[[CONVERT_0]]) // CHECK: %[[SUB:.*]] = s32[] subtract(s32[] %[[CONVERT_1]],
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Sep 07 16:28:50 UTC 2023 - 1.2K bytes - Viewed (0) -
pkg/controller/job/tracking_utils_test.go
t.Errorf("Unexpected keys for job %s (-want,+got):\n%s", track.job, diff) } } // Delete the first round of keys and add the second round in parallel. for i, track := range tracks { wg.Add(len(track.firstRound) + 1) track := track for _, uid := range track.firstRound { uid := uid go func() { expectations.finalizerRemovalObserved(logger, track.job, uid) wg.Done() }() }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 14 05:40:02 UTC 2023 - 5.9K bytes - Viewed (0) -
src/math/big/ftoa.go
prec = len(d.mant) } } else { // round appropriately switch fmt { case 'e', 'E': // one digit before and number of digits after decimal point d.round(1 + prec) case 'f': // number of digits before and after decimal point d.round(d.exp + prec) case 'g', 'G': if prec == 0 { prec = 1 } d.round(prec) } } // 3) read digits out and format
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 13.5K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/README.md
resulting in additional fields being output when round-tripping data from previous releases, and failing round-trip tests. To resolve this, a `<group>.<version>.<kind>_after_roundtrip.[json|yaml|pb]` file containing the expected data after roundtripping can be placed beside the serialized data file from a previous release. These `after_roundtrip` files are generated by running the failing round-trip tests with `UPDATE_COMPATIBILITY_FIXTURE_DATA=true` set.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:52 UTC 2024 - 5.2K bytes - Viewed (0)