Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for InsertObject (0.2 sec)

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

        return ::testing::AssertionSuccess();
      } else {
        return ::testing::AssertionFailure()
               << writer.metadata().status().message();
      }
    }
    
    ::testing::AssertionResult InsertObject(const std::string& path,
                                            const std::string& content,
                                            gcs::Client* gcs_client,
                                            TF_Status* 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)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

        TF_VLog(3, "CreateDir: directory already exists, not uploading %s", path);
        return TF_SetStatus(status, TF_ALREADY_EXISTS, path);
      }
    
      auto metadata = gcs_file->gcs_client.InsertObject(
          bucket, object, "",
          // Adding this parameter means HTTP_CODE_PRECONDITION_FAILED
          // will be returned if the object already exists, so avoid reuploading.
          gcs::IfGenerationMatch(0), gcs::Fields(""));
    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)
Back to top