- Sort Score
- Result 10 results
- Languages All
Results 11 - 16 of 16 for Setenv (0.23 sec)
-
src/cmd/cgo/internal/test/issue1435.go
// should be mirrored here. func test1435(t *testing.T) { if syscall.Getuid() != 0 { t.Skip("skipping root only test") } if testing.Short() && testenv.Builder() != "" && os.Getenv("USER") == "swarming" { // The Go build system's swarming user is known not to be root. // Unfortunately, it sometimes appears as root due the current
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Jul 28 21:31:41 GMT 2023 - 7.5K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
// an error if it does not. func checkGCCBaseCmd() ([]string, error) { // Use $CC if set, since that's what the build uses. value := os.Getenv("CC") if value == "" { // Try $GCC if set, since that's what we used to use. value = os.Getenv("GCC") } if value == "" { value = defaultCC(goos, goarch) } args, err := quoted.Split(value) if err != nil { return nil, err }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Nov 02 16:43:23 GMT 2023 - 97K bytes - Viewed (0) -
misc/ios/go_ios_exec.go
devID = getenv("GOIOS_DEV_ID") // e.g. Z8B3JBXXXX.org.golang.sample, Z8B3JBXXXX prefix is available at // https://developer.apple.com/membercenter/index.action#accountSummary as Team ID. appID = getenv("GOIOS_APP_ID") // e.g. Z8B3JBXXXX, available at // https://developer.apple.com/membercenter/index.action#accountSummary as Team ID. teamID = getenv("GOIOS_TEAM_ID")
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Apr 11 16:34:30 GMT 2022 - 23.4K bytes - Viewed (0) -
misc/go_android_exec/main.go
fmt.Fprintf(os.Stderr, "adb %s\n%s", strings.Join(args, " "), out) return err } return nil } func adbCmd(args ...string) *exec.Cmd { if flags := os.Getenv("GOANDROID_ADB_FLAGS"); flags != "" { args = append(strings.Split(flags, " "), args...) } return exec.Command("adb", args...) } const ( deviceRoot = "/data/local/tmp/go_android_exec"
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Aug 21 17:46:57 GMT 2023 - 15.3K bytes - Viewed (0) -
src/cmd/api/main_test.go
"go/parser" "go/token" "go/types" "internal/testenv" "io" "log" "os" "os/exec" "path/filepath" "regexp" "runtime" "sort" "strconv" "strings" "sync" "testing" ) const verbose = false func goCmd() string { var exeSuffix string if runtime.GOOS == "windows" { exeSuffix = ".exe" } path := filepath.Join(testenv.GOROOT(nil), "bin", "go"+exeSuffix)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Apr 09 20:48:51 GMT 2024 - 31.4K bytes - Viewed (0) -
src/archive/tar/tar_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package tar import ( "bytes" "errors" "fmt" "internal/testenv" "io" "io/fs" "math" "os" "path" "path/filepath" "reflect" "strings" "testing" "time" ) type testError struct{ error } type fileOps []any // []T where T is (string | int64)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Mar 15 16:01:50 GMT 2024 - 24K bytes - Viewed (0)