- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 2,561 for kenv (0.05 sec)
-
src/cmd/internal/testdir/testdir_test.go
cmd.Env = append(cmd.Env, "PWD="+cmd.Dir) } if tempDirIsGOPATH { cmd.Env = append(cmd.Env, "GOPATH="+tempDir) } cmd.Env = append(cmd.Env, "STDLIB_IMPORTCFG="+stdlibImportcfgFile()) cmd.Env = append(cmd.Env, runenv...) var err error if tim != 0 { err = cmd.Start() // This command-timeout code adapted from cmd/go/test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 20:08:06 UTC 2024 - 57.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/work_init_toolchain.txt
# it writes the bumped go version, not the max of the used modules. env TESTGO_VERSION=go1.21 env TESTGO_VERSION_SWITCH=switch rm go.work env GOTOOLCHAIN=local ! go work init ./m1_22_0 stderr '^go: m1_22_0'${/}'go.mod requires go >= 1.22.0 \(running go 1.21; GOTOOLCHAIN=local\)$' env GOTOOLCHAIN=auto go work init ./m1_22_0 stderr '^go: m1_22_0'${/}'go.mod requires go >= 1.22.0; switching to go1.22.9$'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jun 03 21:13:11 UTC 2023 - 1.1K bytes - Viewed (0) -
src/internal/cpu/cpu_test.go
MustHaveDebugOptionsSupport(t) testenv.MustHaveExec(t) env := "GODEBUG=" + options cmd := exec.Command(os.Args[0], "-test.run=^"+test+"$") cmd.Env = append(cmd.Env, env) output, err := cmd.CombinedOutput() if err != nil { t.Fatalf("%s with %s: run failed: %v output:\n%s\n", test, env, err, string(output)) } } func TestDisableAllCapabilities(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:29 UTC 2023 - 1.4K bytes - Viewed (0) -
cni/pkg/nodeagent/options.go
"istio.io/istio/pkg/config/constants" "istio.io/istio/pkg/env" ) var ( PodNamespace = env.RegisterStringVar("POD_NAMESPACE", "", "pod's namespace").Get() SystemNamespace = env.RegisterStringVar("SYSTEM_NAMESPACE", constants.IstioSystemNamespace, "istio system namespace").Get() PodName = env.RegisterStringVar("POD_NAME", "", "").Get() NodeName = env.RegisterStringVar("NODE_NAME", "", "").Get()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 17 21:52:29 UTC 2024 - 2.1K bytes - Viewed (0) -
pkg/flag/flag_test.go
func TestBind(t *testing.T) { type Options struct { A, B, C string Env string Bool bool } opts := Options{ B: "b-def", } test.SetEnvForTest(t, "TEST_ENV", "from-env") fs := pflag.NewFlagSet("test", pflag.ContinueOnError) Bind(fs, "a", "", "desc", &opts.A) Bind(fs, "bool", "", "desc", &opts.Bool) BindEnv(fs, "test-env", "", "desc", &opts.Env) fs.Set("a", "a-set") fs.Set("bool", "true")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Nov 01 04:37:36 UTC 2023 - 1.2K bytes - Viewed (0) -
internal/config/scanner/scanner.go
delay := env.Get(EnvDelayLegacy, "") if delay == "" { delay = env.Get(EnvDelay, kvs.GetWithDefault(Delay, DefaultKVS)) } cfg.Delay, err = strconv.ParseFloat(delay, 64) if err != nil { return err } maxWait := env.Get(EnvMaxWaitLegacy, "") if maxWait == "" { maxWait = env.Get(EnvMaxWait, kvs.GetWithDefault(MaxWait, DefaultKVS)) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.5K bytes - Viewed (0) -
src/cmd/go/testdata/vcstest/git/empty-v2-without-v1.txt
handle git env GIT_AUTHOR_NAME='Bryan C. Mills' env GIT_AUTHOR_EMAIL='******@****.***' env GIT_COMMITTER_NAME=$GIT_AUTHOR_NAME env GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL git init at 2019-10-07T14:15:32-04:00 git add go.mod git commit -m 'add go.mod file without go source files' git branch -m master git tag v2.0.0 git log --oneline --decorate=short cmp stdout .git-log -- .git-log --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 25 15:36:24 UTC 2022 - 550 bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_nomod.txt
# Test go commands with no module. env GO111MODULE=on # go mod edit fails unless given explicit mod file argument ! go mod edit -json go mod edit -json x.mod # bug succeeds [exec:echo] env BROWSER=echo [exec:echo] go bug # commands that load the package in the current directory fail ! go build ! go fmt ! go generate ! go get ! go install ! go list ! go run ! go test ! go vet
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 29 18:57:53 UTC 2018 - 644 bytes - Viewed (0) -
pilot/pkg/networking/core/loadbalancer/loadbalancer_test.go
}, } configStore := memory.Make(collections.Pilot) env := model.NewEnvironment() env.ServiceDiscovery = serviceDiscovery env.ConfigStore = configStore env.Watcher = mesh.NewFixedWatcher(meshConfig) pushContext := model.NewPushContext() env.Init() _ = pushContext.InitContext(env, nil, nil) env.SetPushContext(pushContext) pushContext.SetDestinationRulesForTesting([]config.Config{ {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 23 05:38:57 UTC 2024 - 39.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/env_cache.txt
# go env should caches compiler results go env go env -x
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 10 04:09:44 UTC 2022 - 79 bytes - Viewed (0)