Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 212 for bitPos (0.12 sec)

  1. src/crypto/md5/gen.go

    		{{end}}
    
    		// round 1
    		{{range $i, $s := dup 4 .Shift1 -}}
    			{{printf "arg0 = arg1 + bits.RotateLeft32((((arg2^arg3)&arg1)^arg3)+arg0+x%x+%#08x, %d)" (idx 1 $i) (index $.Table1 $i) $s | relabel}}
    			{{rotate -}}
    		{{end}}
    
    		// round 2
    		{{range $i, $s := dup 4 .Shift2 -}}
    			{{printf "arg0 = arg1 + bits.RotateLeft32((((arg1^arg2)&arg3)^arg2)+arg0+x%x+%#08x, %d)" (idx 2 $i) (index $.Table2 $i) $s | relabel}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. src/math/big/float.go

    	m := uint32(len(z.mant)) // present mantissa length in words
    	bits := m * _W           // present mantissa bits; bits > 0
    	if bits <= z.prec {
    		// mantissa fits => nothing to do
    		return
    	}
    	// bits > z.prec
    
    	// Rounding is based on two bits: the rounding bit (rbit) and the
    	// sticky bit (sbit). The rbit is the bit immediately before the
    	// z.prec leading mantissa bits (the "0.5"). The sbit is set if any
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
  3. src/crypto/rsa/rsa.go

    func GenerateMultiPrimeKey(random io.Reader, nprimes int, bits int) (*PrivateKey, error) {
    	randutil.MaybeReadByte(random)
    
    	if boring.Enabled && random == boring.RandReader && nprimes == 2 &&
    		(bits == 2048 || bits == 3072 || bits == 4096) {
    		bN, bE, bD, bP, bQ, bDp, bDq, bQinv, err := boring.GenerateKeyRSA(bits)
    		if err != nil {
    			return nil, err
    		}
    		N := bbig.Dec(bN)
    		E := bbig.Dec(bE)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  4. src/crypto/internal/nistec/p256_asm.go

    	var b uint64
    	_, b = bits.Sub64(x[0], p256P[0], b)
    	_, b = bits.Sub64(x[1], p256P[1], b)
    	_, b = bits.Sub64(x[2], p256P[2], b)
    	_, b = bits.Sub64(x[3], p256P[3], b)
    	return int(b)
    }
    
    // p256Add sets res = x + y.
    func p256Add(res, x, y *p256Element) {
    	var c, b uint64
    	t1 := make([]uint64, 4)
    	t1[0], c = bits.Add64(x[0], y[0], 0)
    	t1[1], c = bits.Add64(x[1], y[1], c)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "BitRev8", argLength: 1},  // Reverse the bits in arg[0]
    	{name: "BitRev16", argLength: 1}, // Reverse the bits in arg[0]
    	{name: "BitRev32", argLength: 1}, // Reverse the bits in arg[0]
    	{name: "BitRev64", argLength: 1}, // Reverse the bits in arg[0]
    
    	{name: "PopCount8", argLength: 1},  // Count bits in arg[0]
    	{name: "PopCount16", argLength: 1}, // Count bits in arg[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewrite.go

    	} else if nbits == 32 {
    		mb = bits.LeadingZeros32(uint32(mask))
    		me = 32 - bits.TrailingZeros32(uint32(mask))
    		mbn = bits.LeadingZeros32(^uint32(mask))
    		men = 32 - bits.TrailingZeros32(^uint32(mask))
    	} else {
    		mb = bits.LeadingZeros64(uint64(mask))
    		me = 64 - bits.TrailingZeros64(uint64(mask))
    		mbn = bits.LeadingZeros64(^uint64(mask))
    		men = 64 - bits.TrailingZeros64(^uint64(mask))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  7. src/crypto/internal/hpke/hpke.go

    	return kemInfo.curve.NewPublicKey(bytes)
    }
    
    type uint128 struct {
    	hi, lo uint64
    }
    
    func (u uint128) addOne() uint128 {
    	lo, carry := bits.Add64(u.lo, 1, 0)
    	return uint128{u.hi + carry, lo}
    }
    
    func (u uint128) bitLen() int {
    	return bits.Len64(u.hi) + bits.Len64(u.lo)
    }
    
    func (u uint128) bytes() []byte {
    	b := make([]byte, 16)
    	binary.BigEndian.PutUint64(b[0:], u.hi)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:33 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/crypto/sha3/sha3.go

    		keccakF1600(&d.a)
    		d.i = 0
    		copyOut(d, d.storage[:d.rate])
    	}
    }
    
    // pads appends the domain separation bits in dsbyte, applies
    // the multi-bitrate 10..1 padding rule, and permutes the state.
    func (d *state) padAndPermute() {
    	// Pad with this instance's domain-separator bits. We know that there's
    	// at least one byte of space in d.buf because, if it were full,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/CompactHashMap.java

      // array. The top bits of this value are the remaining bits of the hash value that were not used
      // in the short hash. We saw that a mask of 0x7f would keep the 7-bit value 0x6f from a full
      // hashcode of 0x89abcdef. The imaginary `hash` value would then be the remaining top 25 bits,
      // 0x89abcd80. To this is added (or'd) the `next` value, which is an index within `entries`
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  10. src/runtime/sys_openbsd3.go

    // Otherwise (the non-X version) expects a 32-bit result.
    // This distinction is required because an error is indicated by returning -1,
    // and we need to know whether to check 32 or 64 bits of the result.
    // (Some libc functions that return 32 bits put junk in the upper 32 bits of AX.)
    
    // golang.org/x/sys linknames syscall_syscall
    // (in addition to standard package syscall).
    // Do not remove or change the type signature.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top