Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for rootKey (0.22 sec)

  1. src/cmd/go/internal/help/helpdoc.go

    	Short:     "package lists and patterns",
    	Long: `
    Many commands apply to a set of packages:
    
    	go <action> [packages]
    
    Usually, [packages] is a list of import paths.
    
    An import path that is a rooted path or that begins with
    a . or .. element is interpreted as a file system path and
    denotes the package in that directory.
    
    Otherwise, the import path P denotes the package found in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  2. cmd/object-api-utils.go

    // but may produce false positives on non-trivial paths.
    func pathNeedsClean(path []byte) bool {
    	if len(path) == 0 {
    		return true
    	}
    
    	rooted := path[0] == '/'
    	n := len(path)
    
    	r, w := 0, 0
    	if rooted {
    		r, w = 1, 1
    	}
    
    	for r < n {
    		switch {
    		case path[r] > 127:
    			// Non ascii.
    			return true
    		case path[r] == '/':
    			// multiple / elements
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  3. src/cmd/go/alldocs.go

    // # Initialize new module in current directory
    //
    // Usage:
    //
    //	go mod init [module-path]
    //
    // Init initializes and writes a new go.mod file in the current directory, in
    // effect creating a new module rooted at the current directory. The go.mod file
    // must not already exist.
    //
    // Init accepts one optional argument, the module path for the new module. If the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/exec.go

    	"cmd/go/internal/str"
    	"cmd/go/internal/trace"
    	"cmd/internal/buildid"
    	"cmd/internal/quoted"
    	"cmd/internal/sys"
    )
    
    const DefaultCFlags = "-O2 -g"
    
    // actionList returns the list of actions in the dag rooted at root
    // as visited in a depth-first post-order traversal.
    func actionList(root *Action) []*Action {
    	seen := map[*Action]bool{}
    	all := []*Action{}
    	var walk func(*Action)
    	walk = func(a *Action) {
    		if seen[a] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
Back to top