Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for isDescendant (0.28 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/core/ModelPathTest.groovy

            expect:
            ModelPath.ROOT.isDescendant(ModelPath.path("p"))
            ModelPath.ROOT.isDescendant(ModelPath.path("a.b"))
            !ModelPath.ROOT.isDescendant(ModelPath.ROOT)
    
            ModelPath.path("a.b").isDescendant(ModelPath.path("a.b.c"))
            ModelPath.path("a.b").isDescendant(ModelPath.path("a.b.c.d.e"))
            !ModelPath.path("a.b").isDescendant(ModelPath.path("a.a"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelPath.java

                return false;
            }
            ModelPath otherParent = other.getParent();
            return otherParent != null && otherParent.equals(this);
        }
    
        public boolean isDescendant(@Nullable ModelPath other) {
            if (other == null) {
                return false;
            }
    
            int length = components.length;
            if (other.components.length <= components.length) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  3. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java

        }
    
        public boolean isSelfOrDescendant(File file) {
            if (file.getAbsolutePath().equals(getAbsolutePath())) {
                return true;
            }
            return isDescendant(file);
        }
    
        public boolean isDescendant(File file) {
            return file.getAbsolutePath().startsWith(getAbsolutePath() + File.separatorChar);
        }
    
        public TestFile createDir() {
            if (mkdirs()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:31:52 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProblemReportingIntegrationTest.groovy

            run(ENABLE_CLI_OPT, '--info', 'doIt')
    
            then:
            reportDir.isDirectory()
    
            def reportLocationShown = resolveConfigurationCacheReport(testDirectory.file('out'), output)
            reportDir.isDescendant(reportLocationShown)
        }
    
        def "link to report is logged as warning when there are no-CC problems if internal option is used"() {
            def reportDir = testDirectory.file('out/reports/configuration-cache')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 56.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/DefaultModelRegistry.java

                    ModelReferenceNode referenceNode = (ModelReferenceNode) node;
                    ModelNodeInternal target = referenceNode.getTarget();
                    if (target == null || target.getPath().isDescendant(node.getPath())) {
                        // No target, or target is an ancestor of this node, so is already being handled
                        return true;
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  6. src/internal/trace/traceviewer/static/trace_viewer_full.html

    inkPaths(to);}},unlinkPaths:function(path){if(this._boundPaths){delete this._boundPaths[path];}},_notifyBoundPaths:function(path,value){for(var a in this._boundPaths){var b=this._boundPaths[a];if(Path.isDescendant(a,path)){this._notifyPath(Path.translate(a,b,path),value);}else if(Path.isDescendant(b,path)){this._notifyPath(Path.translate(b,a,path),value);}}},_notifyPathUp:function(path,value){var rootName=Path.root(path);var dashCaseName=Polymer.CaseMap.camelToDashCase(rootName);var eventName=da...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (0)
Back to top