- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 587 for rounds (0.32 sec)
-
test/checkbce.go
useInt(a[uint(i*0x07C4ACDD)>>59]) // The following bounds should not be removed because they can overflow. useInt(a[uint32(i*0x106297f105d0cc86)>>26]) // ERROR "Found IsInBounds$" useInt(b[uint64(i*0x106297f105d0cc86)>>57]) // ERROR "Found IsInBounds$" useInt(a[int32(i*0x106297f105d0cc86)>>26]) // ERROR "Found IsInBounds$" useInt(b[int64(i*0x106297f105d0cc86)>>57]) // ERROR "Found IsInBounds$" } func g1(a []int) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 3.7K bytes - Viewed (0) -
src/net/tcpsockopt_windows.go
if !windows.SupportTCPKeepAliveIdle() { return setKeepAliveIdleAndInterval(fd, d, -1) } if d == 0 { d = defaultTCPKeepAliveIdle } else if d < 0 { return nil } // The kernel expects seconds so round to next highest second. secs := int(roundDurationUp(d, time.Second)) err := fd.pfd.SetsockoptInt(syscall.IPPROTO_TCP, windows.TCP_KEEPIDLE, secs) runtime.KeepAlive(fd) return os.NewSyscallError("setsockopt", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 11:49:35 UTC 2024 - 3.8K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt
private fun ApiTypeProvider.Context.apiTypeParametersFor(visitedSignature: BaseSignatureVisitor?): List<ApiTypeUsage> = visitedSignature?.typeParameters?.map { (binaryName, bounds) -> apiTypeUsageFor(binaryName, bounds = bounds) } ?: emptyList() private fun ApiTypeProvider.Context.apiFunctionParametersFor(function: ApiFunction, delegate: MethodNode, visitedSignature: MethodSignatureVisitor?) =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 06 19:56:10 UTC 2024 - 20.8K bytes - Viewed (0) -
src/runtime/panic.go
panicCheck1(getcallerpc(), "slice bounds out of range") panic(boundsError{x: int64(x), signed: true, y: y, code: boundsSlice3Alen}) } func goPanicSlice3AlenU(x uint, y int) { panicCheck1(getcallerpc(), "slice bounds out of range") panic(boundsError{x: int64(x), signed: false, y: y, code: boundsSlice3Alen}) } func goPanicSlice3Acap(x int, y int) { panicCheck1(getcallerpc(), "slice bounds out of range")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 43.8K 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) -
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) -
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/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)