- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 199 for goTo (0.11 sec)
-
src/race.bat
windows/amd64. L28:goto fail L29: L30::continue L31:call .\make.bat --no-banner --no-local L32:if %GOBUILDFAIL%==1 goto end L33:echo # go install -race std L34:go install -race std L35:if errorlevel 1 goto fail L36: L37:go tool dist test -race L38: L39:if errorlevel 1 goto fail L40:goto succ L41: L42::fail L43:set GOBUILDFAIL=1 L44:echo Fail. L45:goto end L46: L47::succ L48:echo All tests passed. L49: L50::end L51:if x%GOBUILDEXIT%==x1 exit %GOBUILDFAIL% ...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 12 16:59:17 UTC 2022 - 1.1K bytes - Viewed (0) -
test/defererrcheck.go
fmt.Println("defer") }() label: fmt.Println("goto loop") if glob > 2 { goto label } } func f5() { label: fmt.Println("goto loop") defer func() { // ERROR "heap-allocated defer" fmt.Println("defer") }() if glob > 2 { goto label } } func f6() { label: fmt.Println("goto loop") if glob > 2 { goto label }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 26 16:54:17 UTC 2020 - 1.4K bytes - Viewed (0) -
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) -
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) -
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) -
src/net/mac.go
goto error } n := 2 * (len(s) + 1) / 5 if n != 6 && n != 8 && n != 20 { goto error } hw = make(HardwareAddr, n) for x, i := 0, 0; i < n; i += 2 { var ok bool if hw[i], ok = xtoi2(s[x:x+2], 0); !ok { goto error } if hw[i+1], ok = xtoi2(s[x+2:], s[4]); !ok { goto error } x += 5 } } else { goto error } return hw, nil error:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 1.9K bytes - Viewed (0) -
mvnw.cmd
cd .. IF "%WDIR%"=="%CD%" goto baseDirNotFound set WDIR=%CD% goto findBaseDir :baseDirFound set MAVEN_PROJECTBASEDIR=%WDIR% cd "%EXEC_DIR%" goto endDetectBaseDir :baseDirNotFound set MAVEN_PROJECTBASEDIR=%EXEC_DIR% cd "%EXEC_DIR%" :endDetectBaseDir IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 16 20:48:20 UTC 2023 - 7.4K bytes - Viewed (0) -
src/syscall/exec_libc.go
if err1 != 0 { goto childerror } err1 = setuid(uintptr(cred.Uid)) if err1 != 0 { goto childerror } } // Chdir if dir != nil { err1 = chdir(uintptr(unsafe.Pointer(dir))) if err1 != 0 { goto childerror } } // Pass 1: look for fd[i] < i and move those up above len(fd) // so that pass 2 won't stomp on an fd it needs later. if pipe < nextfd {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 29 18:51:35 UTC 2023 - 8.2K bytes - Viewed (0) -
src/syscall/exec_libc2.go
goto childerror } } _, _, err1 = rawSyscall(abi.FuncPCABI0(libc_setgid_trampoline), uintptr(cred.Gid), 0, 0) if err1 != 0 { goto childerror } _, _, err1 = rawSyscall(abi.FuncPCABI0(libc_setuid_trampoline), 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 - 8.2K bytes - Viewed (0) -
test/escape_goto.go
// Test escape analysis for goto statements. package escape var x bool func f1() { var p *int loop: if x { goto loop } // BAD: We should be able to recognize that there // aren't any more "goto loop" after here. p = new(int) // ERROR "escapes to heap" _ = p } func f2() { var p *int if x { loop: goto loop } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 28 21:41:07 UTC 2021 - 677 bytes - Viewed (0)