Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 559 for treeOf (0.21 sec)

  1. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/FileTreeCodec.kt

            is GeneratedSingletonFileTree -> GeneratedTreeSpec(tree.toSpec())
            is DirectoryFileTree -> DirectoryTreeSpec(tree.dir, tree.patternSet)
            else -> null
        }
    
        private
        fun cannotCreateSpecFor(tree: MinimalFileTree): Nothing =
            throw UnsupportedOperationException("Cannot create spec for file tree '$tree' of type '${tree.javaClass}'.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileCollectionFactory.java

        FileTreeInternal treeOf(List<? extends FileTreeInternal> fileTrees);
    
        FileTreeInternal treeOf(MinimalFileTree tree);
    
        static FileTreeInternal emptyTree() {
            return EmptyFileTree.INSTANCE;
        }
    
        static FileTreeInternal emptyTree(String displayName) {
            if (FileTreeInternal.DEFAULT_TREE_DISPLAY_NAME.equals(displayName)) {
                return emptyTree();
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultFileCollectionFactory.java

                return new DefaultCompositeFileTree(taskDependencyFactory, patternSetFactory, ImmutableList.copyOf(fileTrees));
            }
        }
    
        @Override
        public FileTreeInternal treeOf(MinimalFileTree tree) {
            return new FileTreeAdapter(tree, listener, taskDependencyFactory, patternSetFactory);
        }
    
        @Override
        public FileCollectionInternal create(TaskDependency builtBy, MinimalFileSet contents) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 18:57:37 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/DefaultCopySpec.java

                walk(copySpecResolver -> builder.add(Cast.<FileTreeInternal>uncheckedCast(copySpecResolver.getSource())));
                return fileCollectionFactory.treeOf(builder.build());
            }
    
            @Override
            public Collection<? extends Action<? super FileCopyDetails>> getAllCopyActions() {
                if (parentResolver == null) {
                    return copyActions;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:25:10 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/img/file-collection-vs-file-tree.png

    file-collection-vs-file-tree.png...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 27 21:47:26 UTC 2024
    - 185.5K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/build_git_missing_tree.txt

    env GIT_COMMITTER_DATE=2024-01-30T10:53:00+08:00
    env GIT_AUTHOR_DATE=2024-01-30T10:53:00+08:00
    exec git add extra.go
    exec git commit -m 'add extra.go'
    
    # Assume the tree object from initial commit is not available (e.g. partial clone)
    exec git log --pretty=%T
    cmp stdout $WORK/.git-trees
    
    rm .git/objects/66/400c89b45cc96da36d232844dbf9ea5daa6bcf
    
    # Build the module, which should succeed
    go build -v -buildvcs=true -o test
    go version -m test
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:18 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. src/text/template/template.go

    func (t *Template) AddParseTree(name string, tree *parse.Tree) (*Template, error) {
    	t.init()
    	t.muTmpl.Lock()
    	defer t.muTmpl.Unlock()
    	nt := t
    	if name != t.name {
    		nt = t.New(name)
    	}
    	// Even if nt == t, we need to install it in the common.tmpl map.
    	if t.associate(nt, tree) || nt.Tree == nil {
    		nt.Tree = tree
    	}
    	return nt, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. src/compress/bzip2/huffman.go

    	// order to minimize the amount of information needed to build a tree
    	// bzip2 uses a canonical tree so that it can be reconstructed given
    	// only the code length assignments.
    
    	if len(lengths) < 2 {
    		panic("newHuffmanTree: too few symbols")
    	}
    
    	var t huffmanTree
    
    	// First we sort the code length assignments by ascending code length,
    	// using the symbol value to break ties.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:44:37 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. cmd/importverifier/importverifier.go

    	XTestImports []string `yaml:",omitempty"` // imports from XTestGoFiles
    }
    
    // ImportRestriction describes a set of allowable import
    // trees for a tree of source code
    type ImportRestriction struct {
    	// BaseDir is the root of a package tree that is restricted by this
    	// configuration, given as a relative path from the root of the repository.
    	// This is a directory which `go list` might not consider a package (if it
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:16 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. src/text/template/parse/parse.go

    // The receiver is only used when the node does not have a pointer to the tree inside,
    // which can occur in old code.
    func (t *Tree) ErrorContext(n Node) (location, context string) {
    	pos := int(n.Position())
    	tree := n.tree()
    	if tree == nil {
    		tree = t
    	}
    	text := tree.text[:pos]
    	byteNum := strings.LastIndex(text, "\n")
    	if byteNum == -1 {
    		byteNum = pos // On first line.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top