- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for tmp_dir (0.16 sec)
-
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 May 07 12:40:20 GMT 2024 - Last Modified: Mon Sep 18 14:52:45 GMT 2023 - 2.6K bytes - Viewed (0) -
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 30 12:39:09 GMT 2024 - Last Modified: Wed Jul 12 19:47:53 GMT 2023 - 2.6K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:25:58 GMT 2022 - 71K bytes - Viewed (0) -
ci/official/utilities/code_check_changed_files.bats
echo "=============================" grep -e '\.h$' -e '\.cc$' $BATS_FILE_TMPDIR/changed_files > $BATS_TEST_TMPDIR/files || true if [[ ! -s $BATS_TEST_TMPDIR/files ]]; then return 0; fi xargs -a $BATS_TEST_TMPDIR/files -i -n1 -P $(nproc --all) \ bash -c 'clang-format-12 --style=Google {} | git diff --no-index {} -' \ | tee $BATS_TEST_TMPDIR/needs_help.txt
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jan 10 19:39:41 GMT 2024 - 4K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats
comm -2 -3 $BATS_TEST_TMPDIR/expected_licenses $BATS_TEST_TMPDIR/actual_licenses | grep -v -f $BATS_TEST_TMPDIR/allowed_to_be_missing > $BATS_TEST_TMPDIR/actual_missing_licenses || true if [[ -s $BATS_TEST_TMPDIR/actual_extra_licenses ]]; then echo "Please remove the following extra licenses from $LICENSES_TARGET:" cat $BATS_TEST_TMPDIR/actual_extra_licenses fi
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Mon Sep 18 14:52:45 GMT 2023 - 12.7K bytes - Viewed (0) -
tensorflow/c/env.cc
list->position = 0; return list; } TF_StringStream* TF_GetLocalTempDirectories() { auto* tmpdirs = new std::vector<::tensorflow::string>; ::tensorflow::Env::Default()->GetLocalTempDirectories(tmpdirs); auto* list = new TF_StringStream; list->list = tmpdirs; list->position = 0; return list; } char* TF_GetTempFileName(const char* extension) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 11 01:20:50 GMT 2021 - 7K bytes - Viewed (0) -
ci/official/utilities/setup_macos.sh
# use the output base directory to run tests. if [[ "${TFCI_MACOS_BAZEL_TEST_DIR_ENABLE}" == 1 ]]; then mkdir -p "${TFCI_MACOS_BAZEL_TEST_DIR_PATH}" export TEST_TMPDIR="${TFCI_MACOS_BAZEL_TEST_DIR_PATH}" fi # "TFCI_MACOS_INSTALL_BAZELISK_ENABLE" is used to decide if we need to install # Bazelisk manually. We enable this for macOS x86 builds as those VMs do not
Shell Script - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 15:23:28 GMT 2024 - 6.2K bytes - Viewed (0) -
ci/official/utilities/code_check_full.bats
comm -2 -3 $BATS_TEST_TMPDIR/expected_licenses $BATS_TEST_TMPDIR/actual_licenses | grep -v -f $BATS_TEST_TMPDIR/allowed_to_be_missing > $BATS_TEST_TMPDIR/actual_missing_licenses || true if [[ -s $BATS_TEST_TMPDIR/actual_extra_licenses ]]; then echo "Please remove the following extra licenses from $LICENSES_TARGET:" cat $BATS_TEST_TMPDIR/actual_extra_licenses fi
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 06 21:54:13 GMT 2024 - 13.2K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/code_check_changed_files.bats
echo "=============================" grep -e '\.h$' -e '\.cc$' $BATS_FILE_TMPDIR/changed_files > $BATS_TEST_TMPDIR/files || true if [[ ! -s $BATS_TEST_TMPDIR/files ]]; then return 0; fi xargs -a $BATS_TEST_TMPDIR/files -i -n1 -P $(nproc --all) \ bash -c 'clang-format-12 --style=Google {} | git diff --no-index {} -' \ | tee $BATS_TEST_TMPDIR/needs_help.txt
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Mon Sep 18 14:52:45 GMT 2023 - 3.6K bytes - Viewed (0)