Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for findroot (0.28 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc

    };
    
    }  // namespace
    
    bool ClusteringState::IsMember(Operation *op) const {
      return member_ids.find(op) != member_ids.end();
    }
    
    unsigned ClusteringState::FindRoot(unsigned id) {
      if (members[id].root == id) return id;
      return members[id].root = FindRoot(members[id].root);
    }
    
    LogicalResult ClusteringState::VerifyDominanceProperty(
        unsigned src_root, unsigned dst_root, Operation *insertion_point) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/api/services/model/RootLocator.java

        @Nonnull
        default Path findMandatoryRoot(Path basedir) {
            Path rootDirectory = findRoot(basedir);
            if (rootDirectory == null) {
                throw new IllegalStateException(getNoRootMessage());
            }
            return rootDirectory;
        }
    
        @Nullable
        default Path findRoot(Path basedir) {
            Path rootDirectory = basedir;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. maven-model-builder/src/main/java/org/apache/maven/model/root/RootLocator.java

        @Nonnull
        default Path findMandatoryRoot(Path basedir) {
            Path rootDirectory = findRoot(basedir);
            if (rootDirectory == null) {
                throw new IllegalStateException(getNoRootMessage());
            }
            return rootDirectory;
        }
    
        @Nullable
        default Path findRoot(Path basedir) {
            Path rootDirectory = basedir;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 20 10:58:12 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/poset.go

    	return po.dfs(i1, strict, func(n uint32) bool {
    		return n == i2
    	})
    }
    
    // findroot finds i's root, that is which DAG contains i.
    // Returns the root; if i is itself a root, it is returned.
    // Panic if i is not in any DAG.
    func (po *poset) findroot(i uint32) uint32 {
    	// TODO(rasky): if needed, a way to speed up this search is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 17:23:05 UTC 2023
    - 37.2K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                                .listener(listener)
                                .build();
    
                        if (pomFile != null) {
                            project.setRootDirectory(rootLocator.findRoot(pomFile.getParent()));
                        }
    
                        ModelBuilderResult result;
                        try {
                            result = modelBuilder.build(request);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 16:34:29 UTC 2024
    - 57.1K bytes
    - Viewed (0)
  6. maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

        }
    
        @Test
        public void findRootProjectWithAttribute() {
            Path test = Paths.get("src/test/projects/root-attribute");
            assertEquals(test, new DefaultRootLocator().findRoot(test.resolve("child")));
        }
    
        @Test
        public void testPropertiesInterpolation() throws Exception {
            // Arrange
            CliRequest request = new CliRequest(
                    new String[] {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  7. maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            RootLocator rootLocator =
                    ServiceLoader.load(RootLocator.class).iterator().next();
            cliRequest.rootDirectory = rootLocator.findRoot(topDirectory);
    
            //
            // Make sure the Maven home directory is an absolute path to save us from confusion with say drive-relative
            // Windows paths.
            //
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 72.6K bytes
    - Viewed (0)
  8. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/util/internal/WrapperDistributionUrlConverter.java

         *
         * @param distributionUrl The distribution url.
         * @param fileRoot The root directory to resolve relative urls against.
         * @return The URI.
         * @throws URISyntaxException If the url is not a valid URI.
         */
        public static URI convertDistributionUrl(String distributionUrl, File fileRoot) throws URISyntaxException {
            URI source = new URI(distributionUrl);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:12:34 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/toolchain/java/JavaToolchainImpl.java

            return "JDK[" + getJavaHome() + "]";
        }
    
        public String findTool(String toolName) {
            Path toRet = findTool(toolName, Paths.get(getJavaHome()).normalize());
            if (toRet != null) {
                return toRet.toAbsolutePath().toString();
            }
            return null;
        }
    
        private static Path findTool(String toolName, Path installDir) {
            Path bin = installDir.resolve("bin"); // NOI18N
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 06:01:36 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java

                @Override
                public String findTool(String toolName) {
                    return null;
                }
            };
        }
    
        private DefaultToolchain newDefaultToolchain(ToolchainModel model, String type) {
            return new DefaultToolchain(model, type, logger) {
                @Override
                public String findTool(String toolName) {
                    return null;
                }
            };
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 09:07:17 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top