Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 90 for homeDir (0.12 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/driver/fetch.go

    func setTmpDir(ui plugin.UI) (string, error) {
    	var dirs []string
    	if profileDir := os.Getenv("PPROF_TMPDIR"); profileDir != "" {
    		dirs = append(dirs, profileDir)
    	}
    	if homeDir := os.Getenv(homeEnv()); homeDir != "" {
    		dirs = append(dirs, filepath.Join(homeDir, "pprof"))
    	}
    	dirs = append(dirs, os.TempDir())
    	for _, tmpDir := range dirs {
    		if err := os.MkdirAll(tmpDir, 0755); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. src/os/user/cgo_lookup_unix.go

    	u := &User{
    		Uid:      strconv.FormatUint(uint64(_C_pw_uid(pwd)), 10),
    		Gid:      strconv.FormatUint(uint64(_C_pw_gid(pwd)), 10),
    		Username: _C_GoString(_C_pw_name(pwd)),
    		Name:     _C_GoString(_C_pw_gecos(pwd)),
    		HomeDir:  _C_GoString(_C_pw_dir(pwd)),
    	}
    	// The pw_gecos field isn't quite standardized. Some docs
    	// say: "It is expected to be a comma separated list of
    	// personal data where the first item is the full name of the
    	// user."
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:08:14 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. src/os/user/lookup_unix.go

    		}
    		if _, err := strconv.Atoi(parts[3]); err != nil {
    			return nil, nil
    		}
    		u := &User{
    			Username: parts[0],
    			Uid:      parts[2],
    			Gid:      parts[3],
    			Name:     parts[4],
    			HomeDir:  parts[5],
    		}
    		// The pw_gecos field isn't quite standardized. Some docs
    		// say: "It is expected to be a comma separated list of
    		// personal data where the first item is the full name of the
    		// user."
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 6K bytes
    - Viewed (0)
  4. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaIntegrationTest.groovy

            TestFile expectedFile = testDirectory.file("expectedFiles/${path}.xml").assertIsFile()
    
            def expectedXml = expectedFile.text
    
            def homeDir = executer.gradleUserHomeDir.absolutePath.replace(File.separator, '/')
            def pattern = Pattern.compile(Pattern.quote(homeDir) + "/caches/${CacheLayout.MODULES.getKey()}/${CacheLayout.FILE_STORE.getKey()}/([^/]+/[^/]+/[^/]+)/[a-z0-9]+/")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  5. src/os/user/lookup_unix_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	want := &User{
    		Username: "allfields",
    		Uid:      "6",
    		Gid:      "12",
    		Name:     "mansplit",
    		HomeDir:  "/home/allfields",
    	}
    	if !reflect.DeepEqual(u, want) {
    		t.Errorf("findUsername: got %#v, want %#v", u, want)
    	}
    }
    
    var userTests = []struct {
    	in   string
    	name string
    	uid  string
    }{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 11 04:31:34 UTC 2022
    - 7.3K bytes
    - Viewed (0)
  6. test-site/activator

    java_cmd=$(get_java_cmd)
    declare -r java_opts=( "${ACTIVATOR_OPTS[@]}" "${SBT_OPTS[@]}" "${JAVA_OPTS[@]}" "${java_opts[@]}" )
    userhome="$HOME"
    if is_cygwin; then
      # cygwin sets home to something f-d up, set to real windows homedir
      userhome="$USERPROFILE"
    fi
    declare -r activator_user_home_dir="${userhome}/.activator"
    declare -r java_opts_config_home="${activator_user_home_dir}/activatorconfig.txt"
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 9.3K bytes
    - Viewed (0)
  7. go.mod

    	github.com/kylelemons/godebug v1.1.0
    	github.com/lestrrat-go/jwx v1.2.29
    	github.com/mattn/go-isatty v0.0.20
    	github.com/miekg/dns v1.1.59
    	github.com/mitchellh/copystructure v1.2.0
    	github.com/mitchellh/go-homedir v1.1.0
    	github.com/moby/buildkit v0.13.2
    	github.com/onsi/gomega v1.33.1
    	github.com/openshift/api v0.0.0-20240530053948-b01900f1982a
    	github.com/pires/go-proxyproto v0.7.0
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 15:32:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. hack/tools/go.mod

    	github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
    	github.com/mbilski/exhaustivestruct v1.2.0 // indirect
    	github.com/mgechev/revive v1.3.7 // indirect
    	github.com/mitchellh/go-homedir v1.1.0 // indirect
    	github.com/mitchellh/mapstructure v1.5.0 // indirect
    	github.com/moricho/tparallel v0.3.1 // indirect
    	github.com/nakabonne/nestif v0.3.1 // indirect
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AndroidSantaTrackerCachingSmokeTest.groovy

            def result = buildLocation(originalDir, agpVersion)
    
            then:
            if (GradleContextualExecuter.isConfigCache()) {
                result.assertConfigurationCacheStateStored()
            }
    
            when: 'up-to-date build, reusing configuration cache when enabled'
            SantaTrackerConfigurationCacheWorkaround.beforeBuild(originalDir, homeDir)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 13:45:43 UTC 2024
    - 209.8K bytes
    - Viewed (0)
  10. src/os/user/lookup_windows.go

    	name, e := lookupFullName(domain, username, domainAndUser)
    	if e != nil {
    		return nil, e
    	}
    	u := &User{
    		Uid:      uid,
    		Gid:      gid,
    		Username: domainAndUser,
    		Name:     name,
    		HomeDir:  dir,
    	}
    	return u, nil
    }
    
    var (
    	// unused variables (in this implementation)
    	// modified during test to exercise code paths in the cgo implementation.
    	userBuffer  = 0
    	groupBuffer = 0
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 16:42:41 UTC 2023
    - 11.8K bytes
    - Viewed (0)
Back to top