Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 370 for biglen (0.19 sec)

  1. src/cmd/compile/internal/ssa/zcse.go

    // remove duplicate expressions.
    func zcse(f *Func) {
    	vals := make(map[vkey]*Value)
    
    	for _, b := range f.Blocks {
    		for i := 0; i < len(b.Values); i++ {
    			v := b.Values[i]
    			if opcodeTable[v.Op].argLen == 0 {
    				key := vkey{v.Op, keyFor(v), v.Aux, v.Type}
    				if vals[key] == nil {
    					vals[key] = v
    					if b != f.Entry {
    						// Move v to the entry block so it will dominate every block
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 08 01:46:31 UTC 2020
    - 2.1K bytes
    - Viewed (0)
  2. src/crypto/internal/hpke/hpke.go

    	for i := range s.baseNonce {
    		nonce[i] ^= s.baseNonce[i]
    	}
    	// Message limit is, according to the RFC, 2^95+1, which
    	// is somewhat confusing, but we do as we're told.
    	if s.seqNum.bitLen() >= (s.aead.NonceSize()*8)-1 {
    		panic("message limit reached")
    	}
    	s.seqNum = s.seqNum.addOne()
    	return nonce
    }
    
    func (s *Sender) Seal(aad, plaintext []byte) ([]byte, error) {
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:33 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. src/internal/syscall/windows/security_windows.go

    func AdjustTokenPrivileges(token syscall.Token, disableAllPrivileges bool, newstate *TOKEN_PRIVILEGES, buflen uint32, prevstate *TOKEN_PRIVILEGES, returnlen *uint32) error {
    	ret, err := adjustTokenPrivileges(token, disableAllPrivileges, newstate, buflen, prevstate, returnlen)
    	if ret == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 07:21:38 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. src/crypto/internal/bigmod/nat.go

    	m.nat = NewNat().setBig(n)
    	m.leading = _W - bitLen(m.nat.limbs[len(m.nat.limbs)-1])
    	m.m0inv = minusInverseModW(m.nat.limbs[0])
    	m.rr = rr(m)
    	return m, nil
    }
    
    // bitLen is a version of bits.Len that only leaks the bit length of n, but not
    // its value. bits.Len and bits.LeadingZeros use a lookup table for the
    // low-order bits on some architectures.
    func bitLen(n uint) int {
    	var len int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 24K bytes
    - Viewed (0)
  5. src/crypto/cipher/cipher.go

    	// cipher's key stream. Dst and src must overlap entirely or not at all.
    	//
    	// If len(dst) < len(src), XORKeyStream should panic. It is acceptable
    	// to pass a dst bigger than src, and in that case, XORKeyStream will
    	// only update dst[:len(src)] and will not touch the rest of dst.
    	//
    	// Multiple calls to XORKeyStream behave as if the concatenation of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 03:55:33 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  6. src/net/sock_stub.go

    // license that can be found in the LICENSE file.
    
    //go:build aix || js || solaris || wasip1
    
    package net
    
    import "syscall"
    
    func maxListenerBacklog() int {
    	// TODO: Implement this
    	// NOTE: Never return a number bigger than 1<<16 - 1. See issue 5030.
    	return syscall.SOMAXCONN
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 390 bytes
    - Viewed (0)
  7. docs_src/bigger_applications/app/main.py

        prefix="/admin",
        tags=["admin"],
        dependencies=[Depends(get_token_header)],
        responses={418: {"description": "I'm a teapot"}},
    )
    
    
    @app.get("/")
    async def root():
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Nov 29 17:32:18 UTC 2020
    - 552 bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    		got    infDecAmount
    		expect string
    	}{
    		{bigDec(big.NewInt(1), 0), "1"},
    		{bigDec(big.NewInt(1), 1), "10"},
    		{bigDec(big.NewInt(5), 2), "500"},
    		{bigDec(big.NewInt(8), 3), "8000"},
    		{bigDec(big.NewInt(2), 0), "2"},
    		{bigDec(big.NewInt(1), -1), "0.1"},
    		{bigDec(big.NewInt(3), -2), "0.03"},
    		{bigDec(big.NewInt(4), -3), "0.004"},
    		{bigDec(big.NewInt(0).Add(bigMostPositive, big.NewInt(1)), 0), "9223372036854775808"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/api/resource/scale_int.go

    	defer func() {
    		intPool.Put(divisor)
    		intPool.Put(exp)
    		intPool.Put(result)
    	}()
    
    	// divisor = 10^(dif)
    	// TODO: create loop up table if exp costs too much.
    	divisor.Exp(bigTen, exp.SetInt64(int64(dif)), nil)
    	// reuse exp
    	remainder := exp
    
    	// result = unscaled / divisor
    	// remainder = unscaled % divisor
    	result.DivMod(unscaled, divisor, remainder)
    	if remainder.Sign() != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 29 20:41:44 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  10. src/crypto/rsa/pss.go

    // given hash function. salt is a random sequence of bytes whose length will be
    // later used to verify the signature.
    func signPSSWithSalt(priv *PrivateKey, hash crypto.Hash, hashed, salt []byte) ([]byte, error) {
    	emBits := priv.N.BitLen() - 1
    	em, err := emsaPSSEncode(hashed, emBits, salt, hash.New())
    	if err != nil {
    		return nil, err
    	}
    
    	if boring.Enabled {
    		bkey, err := boringPrivateKey(priv)
    		if err != nil {
    			return nil, err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top