Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for shifts (1.4 sec)

  1. hack/golangci-hints.yaml

    # enable an increasing amount of checks:
    # - golangci.yaml is the most permissive configuration. All existing code
    #   passed.
    # - golangci-strict.yaml adds checks that all new code in pull requests
    #   must pass.
    # - golangci-hints.yaml adds checks for code patterns where developer
    #   and reviewer may decide whether findings should get addressed before
    #   merging. Beware that the golangci-lint output includes also the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 12:10:09 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. src/cmd/vet/main.go

    	"golang.org/x/tools/go/analysis/passes/lostcancel"
    	"golang.org/x/tools/go/analysis/passes/nilfunc"
    	"golang.org/x/tools/go/analysis/passes/printf"
    	"golang.org/x/tools/go/analysis/passes/shift"
    	"golang.org/x/tools/go/analysis/passes/sigchanyzer"
    	"golang.org/x/tools/go/analysis/passes/slog"
    	"golang.org/x/tools/go/analysis/passes/stdmethods"
    	"golang.org/x/tools/go/analysis/passes/stdversion"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. src/math/big/floatexample_test.go

    	// z = 1002.718282 (0x.faadf854p+10, prec = 32, acc = Below)
    }
    
    func ExampleFloat_shift() {
    	// Implement Float "shift" by modifying the (binary) exponents directly.
    	for s := -5; s <= 5; s++ {
    		x := big.NewFloat(0.5)
    		x.SetMantExp(x, x.MantExp(nil)+s) // shift x by s
    		fmt.Println(x)
    	}
    	// Output:
    	// 0.015625
    	// 0.03125
    	// 0.0625
    	// 0.125
    	// 0.25
    	// 0.5
    	// 1
    	// 2
    	// 4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/LittleEndianByteArray.java

        long result = 0;
        // Due to the way we shift, we can stop iterating once we've run out of data, the rest
        // of the result already being filled with zeros.
    
        // This loop is critical to performance, so please check HashBenchmark if altering it.
        int limit = Math.min(length, 8);
        for (int i = 0; i < limit; i++) {
          // Shift value left while iterating logically through the array.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

        long result = 0;
        // Due to the way we shift, we can stop iterating once we've run out of data, the rest
        // of the result already being filled with zeros.
    
        // This loop is critical to performance, so please check HashBenchmark if altering it.
        int limit = Math.min(length, 8);
        for (int i = 0; i < limit; i++) {
          // Shift value left while iterating logically through the array.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  6. src/crypto/x509/oid.go

    func parseBase128Int(bytes []byte, initOffset int) (ret, offset int, failed bool) {
    	offset = initOffset
    	var ret64 int64
    	for shifted := 0; offset < len(bytes); shifted++ {
    		// 5 * 7 bits per byte == 35 bits of data
    		// Thus the representation is either non-minimal or too large for an int32
    		if shifted == 5 {
    			failed = true
    			return
    		}
    		ret64 <<= 7
    		b := bytes[offset]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 19:10:38 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. src/make.rc

    rm -f ./runtime/runtime_defs.go
    
    # Determine the host compiler toolchain.
    eval `{grep '^(CC|LD|O)=' /$objtype/mkfile}
    
    vflag=()
    if(~ $1 -v) {
    	vflag=(-v)
    	shift
    }
    
    fn bootstrapenv {
    	GOROOT=$GOROOT_BOOTSTRAP GO111MODULE=off GOENV=off GOOS=() GOARCH=() GOEXPERIMENT=() GOFLAGS=() $*
    }
    
    bootgo = 1.20.6
    GOROOT = `{cd .. && pwd}
    goroot_bootstrap_set = 'true'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:48:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. src/cmd/vendor/modules.txt

    golang.org/x/tools/go/analysis/passes/loopclosure
    golang.org/x/tools/go/analysis/passes/lostcancel
    golang.org/x/tools/go/analysis/passes/nilfunc
    golang.org/x/tools/go/analysis/passes/printf
    golang.org/x/tools/go/analysis/passes/shift
    golang.org/x/tools/go/analysis/passes/sigchanyzer
    golang.org/x/tools/go/analysis/passes/slog
    golang.org/x/tools/go/analysis/passes/stdmethods
    golang.org/x/tools/go/analysis/passes/stdversion
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/PPC64latelower.rules

    (AND x:(MOVDconst [m]) n) && m != 0 && isPPC64ValidShiftMask(^m) => (RLDICR [encodePPC64RotateMask(0,m,64)] n)
    
    // If the RLDICL does not rotate its value, a shifted value can be merged.
    (RLDICL [em] x:(SRDconst [s] a)) && (em&0xFF0000) == 0 => (RLDICL [mergePPC64RLDICLandSRDconst(em, s)] a)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. src/make.bash

    rm -f ./runtime/runtime_defs.go
    
    # Finally!  Run the build.
    
    verbose=false
    vflag=""
    if [[ "$1" == "-v" ]]; then
    	verbose=true
    	vflag=-v
    	shift
    fi
    
    goroot_bootstrap_set=${GOROOT_BOOTSTRAP+"true"}
    if [[ -z "$GOROOT_BOOTSTRAP" ]]; then
    	GOROOT_BOOTSTRAP="$HOME/go1.4"
    	for d in sdk/go$bootgo go$bootgo; do
    		if [[ -d "$HOME/$d" ]]; then
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:48:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top