Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 54 for subdir2 (0.15 sec)

  1. platforms/documentation/docs/src/samples/build-organization/cross-project-output-sharing/kotlin/producer/build.gradle.kts

    val makeFile = tasks.register("makeFile") {
        val sharedFile = layout.buildDirectory.file("some-subdir/shared-file.txt")
        outputs.file(sharedFile)
        doFirst {
            sharedFile.get().asFile.writeText("This file is shared across Gradle subprojects.")
        }
    }
    
    val sharedConfiguration by configurations.creating {
        isCanBeResolved = false
    }
    
    artifacts {
        add(sharedConfiguration.name, makeFile)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 409 bytes
    - Viewed (0)
  2. src/io/fs/format.go

    }
    
    // FormatDirEntry returns a formatted version of dir for human readability.
    // Implementations of [DirEntry] can call this from a String method.
    // The outputs for a directory named subdir and a file named hello.go are:
    //
    //	d subdir/
    //	- hello.go
    func FormatDirEntry(dir DirEntry) string {
    	name := dir.Name()
    	b := make([]byte, 0, 5+len(name))
    
    	// The Type method does not return any permission bits,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:34:35 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/install_shadow_gopath.txt

    # Tests Issue #3562
    # go get foo.io (not foo.io/subdir) was not working consistently.
    
    env GO111MODULE=off
    env GOPATH=$WORK/gopath1${:}$WORK/gopath2
    
    mkdir $WORK/gopath1/src/test
    mkdir $WORK/gopath2/src/test
    cp main.go $WORK/gopath2/src/test/main.go
    cd $WORK/gopath2/src/test
    
    ! go install
    stderr 'no install location for.*gopath2.src.test: hidden by .*gopath1.src.test'
    
    -- main.go --
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 415 bytes
    - Viewed (0)
  4. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/AbstractSourceDependencyIntegrationTest.groovy

            def subdir = repo.file("subdir")
            repo.workTree.listFiles().each {
                if (it.name == '.git') {
                    return
                }
                it.copyTo(subdir.file(it.name))
                it.delete()
            }
            commit = repo.commit('updated')
            mappingFor(repo, "org.test:dep", 'rootDir = "subdir"')
    
            expect:
            succeeds('assemble')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  5. manifests/addons/dashboards/jsonnetfile.json

    {
      "version": 1,
      "dependencies": [
        {
          "source": {
            "git": {
              "remote": "https://github.com/grafana/grafonnet.git",
              "subdir": "gen/grafonnet-latest"
            }
          },
          "version": "main"
        }
      ],
      "legacyImports": true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 266 bytes
    - Viewed (0)
  6. tools/bug-report/pkg/archive/archive.go

    			return err
    		}
    		return nil
    	})
    }
    
    func getRootDir(rootDir string) string {
    	if rootDir != "" {
    		return rootDir
    	}
    	initDir.Do(func() {
    		// Extra subdir so archive extracts under new ./bug-report subdir.
    		tmpDir = filepath.Join(os.TempDir(), bugReportSubdir, bugReportSubdir)
    	})
    	return tmpDir
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 30 00:10:16 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/samples/build-organization/cross-project-output-sharing/groovy/producer/build.gradle

    def makeFile = tasks.register("makeFile") {
        def sharedFile = layout.buildDirectory.file("some-subdir/shared-file.txt")
        outputs.file(sharedFile)
        doFirst {
            sharedFile.get().asFile << "This file is shared across Gradle subprojects."
        }
    }
    
    configurations {
        sharedConfiguration {
            canBeResolved = false
        }
    }
    
    artifacts {
        sharedConfiguration(makeFile)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 389 bytes
    - Viewed (0)
  8. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DirectoryWalkerTest.groovy

            }
            if (currentDepth < maxDepth) {
                for (int i = 0; i < dirCount; i++) {
                    TestFile subDir = parentDir.createDir("dir" + fileIdGenerator.incrementAndGet())
                    generateFilesAndSubDirectories(subDir, fileCount, dirCount, maxDepth, currentDepth + 1, fileIdGenerator)
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/cc/io_test.cc

          IsOk());
      ASSERT_THAT(env->RecursivelyCreateDir(absl::StrCat(*tmp_dir, "/subdir")),
                  IsOk());
    
      absl::StatusOr<std::vector<std::string>> children = ListDirectory(*tmp_dir);
      EXPECT_THAT(children, IsOk());
      EXPECT_THAT(children.value(), SizeIs(3));
      EXPECT_THAT(children.value(),
                  UnorderedElementsAre("subdir", "tmp_file1", "tmp_file2"));
    }
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 03:28:15 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/ops/gen/common/path_config.cc

      if (source_tfroot_pos != source_path_components.end()) {
        tf_prefix_dir =
            absl::StrJoin(source_path_components.begin(), source_tfroot_pos, "/");
      } else {
        tf_prefix_dir = source_dir;
      }
    
      // TF subdir, e.g. "c/ops" given output_dir "blah/blah/tensorflow/c/ops"
      std::vector<string> output_path_components =
          tensorflow::str_util::Split(output_dir, "/");
      auto output_tfroot_pos = std::find(output_path_components.begin(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 09:51:28 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top