- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 722 for rounds (0.09 sec)
-
src/runtime/mpagealloc_64bit.go
needIdxBase, needIdxLimit := addrRangeToSummaryRange(l, makeAddrRange(base, limit)) // Update the summary slices with a new upper-bound. This ensures // we get tight bounds checks on at least the top bound. // // We must do this regardless of whether we map new memory. if needIdxLimit > len(p.summary[l]) { p.summary[l] = p.summary[l][:needIdxLimit] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 03 11:00:10 UTC 2024 - 9.3K bytes - Viewed (0) -
pkg/kube/inject/testdata/inject/proxy-override-runas.yaml.tproxy.injected
Jonh Wendell <******@****.***> 1715709579 -0400
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 17:59:39 UTC 2024 - 6.6K bytes - Viewed (0) -
test/fixedbugs/issue26043.go
// compile // Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This program results in a loop inferred to increment // j by 0, causing bounds check elimination to attempt // something%0, which panics (in the bug). package q func f() { var s1 string var b bool if b { b = !b s1 += "a" } var s2 string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 25 20:36:42 UTC 2018 - 543 bytes - Viewed (0) -
utils/tests/utils.go
format := "2006-01-02T15:04:05Z07:00" if curTime.Round(time.Second).UTC().Format(format) != expect.(time.Time).Round(time.Second).UTC().Format(format) && curTime.Truncate(time.Second).UTC().Format(format) != expect.(time.Time).Truncate(time.Second).UTC().Format(format) { t.Errorf("%v: expect: %v, got %v after time round", utils.FileWithLineNum(), expect.(time.Time), curTime) }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Fri Mar 10 09:21:56 UTC 2023 - 3.9K bytes - Viewed (0) -
pkg/generated/openapi/openapi_test.go
dummyRef := func(name string) spec.Ref { return spec.MustCreateRef("#/definitions/dummy") } for name, value := range GetOpenAPIDefinitions(dummyRef) { t.Run(name, func(t *testing.T) { // TODO(kubernetes/gengo#193): We currently round-trip ints to floats. value.Schema = *handler.PruneDefaultsSchema(&value.Schema) data, err := json.Marshal(value.Schema) if err != nil { t.Error(err) return } roundTripped := spec.Schema{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:48:03 UTC 2023 - 1.8K bytes - Viewed (0) -
src/image/ycbcr_test.go
} } if testing.Short() { break } } } func testYCbCr(t *testing.T, r Rectangle, subsampleRatio YCbCrSubsampleRatio, delta Point) { // Create a YCbCr image m, whose bounds are r translated by (delta.X, delta.Y). r1 := r.Add(delta) m := NewYCbCr(r1, subsampleRatio) // Test that the image buffer is reasonably small even if (delta.X, delta.Y) is far from the origin. if len(m.Y) > 100*100 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 26 00:14:16 UTC 2015 - 3.3K bytes - Viewed (0) -
src/image/internal/imageutil/gen.go
// successful. If it returns false, no dst pixels were changed. // // This function assumes that r is entirely within dst's bounds and the // translation of r from dst coordinate space to src coordinate space is // entirely within src's bounds. func DrawYCbCr(dst *image.RGBA, r image.Rectangle, src *image.YCbCr, sp image.Point) (ok bool) { // This function exists in the image/internal/imageutil package because it
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 4.3K bytes - Viewed (0) -
src/runtime/cgo/gcc_libinit.c
// called by rt0_go in the runtime package. void _cgo_set_stacklo(G *g, uintptr *pbounds) { uintptr bounds[2]; // pbounds can be passed in by the caller; see gcc_linux_amd64.c. if (pbounds == NULL) { pbounds = &bounds[0]; } x_cgo_getstackbound(pbounds); g->stacklo = *pbounds; // Sanity check the results now, rather than getting a // morestack on g0 crash.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 01:07:18 UTC 2024 - 5.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher.go
func newWebhookAnnotator(attr *admission.VersionedAttributes, round, idx int, webhook, configuration string) *webhookAnnotator { return &webhookAnnotator{ attr: attr, failedOpenAnnotationKey: fmt.Sprintf("%sround_%d_index_%d", MutationAuditAnnotationFailedOpenKeyPrefix, round, idx), patchAnnotationKey: fmt.Sprintf("%sround_%d_index_%d", PatchAuditAnnotationPrefix, round, idx),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 19.6K bytes - Viewed (0) -
test/fixedbugs/issue12944.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 15 20:56:58 UTC 2015 - 274 bytes - Viewed (0)