Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for tmp_dir (0.19 sec)

  1. ci/official/containers/linux_arm64/devel.usertools/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}"
    Shell Script
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 2.6K 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}"
    Shell Script
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jul 12 19:47:53 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      }
    
      static void SetTmpDir(const std::string& tmp_dir) {
        tmp_dir_ = tmp_dir.empty() ? ::testing::TempDir() : tmp_dir;
      }
    
     protected:
      Env* env_;
    
     private:
      std::string root_dir_;
      static int rng_val_;
      static std::string cloud_path_;
      static std::string tmp_dir_;
    };
    
    int ModularFileSystemTest::rng_val_;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

        return tensorflow::io::JoinPath(std::string(test_dir), rng_val);
      } else {
        return "";
      }
    }
    
    static std::string* GetTmpDir() {
      static std::string tmp_dir = InitializeTmpDir();
      if (tmp_dir == "")
        return nullptr;
      else
        return &tmp_dir;
    }
    
    namespace tensorflow {
    namespace {
    
    // TODO(vnvo2409): Refactor `gcs_filesystem_test` to remove unnecessary tests
    // after porting all tests from
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

                return get(FessConfig.PATH_ENCODING);
            }
    
            public String getUseOwnTmpDir() {
                return get(FessConfig.USE_OWN_TMP_DIR);
            }
    
            public boolean isUseOwnTmpDir() {
                return is(FessConfig.USE_OWN_TMP_DIR);
            }
    
            public String getMaxLogOutputLength() {
                return get(FessConfig.MAX_LOG_OUTPUT_LENGTH);
            }
    
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Apr 11 02:34:53 GMT 2024
    - 459.2K bytes
    - Viewed (4)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

    import java.nio.file.Files
    import org.gradle.api.Action
    import org.gradle.api.UnknownDomainObjectException
    import spock.lang.Specification
    import spock.lang.TempDir
    
    class SimpleClassMetaDataRepositoryTest extends Specification {
        @TempDir File tmpDir
        final SimpleClassMetaDataRepository<TestDomainObject> repository = new SimpleClassMetaDataRepository<TestDomainObject>()
    
        def canAddMetaData() {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Sat Apr 06 02:21:33 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  7. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsIntegrationTest.groovy

    import gradlebuild.buildutils.model.ReleasedVersion
    import spock.lang.Specification
    import spock.lang.TempDir
    
    import java.text.SimpleDateFormat
    
    class UpdateReleasedVersionsIntegrationTest extends Specification {
    
        def format = new SimpleDateFormat('yyyyMMddHHmmssZ')
    
        @TempDir
        File tmpDir
    
        def setup() {
            format.timeZone = TimeZone.getTimeZone("UTC")
        }
    
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Aug 17 08:32:56 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            final File tempDirFile = (File) LaServletContextUtil.getServletContext().getAttribute(CONTEXT_TEMPDIR_KEY);
            String tempDir = tempDirFile.getAbsolutePath();
            if (tempDir == null || tempDir.length() == 0) {
                tempDir = System.getProperty(JAVA_IO_TMPDIR_KEY);
            }
            return tempDir;
        }
    
        // ===================================================================================
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  9. cmd/bitrot_test.go

    package cmd
    
    import (
    	"context"
    	"io"
    	"testing"
    )
    
    func testBitrotReaderWriterAlgo(t *testing.T, bitrotAlgo BitrotAlgorithm) {
    	tmpDir := t.TempDir()
    
    	volume := "testvol"
    	filePath := "testfile"
    
    	disk, err := newLocalXLStorage(tmpDir)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	disk.MakeVol(context.Background(), volume)
    
    	writer := newBitrotWriter(disk, "", volume, filePath, 35, bitrotAlgo, 10)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/TempFileCreator.java

          File baseDir = new File(JAVA_IO_TMPDIR.value());
          @SuppressWarnings("GoodTime") // reading system time without TimeSource
          String baseName = System.currentTimeMillis() + "-";
    
          for (int counter = 0; counter < TEMP_DIR_ATTEMPTS; counter++) {
            File tempDir = new File(baseDir, baseName + counter);
            if (tempDir.mkdir()) {
              return tempDir;
            }
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
Back to top