Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 505 for goTo (0.08 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/cmd/compile/internal/ssa/nilcheck_test.go

    			Valu("sb", OpSB, c.config.Types.Uintptr, 0, nil),
    			Goto(blockn(0)),
    		),
    	)
    	for i := 0; i < depth; i++ {
    		blocs = append(blocs,
    			Bloc(blockn(i),
    				Valu(ptrn(i), OpAddr, ptrType, 0, nil, "sb"),
    				Valu(booln(i), OpIsNonNil, c.config.Types.Bool, 0, nil, ptrn(i)),
    				If(booln(i), blockn(i+1), "exit"),
    			),
    		)
    	}
    	blocs = append(blocs,
    		Bloc(blockn(depth), Goto("exit")),
    		Bloc("exit", Exit("mem")),
    	)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  6. .teamcity/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 18:38:38 UTC 2024
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 6.5K bytes
    - Viewed (0)
  7. test/label1.go

    }
    
    func f2() {
    L1:
    	for {
    		if x == 0 {
    			break L1
    		}
    		if x == 1 {
    			continue L1
    		}
    		goto L1
    	}
    
    L2:
    	select {
    	default:
    		if x == 0 {
    			break L2
    		}
    		if x == 1 {
    			continue L2 // ERROR "invalid continue label .*L2|continue is not in a loop$"
    		}
    		goto L2
    	}
    
    	for {
    		if x == 1 {
    			continue L2 // ERROR "invalid continue label .*L2"
    		}
    	}
    
    L3:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 28 02:31:54 UTC 2020
    - 2.1K bytes
    - Viewed (0)
  8. test/return.go

    func _() int {
    } // ERROR "missing return"
    
    func _() int {
    	print(1)
    } // ERROR "missing return"
    
    // return is okay
    func _() int {
    	print(1)
    	return 2
    }
    
    // goto is okay
    func _() int {
    L:
    	print(1)
    	goto L
    }
    
    // panic is okay
    func _() int {
    	print(1)
    	panic(2)
    }
    
    // but only builtin panic
    func _() int {
    	var panic = func(int) {}
    	print(1)
    	panic(2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 32.7K bytes
    - Viewed (0)
  9. src/all.bat

    license that can be found in the LICENSE file.
    L4:
    L5:@echo off
    L6:
    L7:setlocal
    L8:
    L9:if exist make.bat goto ok
    L10:echo all.bat must be run from go\src
    L11::: cannot exit: would kill parent command interpreter
    L12:goto end
    L13::ok
    L14:
    L15:call .\make.bat --no-banner --no-local
    L16:if %GOBUILDFAIL%==1 goto end
    L17:call .\run.bat --no-rebuild --no-local
    L18:if %GOBUILDFAIL%==1 goto end
    L19:"%GOTOOLDIR%/dist" banner
    L20:
    L21::end
    L22:if x%GOBUILDEXIT%==x1 exit %GOBUILDFAIL%
    ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 19 14:36:22 UTC 2023
    - 543 bytes
    - Viewed (0)
  10. integration-tests/gradle/gradlew.bat

    @rem Find java.exe
    if defined JAVA_HOME goto findJavaFromJavaHome
    
    set JAVA_EXE=java.exe
    %JAVA_EXE% -version >NUL 2>&1
    if %ERRORLEVEL% equ 0 goto execute
    
    echo.
    echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
    echo.
    echo Please set the JAVA_HOME variable in your environment to match the
    echo location of your Java installation.
    
    goto fail
    
    :findJavaFromJavaHome
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 28 18:15:57 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top