Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for cleanup (0.19 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h

    //
    // You can call 'release()' on a Cleanup object to cancel the cleanup.
    
    #ifndef TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_GCS_CLEANUP_H_
    #define TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_GCS_CLEANUP_H_
    
    #include <type_traits>
    #include <utility>
    
    namespace tf_gcs_filesystem {
    
    // A move-only RAII object that calls a stored cleanup functor when
    // destroyed. Cleanup<F> is the return type of gtl::MakeCleanup(F).
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 11:16:00 GMT 2020
    - 3.4K bytes
    - Viewed (0)
  2. ci/official/utilities/cleanup_docker.sh

    cat <<EOF
    IMPORTANT: These tests ran under docker. This script does not clean up the
    container for you! You can delete the container with:
    
    $ docker rm -f tf
    
    You can also execute more commands within the container with e.g.:
    
    $ docker exec tf bazel clean
    $ docker exec -it tf bash
    EOF
    
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 10 20:26:29 GMT 2023
    - 998 bytes
    - Viewed (0)
  3. ci/official/utilities/cleanup_summary.sh

    A. Unique TensorFlower <******@****.***> 1699465409 -0800
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  4. tensorflow/c/c_op_requires.h

          return;                                                     \
        }                                                             \
      } while (0)
    
    #define TF_CLEANUP_AND_RETURN_IF_ERROR(C_STATUS, BUFFER, __VA_ARGS__) \
      do {                                                                \
        ::tensorflow::Status _s(__VA_ARGS__);                             \
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Aug 02 21:35:06 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

    #include <cstring>
    #include <memory>
    #include <sstream>
    #include <utility>
    
    #include "absl/synchronization/mutex.h"
    #include "tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h"
    
    namespace tf_gcs_filesystem {
    
    bool RamFileBlockCache::BlockNotStale(const std::shared_ptr<Block>& block) {
      absl::MutexLock l(&block->mu);
      if (block->state != FetchState::FINISHED) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  6. ci/official/utilities/setup.sh

    fi
    
    # Single handler for all cleanup actions, triggered on an EXIT trap.
    # TODO(angerson) Making this use different scripts may be overkill.
    cleanup() {
      if [[ "$TFCI_DOCKER_ENABLE" == 1 ]]; then
        ./ci/official/utilities/cleanup_docker.sh
      fi
      ./ci/official/utilities/cleanup_summary.sh
    }
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jan 26 00:33:34 GMT 2024
    - 5.2K bytes
    - Viewed (1)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h

    namespace tf_random_access_file {
    void Cleanup(TF_RandomAccessFile* file);
    int64_t Read(const TF_RandomAccessFile* file, uint64_t offset, size_t n,
                 char* buffer, TF_Status* status);
    }  // namespace tf_random_access_file
    
    namespace tf_writable_file {
    void Cleanup(TF_WritableFile* file);
    void Append(const TF_WritableFile* file, const char* buffer, size_t n,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:37:41 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

        // initialize filesystem in each testcase.
      }
      void TearDown() override {
        TF_DeleteStatus(status_);
        if (filesystem_->plugin_filesystem != nullptr)
          tf_gcs_filesystem::Cleanup(filesystem_);
        delete filesystem_;
      }
    
      std::string GetURIForPath(absl::string_view path) {
        const std::string translated_name =
            tensorflow::io::JoinPath(root_dir_, path);
        return translated_name;
    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)
  9. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      ops->random_access_file_ops->cleanup = tf_random_access_file::Cleanup;
      ops->random_access_file_ops->read = tf_random_access_file::Read;
    
      ops->writable_file_ops = static_cast<TF_WritableFileOps*>(
          plugin_memory_allocate(TF_WRITABLE_FILE_OPS_SIZE));
      ops->writable_file_ops->cleanup = tf_writable_file::Cleanup;
      ops->writable_file_ops->append = tf_writable_file::Append;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/BUILD

        linkstatic = 1,
        deps = [
            "//tensorflow/c:env",
        ],
    )
    
    cc_library(
        name = "cleanup",
        hdrs = ["cleanup.h"],
    )
    
    cc_library(
        name = "ram_file_block_cache",
        srcs = ["ram_file_block_cache.cc"],
        hdrs = ["ram_file_block_cache.h"],
        deps = [
            ":cleanup",
            "//tensorflow/c:env",
            "//tensorflow/c:logging",
            "//tensorflow/c:tf_status",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 3.4K bytes
    - Viewed (0)
Back to top