Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for LSS (0.06 sec)

  1. src/cmd/compile/internal/rangefunc/rewrite.go

    			// We set checkRet in that case to trigger this check.
    			if r.checkFuncMisuse() {
    				list = append(list, r.ifNext(syntax.Lss, 0, false, r.setStateAt(curLoopIndex, abi.RF_DONE), retStmt(r.useObj(r.false))))
    			} else {
    				list = append(list, r.ifNext(syntax.Lss, 0, false, retStmt(r.useObj(r.false))))
    			}
    		}
    
    		depthStep := perLoopStep * (curLoop)
    
    		if r.checkFuncMisuse() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/printer.go

    	// 	b = next == '.' // 1.
    	// case lexical.Add:
    	// 	b = next == '+' // ++
    	// case lexical.Sub:
    	// 	b = next == '-' // --
    	// case lexical.Quo:
    	// 	b = next == '*' // /*
    	// case lexical.Lss:
    	// 	b = next == '-' || next == '<' // <- or <<
    	// case lexical.And:
    	// 	b = next == '&' || next == '^' // && or &^
    	// }
    	// return
    }
    
    func (p *printer) print(args ...interface{}) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 07:17:27 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  3. src/go/scanner/scanner.go

    		case '^':
    			tok = s.switch2(token.XOR, token.XOR_ASSIGN)
    		case '<':
    			if s.ch == '-' {
    				s.next()
    				tok = token.ARROW
    			} else {
    				tok = s.switch4(token.LSS, token.LEQ, '<', token.SHL, token.SHL_ASSIGN)
    			}
    		case '>':
    			tok = s.switch4(token.GTR, token.GEQ, '>', token.SHR, token.SHR_ASSIGN)
    		case '=':
    			tok = s.switch2(token.ASSIGN, token.EQL)
    		case '!':
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  4. src/go/types/builtins.go

    			check.recordBuiltinType(call.Fun, makeSig(x.typ, types...))
    		}
    
    	case _Max, _Min:
    		// max(x, ...)
    		// min(x, ...)
    		check.verifyVersionf(call.Fun, go1_21, "built-in %s", bin.name)
    
    		op := token.LSS
    		if id == _Max {
    			op = token.GTR
    		}
    
    		for i, a := range args {
    			if a.mode == invalid {
    				return
    			}
    
    			if !allOrdered(a.typ) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/builtins.go

    			check.recordBuiltinType(call.Fun, makeSig(x.typ, types...))
    		}
    
    	case _Max, _Min:
    		// max(x, ...)
    		// min(x, ...)
    		check.verifyVersionf(call.Fun, go1_21, "built-in %s", bin.name)
    
    		op := token.LSS
    		if id == _Max {
    			op = token.GTR
    		}
    
    		for i, a := range args {
    			if a.mode == invalid {
    				return
    			}
    
    			if !allOrdered(a.typ) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/walk/switch.go

    		outer.Emit(&s.done)
    		s.done.Append(ir.NewLabelStmt(s.pos, endLabel))
    		return
    	}
    
    	sort.Slice(cc, func(i, j int) bool {
    		return constant.Compare(cc[i].lo.Val(), token.LSS, cc[j].lo.Val())
    	})
    
    	// Merge consecutive integer cases.
    	if s.exprname.Type().IsInteger() {
    		consecutive := func(last, next constant.Value) bool {
    			delta := constant.BinaryOp(next, token.SUB, last)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  7. src/go/scanner/scanner_test.go

    	{token.LAND, "&&", operator},
    	{token.LOR, "||", operator},
    	{token.ARROW, "<-", operator},
    	{token.INC, "++", operator},
    	{token.DEC, "--", operator},
    
    	{token.EQL, "==", operator},
    	{token.LSS, "<", operator},
    	{token.GTR, ">", operator},
    	{token.ASSIGN, "=", operator},
    	{token.NOT, "!", operator},
    
    	{token.NEQ, "!=", operator},
    	{token.LEQ, "<=", operator},
    	{token.GEQ, ">=", operator},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 15:38:31 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  8. src/go/printer/printer.go

    	switch prev {
    	case token.INT:
    		b = next == '.' // 1.
    	case token.ADD:
    		b = next == '+' // ++
    	case token.SUB:
    		b = next == '-' // --
    	case token.QUO:
    		b = next == '*' // /*
    	case token.LSS:
    		b = next == '-' || next == '<' // <- or <<
    	case token.AND:
    		b = next == '&' || next == '^' // && or &^
    	}
    	return
    }
    
    func (p *printer) setPos(pos token.Pos) {
    	if pos.IsValid() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
Back to top