Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for goTo (0.04 sec)

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

    L:
    }
    
    // goto into outer block okay
    func _() {
    	{
    		goto L
    	}
    L:
    }
    
    func _() {
    	{
    		goto L
    		goto L1
    	}
    L: L1:
    }
    
    // goto backward into outer block okay
    func _() {
    L:
    	{
    		goto L
    	}
    }
    
    func _() {
    L: L1:
    	{
    		goto L
    		goto L1
    	}
    }
    
    // goto into inner block not okay
    func _() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  2. apache-maven/src/assembly/shared/init.cmd

    :stripPomDir
    if not "_%POM_DIR:~-1%"=="_\" goto pomDirStripped
    set "POM_DIR=%POM_DIR:~0,-1%"
    goto stripPomDir
    :pomDirStripped
    exit /b
    
    :findBaseDir
    cd /d "%WDIR%"
    set "WDIR=%CD%"
    :findBaseDirLoop
    if exist ".mvn" goto baseDirFound
    cd ..
    IF "%WDIR%"=="%CD%" goto baseDirNotFound
    set "WDIR=%CD%"
    goto findBaseDirLoop
    
    :baseDirFound
    set "MAVEN_PROJECTBASEDIR=%WDIR%"
    cd /d "%EXEC_DIR%"
    goto endDetectBaseDir
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Dec 16 21:35:28 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  3. src/main/assemblies/files/service.bat

    set conv=%value:~0,-1%
    
    if "%unit%" == "k" goto kilo
    if "%unit%" == "K" goto kilo
    if "%unit%" == "m" goto mega
    if "%unit%" == "M" goto mega
    if "%unit%" == "g" goto giga
    if "%unit%" == "G" goto giga
    
    rem no unit found, must be bytes; consider the whole value
    set conv=%value%
    rem convert to KB
    set /a conv=%conv% / 1024
    :kilo
    rem convert to MB
    set /a conv=%conv% / 1024
    goto mega
    :giga
    rem convert to MB
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 6K bytes
    - Viewed (0)
  4. test/fixedbugs/issue64606.go

    package main
    
    func main() {
    	var o any = uint64(5)
    	switch o.(type) {
    	case int:
    		goto ret
    	case int8:
    		goto ret
    	case int16:
    		goto ret
    	case int32:
    		goto ret
    	case int64:
    		goto ret
    	case float32:
    		goto ret
    	case float64:
    		goto ret
    	default:
    		goto ret
    	}
    ret:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 00:29:01 UTC 2023
    - 463 bytes
    - Viewed (0)
  5. src/run.bat

    dist env > env.bat
    L23:if errorlevel 1 goto fail
    L24:call .\env.bat
    L25:del env.bat
    L26:
    L27:set GOPATH=c:\nonexist-gopath
    L28:
    L29:if x%1==x--no-rebuild goto norebuild
    L30:..\bin\go tool dist test --rebuild
    L31:if errorlevel 1 goto fail
    L32:goto end
    L33:
    L34::norebuild
    L35:..\bin\go tool dist test
    L36:if errorlevel 1 goto fail
    L37:goto end
    L38:
    L39::fail
    L40:set GOBUILDFAIL=1
    L41:
    L42::end
    ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 17 20:19:28 UTC 2022
    - 859 bytes
    - Viewed (0)
  6. src/make.bat

    script
    L38::: unless invoked with --no-local.
    L39:if x%1==x-no-local goto nolocal
    L40:if x%2==x-no-local goto nolocal
    L41:if x%3==x-no-local goto nolocal
    L42:if x%4==x-no-local goto nolocal
    L43:if x%1==x--no-local goto nolocal
    L44:if x%2==x--no-local goto nolocal
    L45:if x%3==x--no-local goto nolocal
    L46:if x%4==x--no-local goto nolocal
    L47:setlocal
    L48::nolocal
    L49:
    L50:set GOBUILDFAIL=0
    L51:
    L52:if exist make.bat goto ok
    L53:echo Must run make.bat from Go src directory.
    L54:goto fail
    ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/fuse_test.go

    	fun := c.Fun("entry",
    		Bloc("entry",
    			Valu("mem", OpInitMem, types.TypeMem, 0, nil),
    			Valu("sb", OpSB, c.config.Types.Uintptr, 0, nil),
    			Goto("z0")),
    		Bloc("z1",
    			Goto("z2")),
    		Bloc("z3",
    			Goto("exit")),
    		Bloc("z2",
    			Goto("z3")),
    		Bloc("z0",
    			Goto("z1")),
    		Bloc("exit",
    			Exit("mem"),
    		))
    
    	CheckFunc(fun.f)
    	fuseLate(fun.f)
    
    	for k, b := range fun.blocks {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  8. src/syscall/exec_freebsd.go

    		if err1 != 0 {
    			goto childerror
    		}
    	}
    
    	// Enable tracing if requested.
    	if sys.Ptrace {
    		_, _, err1 = RawSyscall(SYS_PTRACE, uintptr(PTRACE_TRACEME), 0, 0)
    		if err1 != 0 {
    			goto childerror
    		}
    	}
    
    	// Session ID
    	if sys.Setsid {
    		_, _, err1 = RawSyscall(SYS_SETSID, 0, 0, 0)
    		if err1 != 0 {
    			goto childerror
    		}
    	}
    
    	// Set process group
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  9. src/syscall/exec_bsd.go

    			_, _, err1 = RawSyscall(SYS_SETGROUPS, ngroups, groups, 0)
    			if err1 != 0 {
    				goto childerror
    			}
    		}
    		_, _, err1 = RawSyscall(SYS_SETGID, uintptr(cred.Gid), 0, 0)
    		if err1 != 0 {
    			goto childerror
    		}
    		_, _, err1 = RawSyscall(SYS_SETUID, uintptr(cred.Uid), 0, 0)
    		if err1 != 0 {
    			goto childerror
    		}
    	}
    
    	// Chdir
    	if dir != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  10. src/internal/types/testdata/check/labels.go

    		continue L1 /* ERROR "invalid continue label L1" */
    		continue L2 /* ERROR "invalid continue label L2" */
    		continue L3
    		goto L1
    		goto L2
    		goto L3
    	}
    }
    
    // Blank labels are never declared.
    
    func f4() {
    _:
    _: // multiple blank labels are ok
    	goto _ /* ERROR "label _ not declared" */
    }
    
    func f5() {
    _:
    	for {
    		break _ /* ERROR "invalid break label _" */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top