Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 586 for shifts (0.11 sec)

  1. src/internal/types/testdata/check/shifts.go

    }
    
    func shifts8() {
    	// shift examples from shift discussion: better error messages
    	var s uint
    	_ = 1.0 /* ERROR "shifted operand 1.0 (type float64) must be integer" */ <<s == 1
    	_ = 1.0 /* ERROR "shifted operand 1.0 (type float64) must be integer" */ <<s == 1.0
    	_ = 1 /* ERROR "shifted operand 1 (type float64) must be integer" */ <<s == 1.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  2. src/go/types/testdata/local/shifts.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // The following shift tests are disabled in the shared
    // testdata/check/shifts.go file because they don't work
    // correctly with types2 at the moment. See go.dev/issue/52080.
    // Make sure we keep testing them with go/types.
    //
    // TODO(gri) Once go.dev/issue/52080 is fixed, this file can be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 01 21:31:01 UTC 2023
    - 886 bytes
    - Viewed (0)
  3. src/compress/flate/testdata/huffman-shifts.in

    Klaus Post <******@****.***> 1457448890 +0100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 11 17:40:52 UTC 2016
    - 6.4K bytes
    - Viewed (0)
  4. src/compress/flate/testdata/huffman-shifts.golden

    Klaus Post <******@****.***> 1457448890 +0100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 11 17:40:52 UTC 2016
    - 1.8K bytes
    - Viewed (0)
  5. src/compress/flate/testdata/huffman-shifts.wb.expect

    Klaus Post <******@****.***> 1457448890 +0100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 11 17:40:52 UTC 2016
    - 32 bytes
    - Viewed (0)
  6. src/compress/flate/testdata/huffman-shifts.dyn.expect

    Klaus Post <******@****.***> 1457448890 +0100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 11 17:40:52 UTC 2016
    - 32 bytes
    - Viewed (0)
  7. src/compress/flate/testdata/huffman-shifts.dyn.expect-noinput

    Klaus Post <******@****.***> 1457448890 +0100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 11 17:40:52 UTC 2016
    - 32 bytes
    - Viewed (0)
  8. src/compress/flate/testdata/huffman-shifts.wb.expect-noinput

    Klaus Post <******@****.***> 1457448890 +0100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 11 17:40:52 UTC 2016
    - 32 bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/shift/shift.go

    			}
    		}
    	})
    	return nil, nil
    }
    
    // checkLongShift checks if shift or shift-assign operations shift by more than
    // the length of the underlying variable.
    func checkLongShift(pass *analysis.Pass, node ast.Node, x, y ast.Expr) {
    	if pass.TypesInfo.Types[x].Value != nil {
    		// Ignore shifts of constants.
    		// These are frequently used for bit-twiddling tricks
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. src/runtime/asm_386.s

    DATA shifts<>+0x28(SB)/4, $0xffffffff
    DATA shifts<>+0x2c(SB)/4, $0xffffffff
    
    DATA shifts<>+0x30(SB)/4, $0xff0f0e0d
    DATA shifts<>+0x34(SB)/4, $0xffffffff
    DATA shifts<>+0x38(SB)/4, $0xffffffff
    DATA shifts<>+0x3c(SB)/4, $0xffffffff
    
    DATA shifts<>+0x40(SB)/4, $0x0f0e0d0c
    DATA shifts<>+0x44(SB)/4, $0xffffffff
    DATA shifts<>+0x48(SB)/4, $0xffffffff
    DATA shifts<>+0x4c(SB)/4, $0xffffffff
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 15:45:13 UTC 2024
    - 43.1K bytes
    - Viewed (0)
Back to top