Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SHL_ASSIGN (0.13 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/shift/shift.go

    				checkLongShift(pass, node, node.X, node.Y)
    			}
    		case *ast.AssignStmt:
    			if len(node.Lhs) != 1 || len(node.Rhs) != 1 {
    				return
    			}
    			if node.Tok == token.SHL_ASSIGN || node.Tok == token.SHR_ASSIGN {
    				checkLongShift(pass, node, node.Lhs[0], node.Rhs[0])
    			}
    		}
    	})
    	return nil, nil
    }
    
    // checkLongShift checks if shift or shift-assign operations shift by more than
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"RBRACK", Const, 0},
    		{"REM", Const, 0},
    		{"REM_ASSIGN", Const, 0},
    		{"RETURN", Const, 0},
    		{"RPAREN", Const, 0},
    		{"SELECT", Const, 0},
    		{"SEMICOLON", Const, 0},
    		{"SHL", Const, 0},
    		{"SHL_ASSIGN", Const, 0},
    		{"SHR", Const, 0},
    		{"SHR_ASSIGN", Const, 0},
    		{"STRING", Const, 0},
    		{"STRUCT", Const, 0},
    		{"SUB", Const, 0},
    		{"SUB_ASSIGN", Const, 0},
    		{"SWITCH", Const, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top