- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for findGoroot (0.17 sec)
-
src/cmd/go/internal/cfg/cfg.go
func envOr(key, def string) string { val := Getenv(key) if val == "" { val = def } return val } // There is a copy of findGOROOT, isSameDir, and isGOROOT in // x/tools/cmd/godoc/goroot.go. // Try to keep them in sync for now. // findGOROOT returns the GOROOT value, using either an explicitly // provided environment variable, a GOROOT that contains the current
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:13:51 UTC 2024 - 19.3K bytes - Viewed (0) -
misc/go_android_exec/main.go
return err } s, err := io.ReadAll(stat) if err != nil { return err } if string(s) == goVersion { return nil } goroot, err := findGoroot() if err != nil { return err } // Delete the device's GOROOT, GOPATH and any leftover test data, // and recreate GOROOT. if err := adb("exec-out", "rm", "-rf", deviceRoot); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 21 17:46:57 UTC 2023 - 15.3K bytes - Viewed (0) -
src/internal/testenv/testenv.go
for _, envVar := range strings.Fields(cfg.KnownEnv) { os.Getenv(envVar) } return path } var ( gorootOnce sync.Once gorootPath string gorootErr error ) func findGOROOT() (string, error) { gorootOnce.Do(func() { gorootPath = runtime.GOROOT() if gorootPath != "" { // If runtime.GOROOT() is non-empty, assume that it is valid. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 16:41:38 UTC 2024 - 15.7K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon May 13 16:34:29 UTC 2024 - 57.1K bytes - Viewed (0) -
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) -
maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Feb 28 23:31:59 UTC 2024 - 72.6K bytes - Viewed (0)