Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 413 for bigN (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. docs/en/docs/how-to/nosql-databases-couchbase.md

    # ~~NoSQL (Distributed / Big Data) Databases with Couchbase~~ (deprecated)
    
    !!! info
        These docs are about to be updated. 🎉
    
        The current version assumes Pydantic v1.
    
        The new docs will hopefully use Pydantic v2 and will use <a href="https://art049.github.io/odmantic/" class="external-link" target="_blank">ODMantic</a> with MongoDB.
    
    !!! warning "Deprecated"
        This tutorial is deprecated and will be removed in a future version.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. pkg/registry/core/service/ipallocator/ipallocator.go

    // but using netip.Addr instead of net.IP
    func addOffsetAddress(address netip.Addr, offset uint64) (netip.Addr, error) {
    	addressBytes := address.AsSlice()
    	addressBig := big.NewInt(0).SetBytes(addressBytes)
    	r := big.NewInt(0).Add(addressBig, big.NewInt(int64(offset))).Bytes()
    	// r must be 4 or 16 bytes depending of the ip family
    	// bigInt conversion to bytes will not take this into consideration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 17K bytes
    - Viewed (0)
  10. test/nosplit.go

    # Large frame marked nosplit is always wrong.
    # Frame is so large it overflows cmd/link's int16.
    start 100000 nosplit
    REJECT
    
    # Calling a large frame is okay.
    start 0 call big
    big 10000
    
    # But not if the frame is nosplit.
    start 0 call big
    big 10000 nosplit
    REJECT
    
    # Recursion is okay.
    start 0 call start
    
    # Recursive nosplit runs out of space.
    start 0 nosplit call start
    REJECT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 11.3K bytes
    - Viewed (0)
Back to top