Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,564 for kenv (0.04 sec)

  1. src/cmd/go/internal/cfg/cfg.go

    //
    // There is a copy of this code in x/tools/cmd/godoc/goroot.go.
    func findGOROOT(env string) string {
    	if env == "" {
    		// Not using Getenv because findGOROOT is called
    		// to find the GOROOT/go.env file. initEnvCache
    		// has passed in the setting from the user go/env file.
    		env = os.Getenv("GOROOT")
    	}
    	if env != "" {
    		return filepath.Clean(env)
    	}
    	def := ""
    	if r := runtime.GOROOT(); r != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  2. src/cmd/go/main.go

    	// but in practice there might be skew
    	// This makes sure we all agree.
    	cfg.OrigEnv = toolchain.FilterEnv(os.Environ())
    	cfg.CmdEnv = envcmd.MkEnv()
    	for _, env := range cfg.CmdEnv {
    		if os.Getenv(env.Name) != env.Value {
    			os.Setenv(env.Name, env.Value)
    		}
    	}
    
    	cmd.Flag.Usage = func() { cmd.Usage() }
    	if cmd.CustomFlags {
    		args = args[1:]
    	} else {
    		base.SetFromGOFLAGS(&cmd.Flag)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. ci/official/containers/linux_arm64/devel.usertools/wheel_verification.bats

    # the venv and the venv is active when those tests run. The venv gets cleaned
    # up in teardown_file() above.
    @test "Wheel is installable" {
        python3 -m venv /tf/venv
        source /tf/venv/bin/activate
        python3 -m pip install --upgrade setuptools wheel
        python3 -m pip install "$TF_WHEEL"
    }
    
    @test "TensorFlow is importable" {
        source /tf/venv/bin/activate
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 02:14:00 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/tooltags.txt

    env GOOS=linux
    
    env GOARCH=amd64
    env GOAMD64=v3
    go list -f '{{context.ToolTags}}'
    stdout 'amd64.v1 amd64.v2 amd64.v3'
    
    env GOARCH=arm
    env GOARM=6
    go list -f '{{context.ToolTags}}'
    stdout 'arm.5 arm.6'
    
    env GOARCH=mips
    env GOMIPS=hardfloat
    go list -f '{{context.ToolTags}}'
    stdout 'mips.hardfloat'
    
    env GOARCH=mips64
    env GOMIPS=hardfloat
    go list -f '{{context.ToolTags}}'
    stdout 'mips64.hardfloat'
    
    env GOARCH=ppc64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 07:25:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/telemetry.txt

    # to a user's environment.
    go help telemetry
    env TEST_TELEMETRY_DIR=
    
    # Set userconfig dir, which is determined by os.UserConfigDir.
    # The telemetry dir is determined using that.
    mkdir $WORK/userconfig
    env AppData=$WORK\userconfig # windows
    [GOOS:windows] env userconfig=$AppData
    env HOME=$WORK/userconfig # darwin,unix,ios
    [GOOS:darwin] env userconfig=$HOME'/Library/Application Support'
    [GOOS:ios] env userconfig=$HOME'/Library/Application Support'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 20:16:39 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/env_write.txt

    env GO111MODULE=off
    
    # go env should default to the right places
    env AppData=$HOME/windowsappdata
    env home=$HOME/plan9home
    go env GOENV
    [GOOS:aix] stdout $HOME/.config/go/env
    [GOOS:darwin] stdout $HOME'/Library/Application Support/go/env'
    [GOOS:freebsd] stdout $HOME/.config/go/env
    [GOOS:linux] stdout $HOME/.config/go/env
    [GOOS:netbsd] stdout $HOME/.config/go/env
    [GOOS:openbsd] stdout $HOME/.config/go/env
    [GOOS:plan9] stdout $HOME/plan9home/lib/go/env
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 18:42:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/env_changed.txt

    # Test query for non-defaults in the env
    
    env GOROOT=./a
    env GOTOOLCHAIN=local
    env GOSUMDB=nodefault
    env GOPROXY=nodefault
    env GO111MODULE=auto
    env CGO_CFLAGS=nodefault
    env CGO_CPPFLAGS=nodefault
    
    go env -changed
    # linux output like GOTOOLCHAIN='local'
    # windows output like GOTOOLCHAIN=local
    stdout 'GOTOOLCHAIN=''?local''?'
    stdout 'GOSUMDB=''?nodefault''?'
    stdout 'GOPROXY=''?nodefault''?'
    stdout 'GO111MODULE=''?auto''?'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:49:03 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. src/net/http/cgi/host.go

    		env = append(env, fmt.Sprintf("CONTENT_LENGTH=%d", req.ContentLength))
    	}
    	if ctype := req.Header.Get("Content-Type"); ctype != "" {
    		env = append(env, "CONTENT_TYPE="+ctype)
    	}
    
    	envPath := os.Getenv("PATH")
    	if envPath == "" {
    		envPath = "/bin:/usr/bin:/usr/ucb:/usr/bsd:/usr/local/bin"
    	}
    	env = append(env, "PATH="+envPath)
    
    	for _, e := range h.InheritEnv {
    		if v := os.Getenv(e); v != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/processenvironment/ProcessEnvironmentTest.groovy

        @Rule final SetSystemProperties systemProperties = new SetSystemProperties()
        final ProcessEnvironment env = NativeServicesTestFixture.getInstance().get(ProcessEnvironment)
    
        def "can set and remove environment variable"() {
            when:
            env.setEnvironmentVariable("TEST_ENV_1", "value")
            env.maybeSetEnvironmentVariable("TEST_ENV_2", "value")
    
            then:
            System.getenv("TEST_ENV_1") == "value"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/controller_test.go

    	env, ctx := setup(t)
    	env.runFunc()
    	defer env.cleanFunc()
    
    	env.Interface.ApiextensionsV1().CustomResourceDefinitions().Create(ctx, coolMultiVersion, metav1.CreateOptions{})
    	env.pollForPathExists("/apis/stable.example.com/v1/coolbars")
    	env.pollForPathExists("/apis/stable.example.com/v1beta1/coolbars")
    	s := env.fetchOpenAPIOrDie()
    	env.expectPath(s, "/apis/stable.example.com/v1/coolbars")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 22 17:10:53 UTC 2023
    - 12.8K bytes
    - Viewed (0)
Back to top