- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for utod (0.16 sec)
-
src/time/format.go
u = uint(-x) } // 2-digit and 4-digit fields are the most common in time formats. utod := func(u uint) byte { return '0' + byte(u) } switch { case width == 2 && u < 1e2: return append(b, utod(u/1e1), utod(u%1e1)) case width == 4 && u < 1e4: return append(b, utod(u/1e3), utod(u/1e2%1e1), utod(u/1e1%1e1), utod(u%1e1)) } // Compute the number of decimal digits. var n int if u == 0 { n = 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:09:28 UTC 2024 - 49.3K bytes - Viewed (0) -
src/crypto/internal/boring/build-goboring.sh
} u128 __udivti3(u128 x, u128 y) { return div(x, y, 0); } EOF extra="" case $GOARCH in amd64) cp umod-amd64.s umod.s clang -c -o umod.o umod.s extra=umod.o ;; arm64) cp umod-arm64.c umod.c clang -c -o umod.o umod.c extra=umod.o ;; esac # Prepare copy of libcrypto.a with only the checked functions renamed and exported.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 26 22:52:27 UTC 2024 - 5.6K bytes - Viewed (0) -
src/math/big/nat_test.go
var q, r nat q, r = q.div(r, x, b) if q.cmp(a) != 0 { t.Fatalf("wrong quotient: got %s; want %s for %s/%s", q.utoa(10), a.utoa(10), x.utoa(10), b.utoa(10)) } if r.cmp(c) != 0 { t.Fatalf("wrong remainder: got %s; want %s for %s/%s", r.utoa(10), c.utoa(10), x.utoa(10), b.utoa(10)) } } } } // TestIssue37499 triggers the edge case of divBasic where
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 09 15:29:36 UTC 2024 - 26.2K bytes - Viewed (0) -
src/math/big/natconv_test.go
// test invalid base explicitly var panicStr string func() { defer func() { panicStr = recover().(string) }() natOne.utoa(1) }() if panicStr != "invalid base" { t.Errorf("expected panic for invalid base") } for _, a := range strTests { s := string(a.x.utoa(a.b)) if s != a.s { t.Errorf("string%+v\n\tgot s = %s; want %s", a, s, a.s) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 12:54:00 UTC 2019 - 16.8K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/gen/arithBoundaryGen.go
panic(err) } } } // generate the test data for _, s := range szs { if len(s.u) > 0 { fmt.Fprintf(w, "var %s_data []utd%s = []utd%s{", s.name, s.sn, s.sn) for _, i := range s.u { for _, j := range s.u { fmt.Fprintf(w, "utd%s{a: %d, b: %d, add: %d, sub: %d, mul: %d", s.sn, i, j, ucast(i+j, s), ucast(i-j, s), ucast(i*j, s)) if j != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 5.5K bytes - Viewed (0) -
src/math/big/ftoa.go
m := x.mant switch w := uint32(len(x.mant)) * _W; { case w < x.prec: m = nat(nil).shl(m, uint(x.prec-w)) case w > x.prec: m = nat(nil).shr(m, uint(w-x.prec)) } buf = append(buf, m.utoa(10)...) buf = append(buf, 'p') e := int64(x.exp) - int64(x.prec) if e >= 0 { buf = append(buf, '+') } return strconv.AppendInt(buf, e, 10) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 13.5K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/theme-default.min.css
Mk+VLK6zT2dN2M4MzirLbsmY38m+w3b8w5n/tmq1Te+vyKgkeF/Nv9iqqKX+5ULskovV4msDtxz+19auWVBygHt1eyHtpXJVd942h0Leux8yf8T+L1TQ1BZzjOXmnKOK964XVzXWt0u3LHp86O7i29Tn38V6auNd3Y0O8wIHh7aNDr7tS9rPtiDwZHix95jMk+RZ5Nvrg+0TBVOs2Y8ZgVflM9J/fu3AeT+cFPQZ8/LOR8Y188+EPsZ/Uvod+ly8sAwA/mQIdquAvLiAYSgRxEriGfUUnUHc1DW9E5TALzxXZh/TiGm+BZeCu+QNAmpBG6iASiC7GS+IZkSNpFek22Ih9jIjPRmZ4yOzH3suiydLBasN5m82N7Q9nEzsvexOHC8ZGznMuEa5b7MI8HLxvvLb7t/E4CXAJjgseFGMLmItwib0Wvix0TL6DGSnhKmktpSMvJiMsKywnJUxWUFPWVHNfQlDeoVKh2qb3UoGgaaTG0z+p80N...
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 33.3K bytes - Viewed (0) -
src/math/big/natconv.go
if dp >= 0 { // 0 <= dp <= count count = dp - count } return } // utoa converts x to an ASCII representation in the given base; // base must be between 2 and MaxBase, inclusive. func (x nat) utoa(base int) []byte { return x.itoa(false, base) } // itoa is like utoa but it prepends a '-' if neg && x != 0. func (x nat) itoa(neg bool, base int) []byte { if base < 2 || base > MaxBase {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 17:59:44 UTC 2022 - 14.6K bytes - Viewed (0) -
src/math/big/intconv.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 6.7K bytes - Viewed (0) -
src/math/big/ratconv.go
q = nat(nil).add(q, natOne) r = nat(nil).sub(r, p) } } if x.a.neg { buf = append(buf, '-') } buf = append(buf, q.utoa(10)...) // itoa ignores sign if q == 0 if prec > 0 { buf = append(buf, '.') rs := r.utoa(10) for i := prec - len(rs); i > 0; i-- { buf = append(buf, '0') } buf = append(buf, rs...) } return string(buf) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 15 22:16:34 UTC 2023 - 12.3K bytes - Viewed (0)