Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 28 of 28 for create_tempdir (0.15 sec)

  1. platforms/core-runtime/file-temp/src/main/java/org/gradle/api/internal/file/temp/DefaultTemporaryFileProvider.java

            try {
                // TODO: This is not a great paradigm for creating a temporary directory.
                // See http://guava-libraries.googlecode.com/svn/tags/release08/javadoc/com/google/common/io/Files.html#createTempDir%28%29 for an alternative.
                File tmpDir = TempFiles.createTempFile(prefix, suffix, dir);
                if (!tmpDir.delete()) {
                    throw new IOException("Failed to delete file: " + tmpDir);
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 19 21:16:13 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/MavenInstallationDownloader.groovy

                return null
            }
        }
    
        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)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.cc

    using ::stablehlo::quantization::IsCalibrationRequired;
    using ::stablehlo::quantization::PopulateDefaults;
    using ::stablehlo::quantization::QuantizationConfig;
    using ::stablehlo::quantization::io::CreateTmpDir;
    using ::stablehlo::quantization::io::GetLocalTmpFileName;
    using ::tensorflow::quantization::PyFunctionLibrary;
    
    absl::StatusOr<mlir::OwningOpRef<mlir::ModuleOp>> ImportAndPreprocessSavedModel(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

      private static URL makeJarUrlWithName(String name) throws IOException {
        /*
         * TODO: cpovirk - Use java.nio.file.Files.createTempDirectory instead of
         * c.g.c.io.Files.createTempDir?
         */
        File fullPath = new File(Files.createTempDir(), name);
        File jarFile = pickAnyJarFile();
        Files.copy(jarFile, fullPath);
        return fullPath.toURI().toURL();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 26 14:02:27 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/Files.java

       *     call to {@code createTempDirectory}.
       */
      @Beta
      @Deprecated
      @J2ObjCIncompatible
      public static File createTempDir() {
        return TempFileCreator.INSTANCE.createTempDir();
      }
    
      /**
       * Creates an empty file or updates the last updated timestamp on the same as the unix command of
       * the same name.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/Files.java

       *     call to {@code createTempDirectory}.
       */
      @Beta
      @Deprecated
      @J2ObjCIncompatible
      public static File createTempDir() {
        return TempFileCreator.INSTANCE.createTempDir();
      }
    
      /**
       * Creates an empty file or updates the last updated timestamp on the same as the unix command of
       * the same name.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/FilesTest.java

    /**
     * Unit test for {@link Files}.
     *
     * <p>Some methods are tested in separate files:
     *
     * <ul>
     *   <li>{@link Files#fileTraverser()} is tested in {@link FilesFileTraverserTest}.
     *   <li>{@link Files#createTempDir()} is tested in {@link FilesCreateTempDirTest}.
     * </ul>
     *
     * @author Chris Nokleberg
     */
    
    public class FilesTest extends IoTestCase {
    
      @AndroidIncompatible // suites, ByteSourceTester (b/230620681)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/FilesTest.java

    /**
     * Unit test for {@link Files}.
     *
     * <p>Some methods are tested in separate files:
     *
     * <ul>
     *   <li>{@link Files#fileTraverser()} is tested in {@link FilesFileTraverserTest}.
     *   <li>{@link Files#createTempDir()} is tested in {@link FilesCreateTempDirTest}.
     * </ul>
     *
     * @author Chris Nokleberg
     */
    
    public class FilesTest extends IoTestCase {
    
      @AndroidIncompatible // suites, ByteSourceTester (b/230620681)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.2K bytes
    - Viewed (0)
Back to top