- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for rounds (0.11 sec)
-
src/time/time.go
} // Round returns the result of rounding d to the nearest multiple of m. // The rounding behavior for halfway values is to round away from zero. // If the result exceeds the maximum (or minimum) // value that can be stored in a [Duration], // Round returns the maximum (or minimum) duration. // If m <= 0, Round returns d unchanged. func (d Duration) Round(m Duration) Duration { if m <= 0 { return d
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 50.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go
} expect := item.expect.DeepCopy() if asDec { got.AsDec() } if ok := got.RoundUp(item.scale); ok != item.ok { t.Errorf("%s(%d,%t): unexpected ok: %t", item.in, item.scale, asDec, ok) } if got.Cmp(expect) != 0 { t.Errorf("%s(%d,%t): unexpected round: %s vs %s", item.in, item.scale, asDec, got.String(), expect.String()) } } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 49.4K bytes - Viewed (0) -
src/time/time_test.go
return false } // To round, add d back if remainder r > d/2 or r == exactly d/2. // The commented out code would round half to even instead of up, // but that makes it time-zone dependent, which is a bit strange. if r > int64(d)/2 || r+r == int64(d) /*&& bq.Bit(0) == 1*/ { t1 = t1.Add(d) } // Check that time.Round works. if rnd := t0.Round(d); rnd != t1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:13:47 UTC 2024 - 56.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewrite.go
// B) decrement use counts of the values' args. func clobber(vv ...*Value) bool { for _, v := range vv { v.reset(OpInvalid) // Note: leave v.Block intact. The Block field is used after clobber. } return true } // clobberIfDead resets v when use count is 1. Returns true. // clobberIfDead is used by rewrite rules to decrement // use counts of v's args when v is dead and never used.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 64.2K bytes - Viewed (0) -
maven-core/src/site/resources/design/2.1-lifecycle-refactor.graffle
project}AllowLabelDropfalseC{89, 78}{205, 78}StylestrokeHeadArrow.4285709857940674Tail.5Bounds{{155, 53.596}, {118, 14}}ClassShapedGraphicFi.04239773377776146Rot{\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf410 {\fonttbl\f0\fswiss\fcharset77 Helvetica;} {\colortbl;\red255\green255\blue255;} \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural \f0\fs24 \cf0 constructBuildPlan()}Bounds{{205.5, 74}, {17, 208}}ClassShapedGraphicHF{1, 0.5}{1, -0.5}{-0.470589, 0.149038}{-0.5,...
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Sat Mar 11 17:19:02 UTC 2017 - 96.7K bytes - Viewed (0) -
test/fixedbugs/issue30116.out
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 18 17:33:38 UTC 2019 - 53.8K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
} args, err := quoted.Split(value) if err != nil { return nil, err } if len(args) == 0 { return nil, errors.New("CC not set and no default found") } if _, err := exec.LookPath(args[0]); err != nil { return nil, fmt.Errorf("C compiler %q not found: %v", args[0], err) } return args[:len(args):len(args)], nil } // gccMachine returns the gcc -m flag to use, either "-m32", "-m64" or "-marm".
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 97K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeToken.java
} private static Bounds every(Type[] bounds) { // Every bound must match. On any false, result is false. return new Bounds(bounds, false); } private static Bounds any(Type[] bounds) { // Any bound matches. On any true, result is true. return new Bounds(bounds, true); } private static class Bounds { private final Type[] bounds;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 26 21:02:13 UTC 2023 - 53.6K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeToken.java
} private static Bounds every(Type[] bounds) { // Every bound must match. On any false, result is false. return new Bounds(bounds, false); } private static Bounds any(Type[] bounds) { // Any bound matches. On any true, result is true. return new Bounds(bounds, true); } private static class Bounds { private final Type[] bounds;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 26 21:02:13 UTC 2023 - 53.6K bytes - Viewed (0) -
pkg/kube/inject/testdata/inputs/proxy-override-runas.yaml.34.template.gen.yaml
Nicole LiHui <******@****.***> 1717379705 +0800
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 01:55:05 UTC 2024 - 75.9K bytes - Viewed (0)