Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 876 for cbits (0.09 sec)

  1. src/runtime/mpallocbits.go

    		b.set(i)
    		return
    	}
    	// Set bits [i, j].
    	j := i + n - 1
    	if i/64 == j/64 {
    		b[i/64] |= ((uint64(1) << n) - 1) << (i % 64)
    		return
    	}
    	_ = b[j/64]
    	// Set leading bits.
    	b[i/64] |= ^uint64(0) << (i % 64)
    	for k := i/64 + 1; k < j/64; k++ {
    		b[k] = ^uint64(0)
    	}
    	// Set trailing bits.
    	b[j/64] |= (uint64(1) << (j%64 + 1)) - 1
    }
    
    // setAll sets all the bits of b.
    func (b *pageBits) setAll() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 15:13:43 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/crypto/sha3/hashes.go

    	"hash"
    )
    
    // New224 creates a new SHA3-224 hash.
    // Its generic security strength is 224 bits against preimage attacks,
    // and 112 bits against collision attacks.
    func New224() hash.Hash {
    	return new224()
    }
    
    // New256 creates a new SHA3-256 hash.
    // Its generic security strength is 256 bits against preimage attacks,
    // and 128 bits against collision attacks.
    func New256() hash.Hash {
    	return new256()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. src/internal/zstd/fse.go

    		nextState := next[sym]
    		next[sym]++
    
    		if nextState == 0 {
    			return r.makeError(off, "FSE state error")
    		}
    
    		highBit := 15 - bits.LeadingZeros16(nextState)
    
    		bits := tableBits - highBit
    		table[i].bits = uint8(bits)
    		table[i].base = (nextState << bits) - uint16(tableSize)
    	}
    
    	return nil
    }
    
    // fseBaselineEntry is an entry in an FSE baseline table.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 16:44:06 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  4. src/crypto/internal/bigmod/_asm/nat_amd64_asm.go

    	Package("crypto/internal/bigmod")
    	ConstraintExpr("!purego")
    
    	addMulVVW(1024)
    	addMulVVW(1536)
    	addMulVVW(2048)
    
    	Generate()
    }
    
    func addMulVVW(bits int) {
    	if bits%64 != 0 {
    		panic("bit size unsupported")
    	}
    
    	Implement("addMulVVW" + strconv.Itoa(bits))
    
    	CMPB(Mem{Symbol: Symbol{Name: "·supportADX"}, Base: StaticBase}, Imm(1))
    	JEQ(LabelRef("adx"))
    
    	z := Mem{Base: Load(Param("z"), GP64())}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 22:37:58 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. src/internal/zstd/xxhash.go

    // digest returns the final hash value.
    func (xh *xxhash64) digest() uint64 {
    	var h64 uint64
    	if xh.len < 32 {
    		h64 = xh.v[2] + xxhPrime64c5
    	} else {
    		h64 = bits.RotateLeft64(xh.v[0], 1) +
    			bits.RotateLeft64(xh.v[1], 7) +
    			bits.RotateLeft64(xh.v[2], 12) +
    			bits.RotateLeft64(xh.v[3], 18)
    		h64 = xh.mergeRound(h64, xh.v[0])
    		h64 = xh.mergeRound(h64, xh.v[1])
    		h64 = xh.mergeRound(h64, xh.v[2])
    		h64 = xh.mergeRound(h64, xh.v[3])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:34:13 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. test/codegen/rotate.go

    	a[2] = a[1] & bits.RotateLeft64(a[0], 13)
    	// arm64: "ORR\tR[0-9]+@>51, R[0-9]+, R[0-9]+"
    	a[5] = a[4] | bits.RotateLeft64(a[3], 13)
    	// arm64: "EOR\tR[0-9]+@>51, R[0-9]+, R[0-9]+"
    	a[8] = a[7] ^ bits.RotateLeft64(a[6], 13)
    	// arm64: "MVN\tR[0-9]+@>51, R[0-9]+"
    	a[10] = ^bits.RotateLeft64(a[9], 13)
    	// arm64: "BIC\tR[0-9]+@>51, R[0-9]+, R[0-9]+"
    	a[13] = a[12] &^ bits.RotateLeft64(a[11], 13)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/BloomFilter.java

        /**
         * Sets {@code numHashFunctions} bits of the given bit array, by hashing a user element.
         *
         * <p>Returns whether any bits changed as a result of this operation.
         */
        <T extends @Nullable Object> boolean put(
            @ParametricNullness T object,
            Funnel<? super T> funnel,
            int numHashFunctions,
            LockFreeBitArray bits);
    
        /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  8. src/io/fs/fs.go

    // to another portably. Not all bits apply to all systems.
    // The only required bit is [ModeDir] for directories.
    type FileMode uint32
    
    // The defined file mode bits are the most significant bits of the [FileMode].
    // The nine least-significant bits are the standard Unix rwxrwxrwx permissions.
    // The values of these bits should be considered part of the public API and
    // may be used in wire protocols or disk representations: they must not be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 15 21:21:41 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. src/runtime/gc_test.go

    	// n must always be a multiple of 8, since gcBits is
    	// always rounded up 8 bytes.
    	for _, n := range []int{8, 16, 32, 64, 128} {
    		b.Run(fmt.Sprintf("bits=%d", n*8), func(b *testing.B) {
    			// Initialize a new byte slice with pseduo-random data.
    			bits := make([]byte, n)
    			rand.Read(bits)
    
    			b.ResetTimer()
    			for i := 0; i < b.N; i++ {
    				runtime.MSpanCountAlloc(s, bits)
    			}
    		})
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. 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)
Back to top