Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,311 for _mkdir (0.31 sec)

  1. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/MavenInstallationDownloader.groovy

        }
    
        private static File extractBinArchive(String mavenVersion, File binArchive) {
            def target = File.createTempDir("maven-install-$mavenVersion-", "")
            def ant = new AntBuilder()
            ant.mkdir(dir: target)
            ant.unzip(src: binArchive, dest: target)
            mavenInstallDirectory(target, mavenVersion)
        }
    
        private File moveToInstallsRoot(File tmpHome) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.groovy

                    outputs.cacheIf { true }
                    doLast {
                        delete('build')
                        ${
                actual == "file"
                    ? "mkdir('build'); file('build/output').text = file('input.txt').text"
                    : "mkdir('build/output'); file('build/output/output.txt').text = file('input.txt').text"
            }
                    }
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testplugin/plugin_test.go

    	flag.Parse()
    	log.SetFlags(log.Lshortfile)
    	os.Exit(testMain(m))
    }
    
    // tmpDir is used to cleanup logged commands -- s/tmpDir/$TMPDIR/
    var tmpDir string
    
    // prettyPrintf prints lines with tmpDir sanitized.
    func prettyPrintf(format string, args ...interface{}) {
    	s := fmt.Sprintf(format, args...)
    	if tmpDir != "" {
    		s = strings.ReplaceAll(s, tmpDir, "$TMPDIR")
    	}
    	fmt.Print(s)
    }
    
    func testMain(m *testing.M) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/README

    	To display help for a specific condition, enclose it in
    	brackets: 'help [amd64]'.
    	To display complete documentation when listing all commands,
    	pass the -v flag.
    
    mkdir path...
    	create directories, if they do not already exist
    
    	Unlike Unix mkdir, parent directories are always created if
    	needed.
    
    mv old new
    	rename a file or directory to a new path
    
    	OS-specific restrictions may apply when old and new are in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/DefaultVisualStudioLocatorTest.groovy

            allResults.empty
        }
    
        def "visual studio not available when broken installs found"() {
            def visitor = new TreeFormatter()
            def dir1 = tmpDir.createDir("broken1")
            def install1 = legacyVsInstall(dir1, "12")
            def dir2 = tmpDir.createDir("broken2")
            def install2 = legacyVsInstall(dir2, "13")
    
            given:
            1 * commandLineLocator.getVisualStudioInstalls() >> [install1]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 25.1K bytes
    - Viewed (0)
  6. hack/make-rules/test-cmd.sh

    SERVICE_ACCOUNT_LOOKUP=${SERVICE_ACCOUNT_LOOKUP:-true}
    SERVICE_ACCOUNT_KEY=${SERVICE_ACCOUNT_KEY:-/tmp/kube-serviceaccount.key}
    # Generate ServiceAccount key if needed
    if [[ ! -f "${SERVICE_ACCOUNT_KEY}" ]]; then
      mkdir -p "$(dirname "${SERVICE_ACCOUNT_KEY}")"
      openssl genrsa -out "${SERVICE_ACCOUNT_KEY}" 2048 2>/dev/null
    fi
    
    # Runs kube-apiserver
    #
    # Exports:
    #   APISERVER_PID
    function run_kube_apiserver() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 09:10:14 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/job/CrawlJob.java

            File ownTmpDir = null;
            final String tmpDir = System.getProperty("java.io.tmpdir");
            if (fessConfig.isUseOwnTmpDir() && StringUtil.isNotBlank(tmpDir)) {
                ownTmpDir = new File(tmpDir, "fessTmpDir_" + sessionId);
                if (ownTmpDir.mkdirs()) {
                    cmdList.add("-Djava.io.tmpdir=" + ownTmpDir.getAbsolutePath());
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. build-logic/packaging/src/test/kotlin/gradlebuild/packaging/GradleDistributionInstallTest.kt

        @Test
        fun `installs into something that looks like previous distribution`() {
            target.resolve("bin").apply {
                mkdir()
                File(this, "gradle").writeText("stub")
                File(this, "gradle.exe").writeText("stub")
            }
    
            target.resolve("lib").apply {
                mkdir()
                File(this, "gradle-8.0.2.jar").writeText("stub")
                File(this, "all-deps-in-the-world-1.2.2.jar").writeText("stub")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:26 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

    import org.junit.rules.TemporaryFolder
    import java.io.File
    import java.nio.file.Files
    
    
    abstract class AbstractBinaryCompatibilityTest {
    
        @get:Rule
        val tmpDir = TemporaryFolder()
    
        private
        val rootDir: File
            get() = tmpDir.root
    
        internal
        fun checkBinaryCompatibleKotlin(v1: String = "", v2: String, block: CheckResult.() -> Unit = {}): CheckResult =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. src/os/example_test.go

    	fmt.Printf("%s lives in %s.\n", os.Getenv("NAME"), os.Getenv("BURROW"))
    
    	// Output:
    	// gopher lives in /usr/gopher.
    }
    
    func ExampleUnsetenv() {
    	os.Setenv("TMPDIR", "/my/tmp")
    	defer os.Unsetenv("TMPDIR")
    }
    
    func ExampleReadDir() {
    	files, err := os.ReadDir(".")
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	for _, file := range files {
    		fmt.Println(file.Name())
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 17:35:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top