Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 28 of 28 for user_profile (0.21 sec)

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

    }
    
    // Keep consistent with go/build.defaultGOPATH.
    func gopath(ctxt build.Context) string {
    	if len(ctxt.GOPATH) > 0 {
    		return ctxt.GOPATH
    	}
    	env := "HOME"
    	if runtime.GOOS == "windows" {
    		env = "USERPROFILE"
    	} else if runtime.GOOS == "plan9" {
    		env = "home"
    	}
    	if home := os.Getenv(env); home != "" {
    		def := filepath.Join(home, "go")
    		if filepath.Clean(def) == filepath.Clean(runtime.GOROOT()) {
    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/vendor/github.com/google/pprof/internal/driver/fetch.go

    	source *source
    
    	p      *profile.Profile
    	msrc   plugin.MappingSources
    	remote bool
    	err    error
    }
    
    func homeEnv() string {
    	switch runtime.GOOS {
    	case "windows":
    		return "USERPROFILE"
    	case "plan9":
    		return "home"
    	default:
    		return "HOME"
    	}
    }
    
    // setTmpDir prepares the directory to use to save profiles retrieved
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. src/cmd/go/internal/help/helpdoc.go

    On Windows, the value is a semicolon-separated string.
    On Plan 9, the value is a list.
    
    If the environment variable is unset, GOPATH defaults
    to a subdirectory named "go" in the user's home directory
    ($HOME/go on Unix, %USERPROFILE%\go on Windows),
    unless that directory holds a Go distribution.
    Run "go env GOPATH" to see the current GOPATH.
    
    See https://golang.org/wiki/SettingGOPATH to set a custom GOPATH.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  4. src/go/build/build.go

    var Default Context = defaultContext()
    
    // Keep consistent with cmd/go/internal/cfg.defaultGOPATH.
    func defaultGOPATH() string {
    	env := "HOME"
    	if runtime.GOOS == "windows" {
    		env = "USERPROFILE"
    	} else if runtime.GOOS == "plan9" {
    		env = "home"
    	}
    	if home := os.Getenv(env); home != "" {
    		def := filepath.Join(home, "go")
    		if filepath.Clean(def) == filepath.Clean(runtime.GOROOT()) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  5. src/cmd/go/go_test.go

    		t.Error(`go install foo/quxx expected error: .*testdata/b/src/foo/quxx`)
    	}
    }
    
    func homeEnvName() string {
    	switch runtime.GOOS {
    	case "windows":
    		return "USERPROFILE"
    	case "plan9":
    		return "home"
    	default:
    		return "HOME"
    	}
    }
    
    func tempEnvName() string {
    	switch runtime.GOOS {
    	case "windows":
    		return "TMP"
    	case "plan9":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.16.md

    ### Windows
    
    - On Windows systems, `%USERPROFILE%` is now preferred over `%HOMEDRIVE%\%HOMEPATH%` as the home folder if `%HOMEDRIVE%\%HOMEPATH%` does not contain a `.kube\config` file, and `%USERPROFILE%` exists and is writable. ([#73923](https://github.com/kubernetes/kubernetes/pull/73923), [@liggitt](https://github.com/liggitt))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 11 10:00:57 UTC 2021
    - 345.2K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.15.md

    - Bug fix: Windows Kubelet nodes will now correctly search the default location for Docker credentials (`%USERPROFILE%\.docker\config.json`) when pulling images from a private registry. (https://kubernetes.io/docs/concepts/containers/images/#configuring-nodes-to-authenticate-to-a-private-registry) ([#78528](https://github.com/kubernetes/kubernetes/pull/78528),...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 278.9K bytes
    - Viewed (0)
  8. src/cmd/go/alldocs.go

    // On Plan 9, the value is a list.
    //
    // If the environment variable is unset, GOPATH defaults
    // to a subdirectory named "go" in the user's home directory
    // ($HOME/go on Unix, %USERPROFILE%\go on Windows),
    // unless that directory holds a Go distribution.
    // Run "go env GOPATH" to see the current GOPATH.
    //
    // See https://golang.org/wiki/SettingGOPATH to set a custom GOPATH.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
Back to top