- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 318 for rounds (0.27 sec)
-
src/runtime/mgcpacer_test.go
return func() float64 { sum := f() for _, s := range fs { sum += s() } return sum } } // quantize returns a new stream that rounds f to a multiple // of mult at each step. func (f float64Stream) quantize(mult float64) float64Stream { return func() float64 { r := f() / mult if r < 0 { return math.Ceil(r) * mult }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 13:53:21 UTC 2023 - 39.3K bytes - Viewed (0) -
src/crypto/sha512/sha512block_amd64.s
COPY_YMM_AND_BSWAP(Y5, (1*32)(DI), Y9) COPY_YMM_AND_BSWAP(Y6, (2*32)(DI), Y9) COPY_YMM_AND_BSWAP(Y7, (3*32)(DI), Y9) MOVQ DI, frame_INP(SP) // schedule 64 input dwords, by doing 12 rounds of 4 each MOVQ $4, frame_SRND(SP) loop1: VPADDQ (BP), Y4, Y0 VMOVDQU Y0, frame_YFER(SP) MY_VPALIGNR(Y0, Y7, Y6, 8) VPADDQ Y4, Y0, Y0 MY_VPALIGNR(Y1, Y5, Y4, 8)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 27K bytes - Viewed (0) -
src/runtime/map_test.go
break } } } } // Issue 8410 func TestMapSparseIterOrder(t *testing.T) { // Run several rounds to increase the probability // of failure. One is not enough. NextRound: for round := 0; round < 10; round++ { m := make(map[int]bool) // Add 1000 items, remove 980. for i := 0; i < 1000; i++ { m[i] = true } for i := 20; i < 1000; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 33.5K bytes - Viewed (0) -
src/go/constant/value.go
s := strconv.Quote(x.string()) if utf8.RuneCountInString(s) > maxLen { // The string without the enclosing quotes is greater than maxLen-2 runes // long. Remove the last 3 runes (including the closing '"') by keeping // only the first maxLen-3 runes; then add "...". i := 0 for n := 0; n < maxLen-3; n++ { _, size := utf8.DecodeRuneInString(s[i:]) i += size } s = s[:i] + "..." }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 34K bytes - Viewed (0) -
src/math/big/float.go
} if x.prec == 0 { return "zero precision finite number" } return "" } // round rounds z according to z.mode to z.prec bits and sets z.acc accordingly. // sbit must be 0 or 1 and summarizes any "sticky bit" information one might // have before calling round. z's mantissa must be normalized (with the msb set) // or empty. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 15:46:54 UTC 2024 - 44.5K bytes - Viewed (0) -
src/image/gif/writer_test.go
t.Error(tc.filename, err) continue } m1, err := Decode(&buf) if err != nil { t.Error(tc.filename, err) continue } if m0.Bounds() != m1.Bounds() { t.Errorf("%s, bounds differ: %v and %v", tc.filename, m0.Bounds(), m1.Bounds()) continue } // Compare the average delta to the tolerance level. avgDelta := averageDelta(m0, m1) if avgDelta > tc.tolerance {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 19K bytes - Viewed (0) -
src/cmd/internal/obj/x86/anames.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 11 18:32:50 UTC 2023 - 19.1K bytes - Viewed (0) -
test/fixedbugs/issue30116u.out
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 18 17:33:38 UTC 2019 - 44K bytes - Viewed (0) -
src/internal/types/testdata/check/expr3.go
_ = a1 _ = a[9] _ = a[10 /* ERRORx `index .* out of bounds` */ ] _ = a[1 /* ERROR "overflows" */ <<100] _ = a[1<< /* ERROR "constant shift overflow" */ 1000] // no out-of-bounds follow-on error _ = a[10:] _ = a[:10] _ = a[10:10] _ = a[11 /* ERRORx `index .* out of bounds` */ :] _ = a[: 11 /* ERRORx `index .* out of bounds` */ ] _ = a[: 1 /* ERROR "overflows" */ <<100] _ = a[:10:10]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 16 22:41:49 UTC 2023 - 15.6K bytes - Viewed (0) -
src/runtime/error.go
boundsSliceAlen: "slice bounds out of range [:%x]", boundsSliceAcap: "slice bounds out of range [:%x]", boundsSliceB: "slice bounds out of range [%x:]", boundsSlice3Alen: "slice bounds out of range [::%x]", boundsSlice3Acap: "slice bounds out of range [::%x]", boundsSlice3B: "slice bounds out of range [:%x:]", boundsSlice3C: "slice bounds out of range [%x::]", }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:10:41 UTC 2024 - 9.9K bytes - Viewed (0)