Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,048 for bkts (0.04 sec)

  1. src/vendor/golang.org/x/crypto/internal/poly1305/sum_generic.go

    }
    
    // uint128 holds a 128-bit number as two 64-bit limbs, for use with the
    // bits.Mul64 and bits.Add64 intrinsics.
    type uint128 struct {
    	lo, hi uint64
    }
    
    func mul64(a, b uint64) uint128 {
    	hi, lo := bits.Mul64(a, b)
    	return uint128{lo, hi}
    }
    
    func add128(a, b uint128) uint128 {
    	lo, c := bits.Add64(a.lo, b.lo, 0)
    	hi, c := bits.Add64(a.hi, b.hi, c)
    	if c != 0 {
    		panic("poly1305: unexpected overflow")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. src/crypto/sha512/sha512block.go

    			v1 := w[i-2]
    			t1 := bits.RotateLeft64(v1, -19) ^ bits.RotateLeft64(v1, -61) ^ (v1 >> 6)
    			v2 := w[i-15]
    			t2 := bits.RotateLeft64(v2, -1) ^ bits.RotateLeft64(v2, -8) ^ (v2 >> 7)
    
    			w[i] = t1 + w[i-7] + t2 + w[i-16]
    		}
    
    		a, b, c, d, e, f, g, h := h0, h1, h2, h3, h4, h5, h6, h7
    
    		for i := 0; i < 80; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 21:17:08 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. src/crypto/rand/util.go

    // Prime will return error for any error returned by [rand.Read] or if bits < 2.
    func Prime(rand io.Reader, bits int) (*big.Int, error) {
    	if bits < 2 {
    		return nil, errors.New("crypto/rand: prime size must be at least 2-bit")
    	}
    
    	randutil.MaybeReadByte(rand)
    
    	b := uint(bits % 8)
    	if b == 0 {
    		b = 8
    	}
    
    	bytes := make([]byte, (bits+7)/8)
    	p := new(big.Int)
    
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. src/crypto/sha256/sha256block.go

    			v1 := w[i-2]
    			t1 := (bits.RotateLeft32(v1, -17)) ^ (bits.RotateLeft32(v1, -19)) ^ (v1 >> 10)
    			v2 := w[i-15]
    			t2 := (bits.RotateLeft32(v2, -7)) ^ (bits.RotateLeft32(v2, -18)) ^ (v2 >> 3)
    			w[i] = t1 + w[i-7] + t2 + w[i-16]
    		}
    
    		a, b, c, d, e, f, g, h := h0, h1, h2, h3, h4, h5, h6, h7
    
    		for i := 0; i < 64; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 21:21:42 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. src/cmd/internal/notsha256/sha256block.go

    			v1 := w[i-2]
    			t1 := (bits.RotateLeft32(v1, -17)) ^ (bits.RotateLeft32(v1, -19)) ^ (v1 >> 10)
    			v2 := w[i-15]
    			t2 := (bits.RotateLeft32(v2, -7)) ^ (bits.RotateLeft32(v2, -18)) ^ (v2 >> 3)
    			w[i] = t1 + w[i-7] + t2 + w[i-16]
    		}
    
    		a, b, c, d, e, f, g, h := h0, h1, h2, h3, h4, h5, h6, h7
    
    		for i := 0; i < 64; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 29 14:23:17 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  6. src/cmd/internal/gcprog/gcprog.go

    //
    // The GC program encodes a sequence of 0 and 1 bits indicating scalar or pointer words in an object.
    // The encoding is a simple Lempel-Ziv program, with codes to emit literal bits and to repeat the
    // last n bits c times.
    //
    // The possible codes are:
    //
    //	00000000: stop
    //	0nnnnnnn: emit n bits copied from the next (n+7)/8 bytes, least significant bit first
    //	10000000 n c: repeat the previous n bits c times; n, c are varints
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/ChecksumHashFunction.java

      private final int bits;
      private final String toString;
    
      ChecksumHashFunction(
          ImmutableSupplier<? extends Checksum> checksumSupplier, int bits, String toString) {
        this.checksumSupplier = checkNotNull(checksumSupplier);
        checkArgument(bits == 32 || bits == 64, "bits (%s) must be either 32 or 64", bits);
        this.bits = bits;
        this.toString = checkNotNull(toString);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 22:01:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. src/math/floor.go

    		const halfMinusULP = (1 << (shift - 1)) - 1
    		e -= bias
    		bits += (halfMinusULP + (bits>>(shift-e))&1) >> e
    		bits &^= fracMask >> e
    	} else if e == bias-1 && bits&fracMask != 0 {
    		// Round 0.5 < abs(x) < 1.
    		bits = bits&signMask | uvone // +-1
    	} else {
    		// Round abs(x) <= 0.5 including denormals.
    		bits &= signMask // +-0
    	}
    	return Float64frombits(bits)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  9. src/compress/flate/huffman_code.go

    	code := uint16(0)
    	for n, bits := range bitCount {
    		code <<= 1
    		if n == 0 || bits == 0 {
    			continue
    		}
    		// The literals list[len(list)-bits] .. list[len(list)-bits]
    		// are encoded using "bits" bits, and get the values
    		// code, code + 1, ....  The code values are
    		// assigned in literal order (not frequency order).
    		chunk := list[len(list)-int(bits):]
    
    		h.lns.sort(chunk)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/magic.go

    // So RotRight(x, k) == ⎣x/(2^k)⎦ <= ⎣a/(2^k)⎦
    //
    // If x does not end in k zero bits, then RotRight(x, k)
    // has some non-zero bits in the k highest bits.
    // ⎣x/(2^k)⎦ has all zeroes in the k highest bits,
    // so RotRight(x, k) > ⎣x/(2^k)⎦
    //
    // Finally, if x > a and has k trailing zero bits, then RotRight(x, k) == ⎣x/(2^k)⎦
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:25 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top