Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 138 for pathnames (0.18 sec)

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

    	flagMeanDelay := flag.Bool("mean_delay", false, "Display mean delay at each region")
    	flagTools := flag.String("tools", os.Getenv("PPROF_TOOLS"), "Path for object tool pathnames")
    
    	flagHTTP := flag.String("http", "", "Present interactive web UI at the specified http host:port")
    	flagNoBrowser := flag.Bool("no_browser", false, "Skip opening a browser for the interactive web UI")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/build/relnote/relnote.go

    	}
    	slices.Sort(filenames)
    	mcDir, err := minorChangesDir(docFS)
    	if err != nil {
    		return err
    	}
    	var errs []error
    	for _, fn := range filenames {
    		// Use path.Join for consistency with io/fs pathnames.
    		fn = path.Join(mcDir, fn)
    		// TODO(jba): check that the file mentions each feature?
    		if err := checkFragmentFile(docFS, fn); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. pkg/volume/util/atomic_writer.go

    	maxPathLength     = 4096
    )
    
    // AtomicWriter handles atomically projecting content for a set of files into
    // a target directory.
    //
    // Note:
    //
    //  1. AtomicWriter reserves the set of pathnames starting with `..`.
    //  2. AtomicWriter offers no concurrency guarantees and must be synchronized
    //     by the caller.
    //
    // The visible files in this volume are symlinks to files in the writer's data
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. src/cmd/cover/cover.go

    	// The convention for cmd/cover is that if the go command that
    	// kicks off coverage specifies a local import path (e.g. "go test
    	// -cover ./thispackage"), the tool will capture full pathnames
    	// for source files instead of relative paths, which tend to work
    	// more smoothly for "go tool cover -html". See also issue #56433
    	// for more details.
    	if pkgconfig.Local {
    		filename = f.name
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  5. pkg/volume/util/hostutil/hostutil_linux.go

    }
    
    // GetMode returns permissions of the path.
    func (hu *HostUtil) GetMode(pathname string) (os.FileMode, error) {
    	return GetModeLinux(pathname)
    }
    
    // GetOwnerLinux is shared between Linux and NsEnterMounter
    // pathname must already be evaluated for symlinks
    func GetOwnerLinux(pathname string) (int64, int64, error) {
    	info, err := os.Stat(pathname)
    	if err != nil {
    		return -1, -1, err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 23 08:36:44 UTC 2023
    - 10K bytes
    - Viewed (0)
  6. pkg/volume/util/subpath/subpath_windows_test.go

    		if test.createSubPathBeforeTest {
    			os.MkdirAll(test.pathname, 0755)
    		}
    
    		existingPath, toCreate, err := findExistingPrefix(test.base, test.pathname)
    		if test.expectError {
    			assert.NotNil(t, err, "Expect error during findExistingPrefix(%s, %s)", test.base, test.pathname)
    			continue
    		}
    		assert.Nil(t, err, "Expect no error during findExistingPrefix(%s, %s)", test.base, test.pathname)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 13.8K bytes
    - Viewed (0)
  7. pkg/volume/util/subpath/subpath_linux.go

    // and base must be either already resolved symlinks or thet will be resolved in
    // kubelet's mount namespace (in case it runs containerized).
    func doSafeMakeDir(pathname string, base string, perm os.FileMode) error {
    	klog.V(4).Infof("Creating directory %q within base %q", pathname, base)
    
    	if !mount.PathWithinBase(pathname, base) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 12 14:09:11 UTC 2022
    - 21.4K bytes
    - Viewed (0)
  8. pkg/volume/util/subpath/subpath_windows.go

    }
    
    func doSafeMakeDir(pathname string, base string, perm os.FileMode) error {
    	klog.V(4).Infof("Creating directory %q within base %q", pathname, base)
    
    	if !mount.PathWithinBase(pathname, base) {
    		return fmt.Errorf("path %s is outside of allowed base %s", pathname, base)
    	}
    
    	// Quick check if the directory already exists
    	s, err := os.Stat(pathname)
    	if err == nil {
    		// Path exists
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 12:57:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  9. pkg/volume/hostpath/host_path.go

    	}
    
    	return nil
    }
    
    // makeDir creates a new directory.
    // If pathname already exists as a directory, no error is returned.
    // If pathname already exists as a file, an error is returned.
    func makeDir(pathname string) error {
    	err := os.MkdirAll(pathname, os.FileMode(0755))
    	if err != nil {
    		if !os.IsExist(err) {
    			return err
    		}
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  10. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/fixtures/S3Server.groovy

                @Override
                boolean accept(File pathname) {
                    return pathname.isFile()
                }
            })
    
            def dirs = file.listFiles(new FileFilter() {
                @Override
                boolean accept(File pathname) {
                    return pathname.isDirectory()
                }
            })
    
            def xml = new StreamingMarkupBuilder().bind {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 22.4K bytes
    - Viewed (0)
Back to top