Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for goTo (0.06 sec)

  1. doc/go_spec.html

    		}
    	}
    </pre>
    
    <h3 id="Goto_statements">Goto statements</h3>
    
    <p>
    A "goto" statement transfers control to the statement with the corresponding label
    within the same function.
    </p>
    
    <pre class="ebnf">
    GotoStmt = "goto" Label .
    </pre>
    
    <pre>
    goto Error
    </pre>
    
    <p>
    Executing the "goto" statement must not cause any variables to come into
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/ssa.go

    			break
    		}
    		lab := s.label(sym)
    
    		// The label might already have a target block via a goto.
    		if lab.target == nil {
    			lab.target = s.f.NewBlock(ssa.BlockPlain)
    		}
    
    		// Go to that label.
    		// (We pretend "label:" is preceded by "goto label", unless the predecessor is unreachable.)
    		if s.curBlock != nil {
    			b := s.endBlock()
    			b.AddEdgeTo(lab.target)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  3. src/net/http/h2_bundle.go

    			v = d - 'A' + 10
    		default:
    			n = 0
    			err = strconv.ErrSyntax
    			goto Error
    		}
    		if int(v) >= base {
    			n = 0
    			err = strconv.ErrSyntax
    			goto Error
    		}
    
    		if n >= cutoff {
    			// n*base overflows
    			n = 1<<64 - 1
    			err = strconv.ErrRange
    			goto Error
    		}
    		n *= uint64(base)
    
    		n1 := n + uint64(v)
    		if n1 < n || n1 > maxVal {
    			// n+v overflows
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
Back to top