- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 560 for ROUND (0.04 sec)
-
releasenotes/notes/dns-round-robin.yaml
John Howard <******@****.***> 1614287117 -0800
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 25 21:05:17 UTC 2021 - 188 bytes - Viewed (0) -
src/math/floor.go
return x } d, _ := Modf(x) return d } // Round returns the nearest integer, rounding half away from zero. // // Special cases are: // // Round(±0) = ±0 // Round(±Inf) = ±Inf // Round(NaN) = NaN func Round(x float64) float64 { // Round is a faster implementation of: // // func Round(x float64) float64 { // t := Trunc(x) // if Abs(x-t) >= 0.5 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 3.3K bytes - Viewed (0) -
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) -
src/net/netip/fuzz_test.go
if ip.IsValid() && ip.Next().IsValid() && ip.Next().Prev() != ip { t.Errorf(".Next.Prev did not round trip: ip=%q .next=%q .next.prev=%q", ip, ip.Next(), ip.Next().Prev()) } if ip.IsValid() && ip.Prev().IsValid() && ip.Prev().Next() != ip { t.Errorf(".Prev.Next did not round trip: ip=%q .prev=%q .prev.next=%q", ip, ip.Prev(), ip.Prev().Next()) } port, err := ParseAddrPort(s) if err == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 20 23:46:23 UTC 2021 - 10.5K bytes - Viewed (0) -
src/strconv/decimal_test.go
s := d.String() if s != test.down { t.Errorf("Decimal %v RoundDown %d = %v, want %v", test.i, test.nd, s, test.down) } d = NewDecimal(test.i) d.Round(test.nd) s = d.String() if s != test.round { t.Errorf("Decimal %v Round %d = %v, want %v", test.i, test.nd, s, test.down) } d = NewDecimal(test.i) d.RoundUp(test.nd) s = d.String() if s != test.up {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 3K bytes - Viewed (0)