Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 619 for rooted (0.11 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/FileParameterUtils.java

                }
                builder.add(propertySpec);
            }
            return builder.build();
        }
    
        /**
         * Resolves the actual value for an input file.
         *
         * The value is the file tree rooted at the provided path for an input directory, and the provided path otherwise.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ir/visit.go

    func DoChildren(n Node, do func(Node) bool) bool {
    	if n == nil {
    		return false
    	}
    	return n.doChildren(do)
    }
    
    // Visit visits each non-nil node x in the IR tree rooted at n
    // in a depth-first preorder traversal, calling visit on each node visited.
    func Visit(n Node, visit func(Node)) {
    	if n == nil {
    		return
    	}
    	var do func(Node) bool
    	do = func(x Node) bool {
    		visit(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 23 14:29:16 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. src/cmd/go/internal/lockedfile/mutex.go

    // well-known file. Such a file generally guards some other part of the
    // filesystem: for example, a Mutex file in a directory might guard access to
    // the entire tree rooted in that directory.
    //
    // Mutex does not implement sync.Locker: unlike a sync.Mutex, a lockedfile.Mutex
    // can fail to lock (e.g. if there is a permission error in the filesystem).
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 17:17:40 UTC 2019
    - 2.3K bytes
    - Viewed (0)
  4. src/os/getwd.go

    		d, err := statNolog(dir)
    		if err == nil && SameFile(dot, d) {
    			return dir, nil
    		}
    	}
    
    	// Root is a special case because it has no parent
    	// and ends in a slash.
    	root, err := statNolog("/")
    	if err != nil {
    		// Can't stat root - no hope.
    		return "", err
    	}
    	if SameFile(root, dot) {
    		return "/", nil
    	}
    
    	// General algorithm: find name in parent
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 28 06:28:02 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  5. src/internal/filepathlite/path_windows.go

    )
    
    func IsPathSeparator(c uint8) bool {
    	return c == '\\' || c == '/'
    }
    
    func isLocal(path string) bool {
    	if path == "" {
    		return false
    	}
    	if IsPathSeparator(path[0]) {
    		// Path rooted in the current drive.
    		return false
    	}
    	if stringslite.IndexByte(path, ':') >= 0 {
    		// Colons are only valid when marking a drive letter ("C:foo").
    		// Rejecting any path with a colon is conservative but safe.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. src/net/dnsclient_unix.go

    func (conf *dnsConfig) nameList(name string) []string {
    	// Check name length (see isDomainName).
    	l := len(name)
    	rooted := l > 0 && name[l-1] == '.'
    	if l > 254 || l == 254 && !rooted {
    		return nil
    	}
    
    	// If name is rooted (trailing dot), try only that name.
    	if rooted {
    		if avoidDNS(name) {
    			return nil
    		}
    		return []string{name}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/syntax/dumper.go

    // This file implements printing of syntax tree structures.
    
    package syntax
    
    import (
    	"fmt"
    	"io"
    	"reflect"
    	"unicode"
    	"unicode/utf8"
    )
    
    // Fdump dumps the structure of the syntax tree rooted at n to w.
    // It is intended for debugging purposes; no specific output format
    // is guaranteed.
    func Fdump(w io.Writer, n Node) (err error) {
    	p := dumper{
    		output: w,
    		ptrmap: make(map[Node]int),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 08 17:32:14 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/mod/sumdb/dirhash/hash.go

    	}
    	osOpen := func(name string) (io.ReadCloser, error) {
    		return os.Open(filepath.Join(dir, strings.TrimPrefix(name, prefix)))
    	}
    	return hash(files, osOpen)
    }
    
    // DirFiles returns the list of files in the tree rooted at dir,
    // replacing the directory name dir with prefix in each name.
    // The resulting names always use forward slashes.
    func DirFiles(dir, prefix string) ([]string, error) {
    	var files []string
    	dir = filepath.Clean(dir)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:59:52 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. src/io/fs/walk.go

    // to walk that directory.
    //
    // WalkDir does not follow symbolic links found in directories,
    // but if root itself is a symbolic link, its target will be walked.
    func WalkDir(fsys FS, root string, fn WalkDirFunc) error {
    	info, err := Stat(fsys, root)
    	if err != nil {
    		err = fn(root, nil, err)
    	} else {
    		err = walkDir(fsys, root, FileInfoToDirEntry(info), fn)
    	}
    	if err == SkipDir || err == SkipAll {
    		return nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 09 08:50:19 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_dot.txt

    ! go get .
    stderr '^go: .: no package to get in current directory$'
    ! go get ./subdir
    stderr '^go: \.[/\\]subdir \('$WORK'[/\\]gopath[/\\]src[/\\]dir[/\\]subdir\) is not a package in module rooted at '$WORK'[/\\]gopath[/\\]src[/\\]dir$'
    ! go list
    ! stderr 'cannot find module providing package'
    stderr '^no Go files in '$WORK'[/\\]gopath[/\\]src[/\\]dir$'
    
    cd subdir
    ! go list
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 22:30:03 UTC 2022
    - 4.6K bytes
    - Viewed (0)
Back to top