Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 197 for goTo (0.12 sec)

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

    		}
    	}
    
    	switch x {
    	case 0:
    		goto L1
    		L1: fallthrough; ;
    	case 1:
    		goto L2
    		goto L3
    		goto L4
    		L2: L3: L4: fallthrough
    	default:
    	}
    
    	switch x {
    	case 0:
    		goto L5
    		L5: fallthrough
    	default:
    		goto L6
    		goto L7
    		goto L8
    		L6: L7: L8: fallthrough /* ERROR "cannot fallthrough final case in switch" */
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/func_test.go

    func Valu(name string, op Op, t *types.Type, auxint int64, aux Aux, args ...string) valu {
    	return valu{name, op, t, auxint, aux, args}
    }
    
    // Goto specifies that this is a BlockPlain and names the single successor.
    // TODO(matloob): choose a better name.
    func Goto(succ string) ctrl {
    	return ctrl{BlockPlain, "", []string{succ}}
    }
    
    // If specifies a BlockIf.
    func If(cond, sub, alt string) ctrl {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:01:04 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  3. src/regexp/exec.go

    				m.matchcap[0] = 0
    				m.matchcap[1] = pos
    			}
    			goto Return
    		case syntax.InstRune:
    			if !inst.MatchRune(r) {
    				goto Return
    			}
    		case syntax.InstRune1:
    			if r != inst.Rune[0] {
    				goto Return
    			}
    		case syntax.InstRuneAny:
    			// Nothing
    		case syntax.InstRuneAnyNotNL:
    			if r == '\n' {
    				goto Return
    			}
    		// peek at the input rune to see which branch of the Alt to take
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 04 20:10:54 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/branches.go

    							ls.err(
    								fwd.Label.Pos(),
    								"goto %s jumps over declaration of %s at %s",
    								name, String(varName), varPos,
    							)
    						}
    					} else {
    						// no match - keep forward goto
    						fwdGotos[i] = fwd
    						i++
    					}
    				}
    				fwdGotos = fwdGotos[:i]
    				lstmt = s
    			}
    			// process labeled statement
    			stmt = s.Stmt
    			goto L
    
    		case *BranchStmt:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Jun 26 00:21:29 UTC 2022
    - 9.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/syntax/scanner.go

    		s.op, s.prec = Add, precAdd
    		if s.ch != '+' {
    			goto assignop
    		}
    		s.nextch()
    		s.nlsemi = true
    		s.tok = _IncOp
    
    	case '-':
    		s.nextch()
    		s.op, s.prec = Sub, precAdd
    		if s.ch != '-' {
    			goto assignop
    		}
    		s.nextch()
    		s.nlsemi = true
    		s.tok = _IncOp
    
    	case '*':
    		s.nextch()
    		s.op, s.prec = Mul, precMul
    		// don't goto assignop - want _Star token
    		if s.ch == '=' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 28 18:17:41 UTC 2022
    - 17.1K bytes
    - Viewed (0)
  6. src/syscall/exec_plan9.go

    	dupdevfd = int(r1)
    	if dupdevfd == -1 {
    		goto childerror
    	}
    dirloop:
    	for {
    		r1, _, _ = RawSyscall6(SYS_PREAD, uintptr(dupdevfd), uintptr(unsafe.Pointer(&statbuf[0])), uintptr(len(statbuf)), ^uintptr(0), ^uintptr(0), 0)
    		n = int(r1)
    		switch n {
    		case -1:
    			goto childerror
    		case 0:
    			break dirloop
    		}
    		for b = statbuf[:n]; len(b) > 0; {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. src/debug/dwarf/type.go

    		enc, ok := e.Val(AttrEncoding).(int64)
    		if !ok {
    			err = DecodeError{name, e.Offset, "missing encoding attribute for " + name}
    			goto Error
    		}
    		switch enc {
    		default:
    			err = DecodeError{name, e.Offset, "unrecognized encoding attribute value"}
    			goto Error
    
    		case encAddress:
    			typ = new(AddrType)
    		case encBoolean:
    			typ = new(BoolType)
    		case encComplexFloat:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modindex/build_read.go

    					}
    					continue
    				}
    				if c == '"' {
    					c = r.readByteNoBuf()
    					goto Reswitch
    				}
    			}
    			goto Reswitch
    
    		case '`':
    			startLine = false
    			for r.err == nil {
    				if r.eof {
    					r.syntaxError()
    				}
    				c = r.readByteNoBuf()
    				if c == '`' {
    					c = r.readByteNoBuf()
    					goto Reswitch
    				}
    			}
    
    		case '\'':
    			startLine = false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 10:10:21 UTC 2023
    - 13K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/loopreschedchecks.go

    		// bb.Succs[p.i] == Edge{h, i}
    		// h.Preds[i] == p == Edge{bb,p.i}
    		//
    		// new block(s):
    		// test:
    		//    if sp < g.limit { goto sched }
    		//    goto join
    		// sched:
    		//    mem1 := call resched (mem0)
    		//    goto join
    		// join:
    		//    mem2 := phi(mem0, mem1)
    		//    goto h
    		//
    		// and correct arg i of headerMemPhi and headerCtrPhi
    		//
    		// EXCEPT: join block containing only phi functions is bad
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 21:17:10 UTC 2023
    - 16K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/call.go

    		// don't crash for "type T T.x" (was go.dev/issue/51509)
    		if def != nil && def.typ == x.typ {
    			check.cycleError([]Object{def}, 0)
    			goto Error
    		}
    	case builtin:
    		check.errorf(e.Pos(), UncalledBuiltin, "cannot select on %s", x)
    		goto Error
    	case invalid:
    		goto Error
    	}
    
    	// Avoid crashing when checking an invalid selector in a method declaration
    	// (i.e., where def is not set):
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
Back to top