Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 170 for tmpdir (0.06 sec)

  1. guava/src/com/google/common/io/Files.java

       *     use {@code new File(context.getCacheDir(), "directoryname").mkdir()}, or, if you need an
       *     arbitrary number of temporary directories, you might have to generate multiple directory
       *     names in a loop until {@code mkdir()} returns {@code true}.) For JRE users, prefer {@link
       *     java.nio.file.Files#createTempDirectory}, transforming it to a {@link File} using {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  2. ci/official/utilities/repack_libtensorflow.sh

      src_jar="$1"
      dest_jar="$2"
      tmp_dir=$(mktemp -d)
      cp "${src_jar}" "${tmp_dir}/orig.jar"
      pushd "${tmp_dir}"
      # Extract any src/ files
      jar -xf "${tmp_dir}/orig.jar" src/
      # Extract any org/ files under src/main/java
      (mkdir -p src/main/java && cd src/main/java && jar -xf "${tmp_dir}/orig.jar" org/)
      # Repackage src/
      jar -cMf "${tmp_dir}/new.jar" src
      popd
      cp "${tmp_dir}/new.jar" "${dest_jar}"
      rm -rf "${tmp_dir}"
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Jan 17 16:25:18 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. cmd/os-readdir_test.go

    func setupTestReadDirGeneric(t *testing.T) (testResults []result) {
    	dir := t.TempDir()
    	if err := os.MkdirAll(filepath.Join(dir, "mydir"), 0o777); err != nil {
    		t.Fatalf("Unable to create prefix directory \"mydir\", %s", err)
    	}
    	entries := []string{"mydir/"}
    	for i := range 10 {
    		name := fmt.Sprintf("file-%d", i)
    		if err := os.WriteFile(filepath.Join(dir, "mydir", name), []byte{}, os.ModePerm); err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                    Files.createDirectories(tempDir.resolve("public"));
                    Files.createDirectories(tempDir.resolve("shared"));
    
                    // Create some initial files
                    Files.writeString(tempDir.resolve("public/readme.txt"), "This is a public share for testing");
                    Files.writeString(tempDir.resolve("shared/initial.txt"), "Initial file in shared directory");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  5. deps.xml

    	<target name="install.jars">
    		<mkdir dir="${target.dir}" />
    		<delete dir="${webinf.dir}/lib" />
    		<mkdir dir="${webinf.dir}/lib" />
    		<delete dir="${crawler.dir}/lib" />
    		<mkdir dir="${crawler.dir}/lib" />
    		<delete dir="${suggest.dir}/lib" />
    		<mkdir dir="${suggest.dir}/lib" />
    		<delete dir="${thumbnail.dir}/lib" />
    		<mkdir dir="${thumbnail.dir}/lib" />
    		<!-- annotation-api -->
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun May 18 04:53:52 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/IoTestCase.java

       * the tear-down for this test. Subsequent invocations of this method will return the same
       * directory.
       */
      protected final File getTempDir() throws IOException {
        if (tempDir == null) {
          tempDir = createTempDir();
        }
    
        return tempDir;
      }
    
      /**
       * Creates a new temp file in the temp directory returned by {@link #getTempDir()}. The file will
       * be deleted in the tear-down for this test.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            // Test with existing directory
            File testDir = new File(tempDir, "test_delete_dir");
            assertTrue(testDir.mkdir());
            assertTrue(testDir.exists());
    
            execJob.testDeleteTempDir(testDir);
            assertFalse(testDir.exists());
    
            // Test with non-existent directory
            File nonExistentDir = new File(tempDir, "non_existent");
            execJob.testDeleteTempDir(nonExistentDir);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  8. src/archive/zip/testdata/dupdir.zip

    Ian Lance Taylor <******@****.***> 1640844165 -0800
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 10 17:51:16 UTC 2022
    - 458 bytes
    - Viewed (0)
  9. lib/time/update.bash

    # in the CL match the update.bash in the CL.
    
    # Versions to use.
    CODE=2025b
    DATA=2025b
    
    set -e
    
    cd $(dirname $0)
    rm -rf work
    mkdir work
    go build -o work/mkzip mkzip.go # build now for correct paths in build errors
    cd work
    mkdir zoneinfo
    curl -sS -L -O https://www.iana.org/time-zones/repository/releases/tzcode$CODE.tar.gz
    curl -sS -L -O https://www.iana.org/time-zones/repository/releases/tzdata$DATA.tar.gz
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed May 28 16:03:11 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

            Files.createDirectories(Paths.get("target", "fess", "js"));
        }
    
        @Override
        public void tearDown() throws Exception {
            if (tempDir != null && Files.exists(tempDir)) {
                deleteDirectory(tempDir);
            }
            super.tearDown();
        }
    
        private void deleteDirectory(Path dir) throws IOException {
            Files.walk(dir).sorted((a, b) -> b.compareTo(a)).forEach(path -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.5K bytes
    - Viewed (0)
Back to top