Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 98 for bkts (0.07 sec)

  1. src/crypto/tls/conn.go

    		// if i <= paddingLen then the MSB of t is zero
    		mask := byte(int32(^t) >> 31)
    		b := payload[len(payload)-1-i]
    		good &^= mask&paddingLen ^ mask&b
    	}
    
    	// We AND together the bits of good and replicate the result across
    	// all the bits.
    	good &= good << 4
    	good &= good << 2
    	good &= good << 1
    	good = uint8(int8(good) >> 7)
    
    	// Zero the padding length on error. This ensures any unchecked bytes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    )
    
    const letterBytes = "abcdefghijklmnopqrstuvwxyz01234569"
    const (
    	letterIdxBits = 6                    // 6 bits to represent a letter index
    	letterIdxMask = 1<<letterIdxBits - 1 // All 1-bits, as many as letterIdxBits
    	letterIdxMax  = 63 / letterIdxBits   // # of letter indices fitting in 63 bits
    )
    
    // Random number state.
    // We generate random temporary file names so that there's a good
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  3. src/runtime/map.go

    //
    // A map is just a hash table. The data is arranged
    // into an array of buckets. Each bucket contains up to
    // 8 key/elem pairs. The low-order bits of the hash are
    // used to select a bucket. Each bucket contains a few
    // high-order bits of each hash to distinguish the entries
    // within a single bucket.
    //
    // If more than 8 keys hash to a bucket, we chain on
    // extra buckets.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  4. src/go/types/expr.go

    			check.langCompat(e)
    			// The max. mantissa precision for untyped numeric values
    			// is 512 bits, or 4048 bits for each of the two integer
    			// parts of a fraction for floating-point numbers that are
    			// represented accurately in the go/constant package.
    			// Constant literals that are longer than this many bits
    			// are not meaningful; and excessively long constants may
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modload/load.go

    // added atomically.
    type atomicLoadPkgFlags struct {
    	bits atomic.Int32
    }
    
    // update sets the given flags in af (in addition to any flags already set).
    //
    // update returns the previous flag state so that the caller may determine which
    // flags were newly-set.
    func (af *atomicLoadPkgFlags) update(flags loadPkgFlags) (old loadPkgFlags) {
    	for {
    		old := af.bits.Load()
    		new := old | int32(flags)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  6. src/html/template/exec_test.go

    // of the max int boundary.
    // We do it this way so the test doesn't depend on ints being 32 bits.
    var (
    	bigInt  = fmt.Sprintf("0x%x", int(1<<uint(reflect.TypeFor[int]().Bits()-1)-1))
    	bigUint = fmt.Sprintf("0x%x", uint(1<<uint(reflect.TypeFor[int]().Bits()-1)))
    )
    
    var execTests = []execTest{
    	// Trivial cases.
    	{"empty", "", "", nil, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/expr.go

    			check.langCompat(e)
    			// The max. mantissa precision for untyped numeric values
    			// is 512 bits, or 4048 bits for each of the two integer
    			// parts of a fraction for floating-point numbers that are
    			// represented accurately in the go/constant package.
    			// Constant literals that are longer than this many bits
    			// are not meaningful; and excessively long constants may
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  8. src/cmd/link/internal/loader/loader.go

    	n, r := uint(i)/32, uint(i)%32
    	return bm[n]&(1<<r) != 0
    }
    
    // return current length of bitmap in bits.
    func (bm Bitmap) Len() int {
    	return len(bm) * 32
    }
    
    // return the number of bits set.
    func (bm Bitmap) Count() int {
    	s := 0
    	for _, x := range bm {
    		s += bits.OnesCount32(x)
    	}
    	return s
    }
    
    func MakeBitmap(n int) Bitmap {
    	return make(Bitmap, (n+31)/32)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  9. src/runtime/traceback.go

    		}
    		if off < startOffset {
    			return true
    		}
    		bits := *(*uint8)(add(liveInfo, uintptr(liveIdx)+uintptr(slotIdx/8)))
    		return bits&(1<<(slotIdx%8)) != 0
    	}
    
    	print1 := func(off, sz, slotIdx uint8) {
    		x := readUnaligned64(add(argp, uintptr(off)))
    		// mask out irrelevant bits
    		if sz < 8 {
    			shift := 64 - sz*8
    			if goarch.BigEndian {
    				x = x >> shift
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  10. src/text/template/exec_test.go

    // of the max int boundary.
    // We do it this way so the test doesn't depend on ints being 32 bits.
    var (
    	bigInt  = fmt.Sprintf("0x%x", int(1<<uint(reflect.TypeFor[int]().Bits()-1)-1))
    	bigUint = fmt.Sprintf("0x%x", uint(1<<uint(reflect.TypeFor[int]().Bits()-1)))
    )
    
    var execTests = []execTest{
    	// Trivial cases.
    	{"empty", "", "", nil, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
Back to top