- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 92 for bigN (0.04 sec)
-
src/time/zoneinfo_read.go
} p := d.p[0:n] d.p = d.p[n:] return p } func (d *dataIO) big4() (n uint32, ok bool) { p := d.read(4) if len(p) < 4 { d.error = true return 0, false } return uint32(p[3]) | uint32(p[2])<<8 | uint32(p[1])<<16 | uint32(p[0])<<24, true } func (d *dataIO) big8() (n uint64, ok bool) { n1, ok1 := d.big4() n2, ok2 := d.big4() if !ok1 || !ok2 { d.error = true return 0, false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 14.4K bytes - Viewed (0) -
src/crypto/rsa/rsa.go
} // Fill in the backwards-compatibility *big.Int values. if priv.Precomputed.Dp != nil { return } priv.Precomputed.Dp = new(big.Int).Sub(priv.Primes[0], bigOne) priv.Precomputed.Dp.Mod(priv.D, priv.Precomputed.Dp) priv.Precomputed.Dq = new(big.Int).Sub(priv.Primes[1], bigOne) priv.Precomputed.Dq.Mod(priv.D, priv.Precomputed.Dq) priv.Precomputed.Qinv = new(big.Int).ModInverse(priv.Primes[1], priv.Primes[0])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:18 UTC 2024 - 23.4K bytes - Viewed (0) -
src/crypto/internal/mlkem768/mlkem768_test.go
func TestZetas(t *testing.T) { ζ := big.NewInt(17) q := big.NewInt(q) for k, zeta := range zetas { // ζ^BitRev7(k) mod q exp := new(big.Int).Exp(ζ, big.NewInt(int64(BitRev7(uint8(k)))), q) if big.NewInt(int64(zeta)).Cmp(exp) != 0 { t.Errorf("zetas[%d] = %v, expected %v", k, zeta, exp) } } } func TestGammas(t *testing.T) { ζ := big.NewInt(17) q := big.NewInt(q) for k, gamma := range gammas {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 15:27:18 UTC 2024 - 10.3K bytes - Viewed (0) -
src/math/rand/v2/regress_test.go
} x = int(big) case reflect.Uint: if m.Name == "Uint" { continue } big := uint64s[repeat%len(uint64s)] if uint64(uint(big)) != big { r.Uint64N(big) // what would happen on 64-bit machine, to keep stream in sync if *update { t.Fatalf("must run -update on 64-bit machine") } p++ continue } x = uint(big) case reflect.Int32:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:03:11 UTC 2024 - 20.3K bytes - Viewed (0) -
cmd/kube-apiserver/app/options/validation_test.go
}, { name: "service cidr is too big", expectErrors: true, options: makeOptionsWithCIDRs("10.0.0.0/8", ""), }, { name: "service cidr IPv4 is too big but gate enbled", expectErrors: false, options: makeOptionsWithCIDRs("10.0.0.0/8", ""), gate: true, }, { name: "service cidr IPv6 is too big but gate enbled", expectErrors: false,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 11.4K bytes - Viewed (0) -
src/crypto/ecdsa/ecdsa.go
func (curve *nistCurve[Point]) pointToAffine(p Point) (x, y *big.Int, err error) { out := p.Bytes() if len(out) == 1 && out[0] == 0 { // This is the encoding of the point at infinity. return nil, nil, errors.New("ecdsa: public key point is the infinity") } byteLen := (curve.curve.Params().BitSize + 7) / 8 x = new(big.Int).SetBytes(out[1 : 1+byteLen]) y = new(big.Int).SetBytes(out[1+byteLen:]) return x, y, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:18 UTC 2024 - 20.4K bytes - Viewed (0) -
src/encoding/binary/binary_test.go
func TestLittleEndianPtrWrite(t *testing.T) { testWrite(t, LittleEndian, little, &s) } func TestBigEndianRead(t *testing.T) { testRead(t, BigEndian, big, s) } func TestBigEndianWrite(t *testing.T) { testWrite(t, BigEndian, big, s) } func TestBigEndianPtrWrite(t *testing.T) { testWrite(t, BigEndian, big, &s) } func TestReadSlice(t *testing.T) { t.Run("Read", func(t *testing.T) { slice := make([]int32, 2)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 19:16:18 UTC 2024 - 25.4K bytes - Viewed (0) -
src/syscall/mksyscall.pl
my $libc = 0; my $tags = ""; # build tags my $newtags = ""; # new style build tags my $stdimports = 'import "unsafe"'; my $extraimports = ""; if($ARGV[0] eq "-b32") { $_32bit = "big-endian"; shift; } elsif($ARGV[0] eq "-l32") { $_32bit = "little-endian"; shift; } if($ARGV[0] eq "-plan9") { $plan9 = 1; shift; } if($ARGV[0] eq "-darwin") { $darwin = 1; $libc = 1;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:15:02 UTC 2024 - 10.3K bytes - Viewed (0) -
src/crypto/internal/bigmod/nat.go
// The announced length of x is set based on the actual bit size of the input, // ignoring leading zeroes. func (x *Nat) setBig(n *big.Int) *Nat { limbs := n.Bits() x.reset(len(limbs)) for i := range limbs { x.limbs[i] = uint(limbs[i]) } return x } // Bytes returns x as a zero-extended big-endian byte slice. The size of the // slice will match the size of m. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 24K 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)