Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    // TODO(vnvo2409): Refactor the filesystem implementation when
    // https://github.com/googleapis/google-cloud-cpp/issues/4482 is done.
    GCSFile::GCSFile(google::cloud::storage::Client&& gcs_client)
        : gcs_client(gcs_client), block_cache_lock() {
      const char* append_mode = std::getenv(kAppendMode);
      compose = (append_mode != nullptr) && (!strcmp(kAppendMode, append_mode));
    
      uint64_t value;
    C++
    - Registered: Tue Apr 30 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_test.cc

                                             size_t length, gcs::Client* gcs_client,
                                             TF_Status* status) {
      std::string bucket, object;
      ParseGCSPath(path, false, &bucket, &object, status);
      if (TF_GetCode(status) != TF_OK)
        return ::testing::AssertionFailure() << TF_Message(status);
    
      auto writer = gcs_client->WriteObject(bucket, object);
      writer.write(content + offset, length);
    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)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h

                            // of block_size.
      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 30 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:37:41 GMT 2020
    - 5.2K bytes
    - Viewed (0)
Back to top