Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for rooted (0.09 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. pkg/kubelet/apis/config/helpers_test.go

    				"or add it to the kubeletConfigurationNonPathFieldPaths set, as appropriate:\n%s",
    				strings.Join(sets.List(unexpected), "\n"))
    		}
    	}
    }
    
    // allPrimitiveFieldPaths returns the set of field paths in type `tp`, rooted at `path`.
    // It recursively descends into the definition of type `tp` accumulating paths to primitive leaf fields or paths in `skipRecurseList`.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go

    		if node, ok := path[i].(*ast.IfStmt); ok && node.Else == stmt {
    			stmt = node
    			continue
    		}
    		break
    	}
    	return stmt.(ast.Stmt)
    }
    
    // WalkASTWithParent walks the AST rooted at n. The semantics are
    // similar to ast.Inspect except it does not call f(nil).
    func WalkASTWithParent(n ast.Node, f func(n ast.Node, parent ast.Node) bool) {
    	var ancestors []ast.Node
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/build/relnote/relnote.go

    func inlineText(ins []md.Inline) string {
    	var buf bytes.Buffer
    	for _, in := range ins {
    		in.PrintText(&buf)
    	}
    	return buf.String()
    }
    
    // Merge combines the markdown documents (files ending in ".md") in the tree rooted
    // at fs into a single document.
    // The blocks of the documents are concatenated in lexicographic order by filename.
    // Heading with no content are removed.
    // The link keys must be unique, and are combined into a single map.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. src/cmd/go/internal/fsys/fsys.go

    			}
    		}
    	}
    	return nil
    }
    
    // Walk walks the file tree rooted at root, calling walkFn for each file or
    // directory in the tree, including root.
    func Walk(root string, walkFn filepath.WalkFunc) error {
    	Trace("Walk", root)
    	info, err := Lstat(root)
    	if err != nil {
    		err = walkFn(root, nil, err)
    	} else {
    		err = walk(root, info, walkFn)
    	}
    	if err == filepath.SkipDir {
    		return nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:35:34 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  7. src/cmd/go/alldocs.go

    // as directives.
    //
    // The arguments to the directive are space-separated tokens or
    // double-quoted strings passed to the generator as individual
    // arguments when it is run.
    //
    // Quoted strings use Go syntax and are evaluated before execution; a
    // quoted string appears as a single argument to the generator.
    //
    // To convey to humans and machine tools that code is generated,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modget/get.go

    					modRoots = append(modRoots, modload.MainModules.ModRoot(m))
    				}
    				var plural string
    				if len(modRoots) != 1 {
    					plural = "s"
    				}
    				return errSet(fmt.Errorf("%s%s is not within module%s rooted at %s", q.pattern, absDetail, plural, strings.Join(modRoots, ", ")))
    			}
    
    			match := modload.MatchInModule(ctx, pkgPattern, mainModule, imports.AnyTags())
    			if len(match.Errs) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  9. src/cmd/go/internal/work/exec.go

    		}
    		seen[a] = true
    		for _, a1 := range a.Deps {
    			walk(a1)
    		}
    		all = append(all, a)
    	}
    	walk(root)
    	return all
    }
    
    // Do runs the action graph rooted at root.
    func (b *Builder) Do(ctx context.Context, root *Action) {
    	ctx, span := trace.StartSpan(ctx, "exec.Builder.Do ("+root.Mode+" "+root.Target+")")
    	defer span.Done()
    
    	if !b.IsCmdList {
    		// If we're doing real work, take time at the end to trim the cache.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modload/load.go

    			Tags:                  tags,
    			ResolveMissingImports: true,
    			SilencePackageErrors:  true,
    		},
    		requirements: rs,
    		listRoots: func(*Requirements) (roots []string) {
    			roots = append(roots, imports...)
    			roots = append(roots, testImports...)
    			return roots
    		},
    	})
    	requirements = loaded.requirements
    
    	if !ExplicitWriteGoMod {
    		if err := commitRequirements(ctx, WriteOpts{}); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
Back to top