Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,944 for bkts (0.04 sec)

  1. test/inline_math_bits_rotate.go

    // Test that inlining of math/bits.RotateLeft* treats those calls as intrinsics.
    
    package p
    
    import "math/bits"
    
    var (
    	x8  uint8
    	x16 uint16
    	x32 uint32
    	x64 uint64
    	x   uint
    )
    
    func f() { // ERROR "can inline f"
    	x8 = bits.RotateLeft8(x8, 1)
    	x16 = bits.RotateLeft16(x16, 1)
    	x32 = bits.RotateLeft32(x32, 1)
    	x64 = bits.RotateLeft64(x64, 1)
    	x = bits.RotateLeft(x, 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 571 bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

            LockFreeBitArray bits) {
          long bitSize = bits.bitSize();
          long hash64 = Hashing.murmur3_128().hashObject(object, funnel).asLong();
          int hash1 = (int) hash64;
          int hash2 = (int) (hash64 >>> 32);
    
          boolean bitsChanged = false;
          for (int i = 1; i <= numHashFunctions; i++) {
            int combinedHash = hash1 + (i * hash2);
            // Flip all the bits if it's negative (guaranteed positive number)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  3. build-logic/kotlin-dsl/src/main/kotlin/gradlebuild.kotlin-dsl-dependencies-embedded.gradle.kts

        kotlinMainSourceSet.srcDir(apiExtensionsFileCollection)
    
        // Workaround for https://github.com/gradle/gradle/issues/24131
        // See gradlebuild.unittest-and-compile.gradle.kts
        configurations["transitiveSourcesElements"].outgoing.artifact(apiExtensionsOutputDir) {
            builtBy(generateKotlinDependencyExtensions)
        }
    
        processResources {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 22:44:42 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  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