- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 670 for big4 (0.16 sec)
-
src/internal/itoa/itoa.go
} return Uitoa(uint(val)) } // Uitoa converts val to a decimal string. func Uitoa(val uint) string { if val == 0 { // avoid string allocation return "0" } var buf [20]byte // big enough for 64bit value base 10 i := len(buf) - 1 for val >= 10 { q := val / 10 buf[i] = byte('0' + val - q*10) i-- val = q } // val < 10 buf[i] = byte('0' + val) return string(buf[i:]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 11 02:53:50 UTC 2023 - 1.1K bytes - Viewed (0) -
src/crypto/x509/x509_test.go
} } func bigFromString(s string) *big.Int { ret := new(big.Int) ret.SetString(s, 10) return ret } func fromBase10(base10 string) *big.Int { i := new(big.Int) i.SetString(base10, 10) return i } func bigFromHexString(s string) *big.Int { ret := new(big.Int) ret.SetString(s, 16) return ret } var rsaPrivateKey = &rsa.PrivateKey{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:00:16 UTC 2024 - 163.4K bytes - Viewed (0) -
pkg/controller/nodeipam/ipam/cidrset/cidr_set.go
"CIDR allocation failed; there are no remaining CIDRs left to allocate in the accepted range") // ErrCIDRSetSubNetTooBig occurs when the subnet mask size is too // big compared to the CIDR mask size. ErrCIDRSetSubNetTooBig = errors.New( "New CIDR set failed; the node CIDR size is too big") ) // NewCIDRSet creates a new CidrSet. func NewCIDRSet(clusterCIDR *net.IPNet, subNetMaskSize int) (*CidrSet, error) { clusterMask := clusterCIDR.Mask
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 11 08:53:03 UTC 2023 - 9.4K bytes - Viewed (0) -
src/internal/pkgbits/encoder.go
w.String(v) case int64: w.Code(ValInt64) w.Int64(v) case *big.Int: w.Code(ValBigInt) w.bigInt(v) case *big.Rat: w.Code(ValBigRat) w.bigInt(v.Num()) w.bigInt(v.Denom()) case *big.Float: w.Code(ValBigFloat) w.bigFloat(v) } } func (w *Encoder) bigInt(v *big.Int) { b := v.Bytes() w.String(string(b)) // TODO: More efficient encoding.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 10 23:26:58 UTC 2022 - 9.6K bytes - Viewed (0) -
src/net/parse_test.go
switch runtime.GOOS { case "android", "plan9", "windows", "wasip1": t.Skipf("not supported on %s", runtime.GOOS) } filename := "/etc/services" // a nice big file fd, err := os.Open(filename) if err != nil { // The file is missing even on some Unix systems. t.Skipf("skipping because failed to open /etc/services: %v", err) } defer fd.Close()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 24 00:04:48 UTC 2024 - 1.6K bytes - Viewed (0) -
src/go/constant/value_test.go
{Bool, false, false}, {String, "hello", "hello"}, {Int, int64(1), int64(1)}, {Int, big.NewInt(10), int64(10)}, {Int, new(big.Int).Lsh(big.NewInt(1), 62), int64(1 << 62)}, dup(Int, new(big.Int).Lsh(big.NewInt(1), 63)), {Float, big.NewFloat(0), floatVal0.val}, dup(Float, big.NewFloat(2.0)), dup(Float, big.NewRat(1, 3)), } { val := Make(test.arg) got := Val(val)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 15.6K bytes - Viewed (0) -
src/net/parse.go
// Bigger than we need, not too big to worry about overflow const big = 0xFFFFFF // Decimal to integer. // Returns number, characters consumed, success. func dtoi(s string) (n int, i int, ok bool) { n = 0 for i = 0; i < len(s) && '0' <= s[i] && s[i] <= '9'; i++ { n = n*10 + int(s[i]-'0') if n >= big { return big, i, false } } if i == 0 { return 0, 0, false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 14:00:54 UTC 2024 - 5.7K bytes - Viewed (0) -
src/math/big/gcd_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This file implements a GCD benchmark. // Usage: go test math/big -test.bench GCD package big import ( "math/rand" "testing" ) // randInt returns a pseudo-random Int in the range [1<<(size-1), (1<<size) - 1] func randInt(r *rand.Rand, size uint) *Int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 14 19:11:43 UTC 2016 - 2.2K bytes - Viewed (0) -
src/crypto/x509/hybrid_pool_test.go
// license that can be found in the LICENSE file. package x509_test import ( "crypto/ecdsa" "crypto/elliptic" "crypto/rand" "crypto/tls" "crypto/x509" "crypto/x509/pkix" "internal/testenv" "math/big" "runtime" "testing" "time" ) func TestHybridPool(t *testing.T) { t.Parallel() if !(runtime.GOOS == "windows" || runtime.GOOS == "darwin" || runtime.GOOS == "ios") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:48:11 UTC 2024 - 3.7K bytes - Viewed (0) -
src/math/big/intconv_test.go
}{ {"<nil>", "%x", "<nil>"}, {"<nil>", "%#x", "<nil>"}, {"<nil>", "%#y", "%!y(big.Int=<nil>)"}, {"10", "%b", "1010"}, {"10", "%o", "12"}, {"10", "%d", "10"}, {"10", "%v", "10"}, {"10", "%x", "a"}, {"10", "%X", "A"}, {"-10", "%X", "-A"}, {"10", "%y", "%!y(big.Int=10)"}, {"-10", "%y", "%!y(big.Int=-10)"}, {"10", "%#b", "0b1010"}, {"10", "%#o", "012"}, {"10", "%O", "0o12"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 22:58:58 UTC 2019 - 10K bytes - Viewed (0)