Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for goTo (0.55 sec)

  1. src/syscall/exec_linux.go

    		if err1 != 0 {
    			goto childerror
    		}
    		if pid != unsafe.Sizeof(err2) {
    			err1 = EINVAL
    			goto childerror
    		}
    		if err2 != 0 {
    			err1 = err2
    			goto childerror
    		}
    	}
    
    	// Session ID
    	if sys.Setsid {
    		_, _, err1 = RawSyscall(SYS_SETSID, 0, 0, 0)
    		if err1 != 0 {
    			goto childerror
    		}
    	}
    
    	// Set process group
    	if sys.Setpgid || sys.Foreground {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/go/types/call.go

    		if def != nil && def.typ == x.typ {
    			check.cycleError([]Object{def}, 0)
    			goto Error
    		}
    	case builtin:
    		// types2 uses the position of '.' for the error
    		check.errorf(e.Sel, 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
    - 33.5K bytes
    - Viewed (0)
  5. src/runtime/map_fast64.go

    			// change those to emptyRest states.
    			if i == abi.MapBucketCount-1 {
    				if b.overflow(t) != nil && b.overflow(t).tophash[0] != emptyRest {
    					goto notLast
    				}
    			} else {
    				if b.tophash[i+1] != emptyRest {
    					goto notLast
    				}
    			}
    			for {
    				b.tophash[i] = emptyRest
    				if i == 0 {
    					if b == bOrig {
    						break // beginning of initial bucket, we're done.
    					}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. src/go/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: Wed May 29 16:25:21 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. src/runtime/map_fast32.go

    			// change those to emptyRest states.
    			if i == abi.MapBucketCount-1 {
    				if b.overflow(t) != nil && b.overflow(t).tophash[0] != emptyRest {
    					goto notLast
    				}
    			} else {
    				if b.tophash[i+1] != emptyRest {
    					goto notLast
    				}
    			}
    			for {
    				b.tophash[i] = emptyRest
    				if i == 0 {
    					if b == bOrig {
    						break // beginning of initial bucket, we're done.
    					}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. src/runtime/map_faststr.go

    			// change those to emptyRest states.
    			if i == abi.MapBucketCount-1 {
    				if b.overflow(t) != nil && b.overflow(t).tophash[0] != emptyRest {
    					goto notLast
    				}
    			} else {
    				if b.tophash[i+1] != emptyRest {
    					goto notLast
    				}
    			}
    			for {
    				b.tophash[i] = emptyRest
    				if i == 0 {
    					if b == bOrig {
    						break // beginning of initial bucket, we're done.
    					}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/rangefunc/rewrite.go

    	var next int
    	var ret *syntax.ReturnStmt
    	if x.Tok == syntax.Goto || i < 0 {
    		// goto Label
    		// or break/continue of labeled non-range-over-func loop (x.Label != nil).
    		// We may be able to leave it alone, or we may have to break
    		// out of one or more nested loops and then use #next to signal
    		// to complete the break/continue/goto.
    		// Figure out which range-over-func loop contains the label.
    		r.computeBranchNext()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/patches/patches.go

    	// Check if targetPath is a directory.
    	info, err := os.Lstat(targetPath)
    	if err != nil {
    		goto return_path_error
    	}
    	if !info.IsDir() {
    		err = &os.PathError{
    			Op:   "getPatchSetsFromPath",
    			Path: info.Name(),
    			Err:  errors.New("not a directory"),
    		}
    		goto return_path_error
    	}
    
    	err = filepath.Walk(targetPath, func(path string, info os.FileInfo, err error) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top