Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GCSFile (0.21 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

    typedef struct GCSFile {
      const std::string path;
      const bool is_cache_enable;
      const uint64_t buffer_size;
      ReadFn read_fn;
      absl::Mutex buffer_mutex;
      uint64_t buffer_start ABSL_GUARDED_BY(buffer_mutex);
      bool buffer_end_is_past_eof ABSL_GUARDED_BY(buffer_mutex);
      std::string buffer ABSL_GUARDED_BY(buffer_mutex);
    
      GCSFile(std::string path, bool is_cache_enable, uint64_t buffer_size,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h

      std::unique_ptr<ExpiringLRUCache<GcsFileStat>> stat_cache;
      GCSFile(google::cloud::storage::Client&& gcs_client);
      // This constructor is used for testing purpose only.
      GCSFile(google::cloud::storage::Client&& gcs_client, bool compose,
              uint64_t block_size, size_t max_bytes, uint64_t max_staleness,
              uint64_t stat_cache_max_age, size_t stat_cache_max_entries);
    } GCSFile;
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:37:41 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

      ASSERT_EQ(read, -1) << "Read: " << read;
      ASSERT_EQ(TF_GetCode(status_), TF_NOT_FOUND) << TF_Message(status_);
      TF_SetStatus(status_, TF_OK, "");
    
      auto gcs_file =
          static_cast<tf_gcs_filesystem::GCSFile*>(filesystem_->plugin_filesystem);
      ASSERT_TRUE(WriteToServer(filepath, 0, content_view.length(),
                                &gcs_file->gcs_client, status_));
    
    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)
Back to top