- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for tempDir (0.31 sec)
-
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 Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Sep 18 14:52:45 GMT 2023 - 12.7K bytes - Viewed (0) -
tensorflow/c/env_test.cc
TEST(TestEnv, TestDirHandling) { TF_StringStream* tempdirs = TF_GetLocalTempDirectories(); const char* tempdir; bool found = false; while (TF_StringStreamNext(tempdirs, &tempdir)) { found = true; TF_Status* s = TF_NewStatus(); ::tensorflow::string dirpath = ::tensorflow::io::JoinPath(tempdir, "somedir"); TF_CreateDir(dirpath.c_str(), s);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Dec 10 20:52:48 GMT 2018 - 4.2K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
// fixture to create new directories in `SetUp`. Each directory will reside in // `::testing::TempDir()`, will use a RNG component and the test name. This // ensures that two consecutive runs are unlikely to clash. class ModularFileSystemTest : public ::testing::TestWithParam<std::string> { public: // Initializes `root_dir_` to a unique value made of `::testing::TempDir()`, a // static random value unique for all the tests in one invocation, and the
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/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 Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Sep 18 14:52:45 GMT 2023 - 3.6K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc
namespace gcs = google::cloud::storage; static std::string InitializeTmpDir() { // This env should be something like `gs://bucket/path` const char* test_dir = getenv("GCS_TEST_TMPDIR"); if (test_dir != nullptr) { std::string bucket, object; TF_Status* status = TF_NewStatus(); ParseGCSPath(test_dir, true, &bucket, &object, status); if (TF_GetCode(status) != TF_OK) {
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) -
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/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/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)