Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for tempDir (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
Back to top