Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 553 for childrenOf (0.19 sec)

  1. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelMapIntegrationTest.groovy

                        }
                    }
    
                    @Mutate
                    void addChildren(@Path("parent.children") children) {
                        children.create("c1") {
                            it.children.create { gc ->
                                gc.name = "gc1"
                            }
                        }
                    }
                }
    
                apply type: Rules
    
                model {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/text/TreeFormatterTest.groovy

        }
    
        def "cannot append after children started"() {
            when:
            formatter.node("Root")
            formatter.startChildren()
            formatter.append("thing")
    
            then:
            def e = thrown(IllegalStateException)
            e.message == 'Cannot append text as there is no current node.'
        }
    
        def "cannot append after children finished"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractNamedDomainObjectContainerTest.groovy

                }
            }
        }
    }
    
    class TestObject {
        String prop
        String name
        final children
    
        TestObject(Instantiator instantiator) {
            children = instantiator.newInstance(TestContainer, instantiator)
        }
    
        def children(Closure cl) {
            children.configure(cl)
        }
    
        def methodMissing(String name, Object params) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 27 06:24:30 UTC 2018
    - 11.4K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/SearchUtilTest.groovy

    class SearchUtilTest extends Specification {
    
        def "search for #searchedChild in #sortedChildren is #expectedResult"() {
            expect:
            SearchUtil.binarySearch(children, searchedChild) == expectedResult
    
            where:
            children | searchedChild
            ["a", "b", "ba", "bb", "cc"] | "b"
            ["a", "b", "ba", "bb", "cc"] | "baa"
            []                           | "baa"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r28/ToolingApiEclipseModelCrossVersionSpec.groovy

            when:
            EclipseProject rootProject = loadToolingModel(EclipseProject)
            EclipseProject rootImplProject = rootProject.children.find { it.name == 'root-impl' }
            EclipseProject contribProject = rootProject.children.find { it.name == 'contrib' }
            EclipseProject contribImplProject = contribProject.children.find { it.name == 'contrib-impl' }
    
            then:
            contribImplProject.projectDependencies.any { it.path == 'contrib-api' }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/execution/plan/ExecutionNodeAccessHierarchy.java

        }
    
        /**
         * Returns all nodes which access the location, taking into account the filter.
         *
         * That includes nodes which access ancestors or children of the location.
         * Nodes accessing children of the location are only included if the children match the filter.
         */
        public ImmutableSet<Node> getNodesAccessing(String location, Spec<FileTreeElement> filter) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 12 20:10:34 UTC 2022
    - 6.9K bytes
    - Viewed (0)
  7. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/graph/DependencyGraphsRenderer.java

        }
    
        private void renderChildren(Set<? extends RenderableDependency> children, Set<Object> visited) {
            int i = 0;
            int childCould = children.size();
            int count = showSinglePath ? Math.min(1, childCould) : childCould;
            if (count > 0) {
                renderer.startChildren();
                for (RenderableDependency child : children) {
                    boolean last = ++i == count;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  8. src/main/webapp/js/suggestor.js

                          listSelNum =
                            $(this)
                              .closest("ol")
                              .children("li")
                              .index(this) + 1;
                          $(this)
                            .closest("ol")
                            .children("li")
                            .each(function(i) {
                              if (i === listSelNum - 1) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Mar 30 05:45:24 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  9. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/tooling/model/PartialBasicGradleProject.java

            this.name = name;
            return this;
        }
    
        public Set<? extends PartialBasicGradleProject> getChildren() {
            return children;
        }
    
        public PartialBasicGradleProject addChild(PartialBasicGradleProject child) {
            children.add(child);
            return this;
        }
    
        public DefaultProjectIdentifier getProjectIdentifier() {
            return projectIdentifier;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. maven-xml-impl/src/main/java/org/apache/maven/internal/xml/XmlNodeBuilder.java

                            }
                        }
                    } else {
                        if (children == null) {
                            children = new ArrayList<>();
                        }
                        XmlNode child = build(parser, trim, locationBuilder);
                        children.add(child);
                    }
                } else if (eventType == XmlPullParser.TEXT) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top