Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 66 for Shift4 (0.08 sec)

  1. src/runtime/symtab.go

    	return p, true
    }
    
    // readvarint reads a varint from p.
    func readvarint(p []byte) (read uint32, val uint32) {
    	var v, shift, n uint32
    	for {
    		b := p[n]
    		n++
    		v |= uint32(b&0x7F) << (shift & 31)
    		if b&0x80 == 0 {
    			break
    		}
    		shift += 7
    	}
    	return n, v
    }
    
    type stackmap struct {
    	n        int32   // number of bitmaps
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  2. src/cmd/vet/vet_test.go

    		"assign",
    		"atomic",
    		"bool",
    		"buildtag",
    		"cgo",
    		"composite",
    		"copylock",
    		"deadcode",
    		"directive",
    		"httpresponse",
    		"lostcancel",
    		"method",
    		"nilfunc",
    		"print",
    		"shift",
    		"slog",
    		"structtag",
    		"testingpkg",
    		// "testtag" has its own test
    		"unmarshal",
    		"unsafeptr",
    		"unused",
    	} {
    		pkg := pkg
    		t.Run(pkg, func(t *testing.T) {
    			t.Parallel()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 01:02:40 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  3. src/math/big/nat.go

    	v := y[len(y)-1] // v > 0 because y is normalized and y > 0
    	shift := nlz(v) + 1
    	v <<= shift
    	var q nat
    
    	const mask = 1 << (_W - 1)
    
    	// We walk through the bits of the exponent one by one. Each time we
    	// see a bit, we square, thus doubling the power. If the bit is a one,
    	// we also multiply by x, thus adding one to the power.
    
    	w := _W - int(shift)
    	// zz and r are used to avoid allocating in mul and div as
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  4. operator/cmd/mesh/install.go

    	})
    	if err != nil {
    		return err
    	}
    	// If there is no default webhook but a revisioned default webhook exists,
    	// and we are installing a new IOP with default semantics, the default webhook shifts.
    	if exists && len(mwhs.Items) == 0 && iop.Spec.GetRevision() == "" {
    		p.Println("The default revision has been updated to point to this installation.")
    	}
    	return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:35 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/check_test.go

    	testFiles(t, []string{"index.go"}, [][]byte{[]byte(src)}, 0, false, withSizes(&StdSizes{4, 4}))
    }
    
    func TestIssue47243_TypedRHS(t *testing.T) {
    	// The RHS of the shift expression below overflows uint on 32bit platforms,
    	// but this is OK as it is explicitly typed.
    	const src = `package issue47243; var a uint64; var _ = a << uint64(4294967296)` // uint64(1<<32)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/typesinternal/errorcode.go

    	// applied to a string.
    	//
    	// Example:
    	//  var s = "hello"
    	//  var x = s[1:2:3]
    	InvalidSliceExpr
    
    	/* exprs > shift */
    
    	// InvalidShiftCount occurs when the right-hand side of a shift operation is
    	// either non-integer, negative, or too large.
    	//
    	// Example:
    	//  var (
    	//  	x string
    	//  	y int = 1 << x
    	//  )
    	InvalidShiftCount
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 34K bytes
    - Viewed (0)
  7. src/go/types/check_test.go

    	testFiles(t, []string{"index.go"}, [][]byte{[]byte(src)}, false, withSizes(&StdSizes{4, 4}))
    }
    
    func TestIssue47243_TypedRHS(t *testing.T) {
    	// The RHS of the shift expression below overflows uint on 32bit platforms,
    	// but this is OK as it is explicitly typed.
    	const src = `package issue47243; var a uint64; var _ = a << uint64(4294967296)` // uint64(1<<32)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. cluster/gce/gci/configure.sh

    #
    # $1 is the sha512/sha1 hash of the URL. Can be "" if the sha512/sha1 hash is unknown.
    # $2+ are the URLs to download.
    function download-or-bust {
      local -r hash="$1"
      shift 1
    
      while true; do
        for url in "$@"; do
          local file="${url##*/}"
          rm -f "${file}"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 04:14:02 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/UnsignedBytes.java

                 * little-endian. Long.numberOfTrailingZeros(diff) tells us the least significant
                 * nonzero bit, and zeroing out the first three bits of L.nTZ gives us the shift to get
                 * that least significant nonzero byte.
                 */
                int n = Long.numberOfTrailingZeros(lw ^ rw) & ~0x7;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  10. src/crypto/cipher/gcm.go

    // gcmDouble returns the result of doubling an element of GF(2¹²⁸).
    func gcmDouble(x *gcmFieldElement) (double gcmFieldElement) {
    	msbSet := x.high&1 == 1
    
    	// Because of the bit-ordering, doubling is actually a right shift.
    	double.high = x.high >> 1
    	double.high |= x.low << 63
    	double.low = x.low >> 1
    
    	// If the most-significant bit was set before shifting then it,
    	// conceptually, becomes a term of x^128. This is greater than the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top