- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 69 for BeUint64 (0.2 sec)
-
src/encoding/asn1/asn1_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 29 18:24:36 UTC 2023 - 43.6K bytes - Viewed (0) -
src/math/big/float.go
// no effect). func (z *Float) SetUint64(x uint64) *Float { return z.setBits64(false, x) } // SetInt64 sets z to the (possibly rounded) value of x and returns z. // If z's precision is 0, it is changed to 64 (and rounding will have // no effect). func (z *Float) SetInt64(x int64) *Float { u := x if u < 0 { u = -u } // We cannot simply call z.SetUint64(uint64(u)) and change
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/math/big/alias_test.go
type notZeroInt struct { *big.Int } func (notZeroInt) Generate(rand *rand.Rand, size int) reflect.Value { n := generatePositiveInt(rand, size) if rand.Intn(4) == 0 { n.Neg(n) } if n.Sign() == 0 { n.SetInt64(1) } return reflect.ValueOf(notZeroInt{n}) } type positiveInt struct { *big.Int } func (positiveInt) Generate(rand *rand.Rand, size int) reflect.Value { n := generatePositiveInt(rand, size)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 19 15:49:05 UTC 2022 - 8.8K bytes - Viewed (0) -
src/crypto/internal/edwards25519/scalar.go
} else if w > 8 { panic("NAF digits must fit in int8") } var naf [256]int8 var digits [5]uint64 for i := 0; i < 4; i++ { digits[i] = byteorder.LeUint64(b[i*8:]) } width := uint64(1 << w) windowMask := uint64(width - 1) pos := uint(0) carry := uint64(0) for pos < 256 { indexU64 := pos / 64 indexBit := pos % 64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 10.8K bytes - Viewed (0) -
src/go/constant/value.go
func newFloat() *big.Float { return new(big.Float).SetPrec(prec) } func i64toi(x int64Val) intVal { return intVal{newInt().SetInt64(int64(x))} } func i64tor(x int64Val) ratVal { return ratVal{newRat().SetInt64(int64(x))} } func i64tof(x int64Val) floatVal { return floatVal{newFloat().SetInt64(int64(x))} } func itor(x intVal) ratVal { return ratVal{newRat().SetInt(x.val)} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 34K bytes - Viewed (0) -
cmd/kubeadm/app/util/pkiutil/pki_helpers.go
// returns a uniform random value in [0, max-1), then add 1 to serial to make it a uniform random value in [1, max). serial, err := cryptorand.Int(cryptorand.Reader, new(big.Int).SetInt64(math.MaxInt64-1)) if err != nil { return nil, err } serial = new(big.Int).Add(serial, big.NewInt(1)) if len(cfg.CommonName) == 0 { return nil, errors.New("must specify a CommonName") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 25.5K bytes - Viewed (0) -
cmd/data-scanner.go
scannerIdleMode = uatomic.NewInt32(0) // default is throttled when idle scannerExcessObjectVersions = uatomic.NewInt64(100) scannerExcessObjectVersionsTotalSize = uatomic.NewInt64(1024 * 1024 * 1024 * 1024) // 1 TB scannerExcessFolders = uatomic.NewInt64(50000) ) // initDataScanner will start the scanner in the background. func initDataScanner(ctx context.Context, objAPI ObjectLayer) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:43:17 UTC 2024 - 47.6K bytes - Viewed (0) -
src/time/time_test.go
b1e9 = new(big.Int) ) b1e9.SetInt64(1e9) testOne := func(ti, tns, di int64) bool { t.Helper() t0 := Unix(ti, tns).UTC() d := Duration(di) if d < 0 { d = -d } if d <= 0 { d = 1 } // Compute bt = absolute nanoseconds. sec, nsec := abs(t0) bsec.SetInt64(sec) bnsec.SetInt64(nsec) bt.Mul(bsec, b1e9) bt.Add(bt, bnsec)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:13:47 UTC 2024 - 56.5K bytes - Viewed (0) -
pilot/pkg/config/kube/crdclient/client_test.go
for _, s := range collections.Pilot.All() { clienttest.MakeCRD(t, fake, s.GroupVersionResource()) } stop := test.NewStop(t) c := New(fake, Option{}) events := atomic.NewInt64(0) c.RegisterEventHandler(gvk.ServiceEntry, func(c config.Config, c2 config.Config, event model.Event) { events.Inc() }) go c.Run(stop) fake.RunAndWait(stop) kube.WaitForCacheSync("test", stop, c.HasSynced)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 02:58:52 UTC 2024 - 14.1K bytes - Viewed (0) -
cmd/kube-apiserver/app/testing/testserver.go
if err != nil { return result, err } // make a client certificate for the api server - common name has to match one of our defined names above serial, err := rand.Int(rand.Reader, new(big.Int).SetInt64(math.MaxInt64-1)) if err != nil { return result, err } serial = new(big.Int).Add(serial, big.NewInt(1)) tenThousandHoursLater := time.Now().Add(10_000 * time.Hour) certTmpl := x509.Certificate{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:59:21 UTC 2024 - 17.6K bytes - Viewed (0)