Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 281 for big4 (0.1 sec)

  1. src/strconv/makeisprint.go

    	}
    	fmt.Fprintf(&buf, "}\n\n")
    
    	fmt.Fprintf(&buf, "var isNotPrint32 = []uint16{ // add 0x10000 to each entry\n")
    	for _, r := range except32 {
    		if r >= 0x20000 {
    			log.Fatalf("%U too big for isNotPrint32\n", r)
    		}
    		fmt.Fprintf(&buf, "\t%#04x,\n", r-0x10000)
    	}
    	fmt.Fprintf(&buf, "}\n\n")
    
    	// The list of graphic but not "printable" runes is short. Just make one easy table.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 18:56:17 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. src/crypto/internal/nistec/generate.go

    			log.Fatal(err)
    		}
    
    		// If p = 3 mod 4, implement modular square root by exponentiation.
    		mod4 := new(big.Int).Mod(c.Params.P, big.NewInt(4))
    		if mod4.Cmp(big.NewInt(3)) != 0 {
    			continue
    		}
    
    		exp := new(big.Int).Add(c.Params.P, big.NewInt(1))
    		exp.Div(exp, big.NewInt(4))
    
    		tmp, err := os.CreateTemp("", "addchain-"+p)
    		if err != nil {
    			log.Fatal(err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  3. src/crypto/purego_test.go

    // such as TinyGo. See also the "crypto/...:purego" test in cmd/dist, which
    // ensures the packages build correctly.
    func TestPureGoTag(t *testing.T) {
    	cmd := exec.Command(testenv.GoToolPath(t), "list", "-e", "crypto/...", "math/big")
    	cmd.Env = append(cmd.Env, "GOOS=linux")
    	cmd.Stderr = os.Stderr
    	out, err := cmd.Output()
    	if err != nil {
    		log.Fatalf("loading package list: %v\n%s", err, out)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. src/crypto/rsa/pss_test.go

    	})
    	if err != nil {
    		t.Fatal(err)
    	}
    	err = VerifyPSS(&key.PublicKey, crypto.SHA256, digest[:], signature, nil)
    	if err != nil {
    		t.Error(err)
    	}
    }
    
    func bigFromHex(hex string) *big.Int {
    	n, ok := new(big.Int).SetString(hex, 16)
    	if !ok {
    		panic("bad hex: " + hex)
    	}
    	return n
    }
    
    func intFromHex(hex string) int {
    	i, err := strconv.ParseInt(hex, 16, 32)
    	if err != nil {
    		panic(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. src/internal/runtime/atomic/atomic_test.go

    func TestXadduintptrOnUint64(t *testing.T) {
    	if goarch.BigEndian {
    		// On big endian architectures, we never use xadduintptr to update
    		// 64-bit values and hence we skip the test.  (Note that functions
    		// mSysStat{Inc,Dec} in mstats.go have explicit checks for
    		// big-endianness.)
    		t.Skip("skip xadduintptr on big endian architecture")
    	}
    	const inc = 100
    	val := uint64(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. src/internal/runtime/atomic/atomic_mipsx.s

    // void	Or8(byte volatile*, byte);
    TEXT ·Or8(SB),NOSPLIT,$0-5
    	MOVW	ptr+0(FP), R1
    	MOVBU	val+4(FP), R2
    	MOVW	$~3, R3	// Align ptr down to 4 bytes so we can use 32-bit load/store.
    	AND	R1, R3
    #ifdef GOARCH_mips
    	// Big endian.  ptr = ptr ^ 3
    	XOR	$3, R1
    #endif
    	AND	$3, R1, R4	// R4 = ((ptr & 3) * 8)
    	SLL	$3, R4
    	SLL	R4, R2, R2	// Shift val for aligned ptr. R2 = val << R4
    	SYNC
    try_or8:
    	LL	(R3), R4	// R4 = *R3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 21:29:34 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. cmd/kube-apiserver/app/testing/testserver.go

    		}
    
    		// 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{
    			Subject: pkix.Name{
    				CommonName: "misty",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. doc/next/7-ports.md

    ## Ports {#ports}
    
    ### Darwin {#darwin}
    
    <!-- go.dev/issue/64207 -->
    As [announced](go1.22#darwin) in the Go 1.22 release notes,
    Go 1.23 requires macOS 11 Big Sur or later;
    support for previous versions has been discontinued.
    
    ### Linux {#linux}
    
    <!-- go.dev/issue/67001 -->
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:18:52 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top