Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,211 for kenv (0.09 sec)

  1. src/cmd/go/internal/envcmd/env.go

    			env[i].Value, env[i].Changed = cfg.EnvOrAndChanged("GOTOOLCHAIN", "")
    		case "GODEBUG":
    			env[i].Changed = env[i].Value != ""
    		}
    	}
    
    	if work.GccgoBin != "" {
    		env = append(env, cfg.EnvVar{Name: "GCCGO", Value: work.GccgoBin, Changed: true})
    	} else {
    		env = append(env, cfg.EnvVar{Name: "GCCGO", Value: work.GccgoName})
    	}
    
    	goarch, val, changed := cfg.GetArchEnv()
    	if goarch != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  2. src/os/env.go

    cui fliter <******@****.***> 1699009739 +0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. ci/official/utilities/rename_and_verify_wheels.sh

      echo '(search for TFCI_WHL_SIZE_LIMIT to change it)'
      ls -sh *.whl
      exit 2
    fi
    
    # Quick install checks
    venv=$(mktemp -d)
    "python${TFCI_PYTHON_VERSION}" -m venv "$venv"
    python="$venv/bin/python3"
    "$python" -m pip install *.whl $TFCI_PYTHON_VERIFY_PIP_INSTALL_ARGS
    if [[ "$TFCI_WHL_IMPORT_TEST_ENABLE" == "1" ]]; then
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 21:16:27 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. docs/en/docs/contributing.md

    ### Virtual environment with `venv`
    
    You can create an isolated virtual local environment in a directory using Python's `venv` module. Let's do this in the cloned repository (where the `requirements.txt` is):
    
    <div class="termy">
    
    ```console
    $ python -m venv env
    ```
    
    </div>
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jan 11 17:42:43 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. src/cmd/go/internal/bug/bug.go

    	fmt.Fprintf(w, "<details><summary><code>go env</code> Output</summary><br><pre>\n")
    	fmt.Fprintf(w, "$ go env\n")
    	printGoEnv(w)
    	printGoDetails(w)
    	printOSDetails(w)
    	printCDetails(w)
    	fmt.Fprintf(w, "</pre></details>\n\n")
    }
    
    func printGoEnv(w io.Writer) {
    	env := envcmd.MkEnv()
    	env = append(env, envcmd.ExtraEnvVars()...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. docs/de/docs/contributing.md

    ### Virtuelle Umgebung mit `venv`
    
    Sie können mit dem Python-Modul `venv` in einem Verzeichnis eine isolierte virtuelle lokale Umgebung erstellen. Machen wir das im geklonten Repository (da wo sich die `requirements.txt` befindet):
    
    <div class="termy">
    
    ```console
    $ python -m venv env
    ```
    
    </div>
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 23:55:23 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. cmd/common-main.go

    	var hasCredentials bool
    	//nolint:gocritic
    	if env.IsSet(config.EnvRootUser) && env.IsSet(config.EnvRootPassword) {
    		user = env.Get(config.EnvRootUser, "")
    		password = env.Get(config.EnvRootPassword, "")
    		hasCredentials = true
    	} else if env.IsSet(config.EnvAccessKey) && env.IsSet(config.EnvSecretKey) {
    		user = env.Get(config.EnvAccessKey, "")
    		password = env.Get(config.EnvSecretKey, "")
    		hasCredentials = true
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  8. docs/zh/docs/contributing.md

    ## 开发
    
    如果你已经克隆了源码仓库,并且需要深入研究代码,下面是设置开发环境的指南。
    
    ### 通过 `venv` 管理虚拟环境
    
    你可以使用 Python 的 `venv` 模块在一个目录中创建虚拟环境:
    
    <div class="termy">
    
    ```console
    $ python -m venv env
    ```
    
    </div>
    
    这将使用 Python 程序创建一个 `./env/` 目录,然后你将能够为这个隔离的环境安装软件包。
    
    ### 激活虚拟环境
    
    使用以下方法激活新环境:
    
    === "Linux, macOS"
    
        <div class="termy">
    
        ```console
        $ source ./env/bin/activate
        ```
    
        </div>
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 11:57:21 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top