Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 234 for childrenOf (0.2 sec)

  1. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractCaseVfsRelativePathTest.groovy

            children.collectMany { child ->
                def childIndex = children.indexOf(child)
                [
                    new CaseSensitivityTestSpec(children, child, childIndex),
                    new CaseSensitivityTestSpec(children, "$child/a/something", childIndex),
                    new CaseSensitivityTestSpec(children, "$child/A/something", childIndex),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractFileSystemNodeWithChildrenTest.groovy

         */
        FileSystemNode selectedChild
    
        abstract protected NODE createInitialRootNode(ChildMap<CHILD> children);
    
        abstract protected CHILD mockChild()
    
        void setupTest(VirtualFileSystemTestSpec spec) {
            this.children = createChildren(spec.childPaths)
            this.initialRoot = createInitialRootNode(children)
            this.searchedPath = spec.searchedPath
            this.selectedChildPath = spec.selectedChildPath
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  3. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/tooling/idea/DefaultIdeaProject.java

        public DefaultIdeaProject setChildren(Collection<? extends DefaultIdeaModule> children) {
            this.children.clear();
            this.children.addAll(children);
            return this;
        }
    
        public Collection<DefaultIdeaModule> getChildren() {
            return children;
        }
    
        public Collection<DefaultIdeaModule> getModules() {
            return children;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/CaseSensitiveVfsRelativePathTest.groovy

            children << CHILDREN_LISTS
        }
    
        def "children names #children are sorted the same with path sensitive and name only comparison"() {
            def nameSorted = children.toSorted(PathUtil.&compareFileNames)
            def caseSensitiveSorted = children.toSorted(getPathComparator(CASE_SENSITIVE))
    
            expect:
            nameSorted == caseSensitiveSorted
    
            where:
            children << [
                ["bAdA", "BaDb"],
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/m5/ToolingApiGradleProjectCrossVersionSpec.groovy

            project.children.size() == 1
            GradleProject a = project.children[0]
            a.name == 'a'
            a.path == ':a'
            a.description == 'A rocks!'
    
            a.children.size() == 2
            a.children.find { it.name == 'b' && it.path == ':a:b' }
            a.children.find { it.name == 'c' && it.path == ':a:c' }
            
            a.children.find { it.name == 'c'}.children[0].name == 'd'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/AbstractIncompleteFileSystemNode.java

    public abstract class AbstractIncompleteFileSystemNode implements FileSystemNode {
        protected final ChildMap<FileSystemNode> children;
    
        @SuppressWarnings("unchecked")
        public AbstractIncompleteFileSystemNode(ChildMap<? extends FileSystemNode> children) {
            this.children = (ChildMap<FileSystemNode>) children;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  7. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/internal/DefaultResourceFilterMatcher.java

        }
    
        @Override
        public Set<ResourceFilterMatcher> getChildren() {
            return children;
        }
    
        public void setChildren(Set<ResourceFilterMatcher> children) {
            if (children == null) {
                throw new InvalidUserDataException("children must not be null");
            }
            this.children = children;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java

                    }
    
                    children.add(new ResolutionNode(a, remoteRepositories, this));
                }
                children = Collections.unmodifiableList(children);
            } else {
                children = Collections.emptyList();
            }
            trail = null;
        }
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataTreeNode.java

        MetadataTreeNode parent; // papa
    
        /** default # of children. Used for tree creation optimization only */
        int nChildren = 8;
    
        MetadataTreeNode[] children; // of cause
    
        public int getNChildren() {
            return nChildren;
        }
    
        public void setNChildren(int children) {
            nChildren = children;
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/MerkleDirectorySnapshotBuilder.java

     *
     * This implementation combines the hashes of the children of a directory into a single hash for the directory.
     * For the hash to be reproducible, the children must be sorted in a consistent order.
     * The implementation uses {@link FileSystemLocationSnapshot#BY_NAME} ordering.
     * If you already provide the children in sorted order, use {@link #noSortingRequired()} to avoid the overhead of sorting again.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top