Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for closed (0.16 sec)

  1. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      ops->writable_file_ops->tell = tf_writable_file::Tell;
      ops->writable_file_ops->flush = tf_writable_file::Flush;
      ops->writable_file_ops->sync = tf_writable_file::Sync;
      ops->writable_file_ops->close = tf_writable_file::Close;
    
      ops->read_only_memory_region_ops = static_cast<TF_ReadOnlyMemoryRegionOps*>(
          plugin_memory_allocate(TF_READ_ONLY_MEMORY_REGION_OPS_SIZE));
      ops->read_only_memory_region_ops->cleanup =
    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)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

        tf_writable_file::Append(writer.get(), content.c_str(), content.length(),
                                 status_);
        if (TF_GetCode(status_) != TF_OK) return;
        tf_writable_file::Close(writer.get(), status_);
        if (TF_GetCode(status_) != TF_OK) return;
      }
    
      std::string ReadAll(const std::string& path) {
        auto reader = GetReader();
    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.cc

    // objects.
    constexpr char kComposeAppend[] = "compose";
    
    // We can cast `google::cloud::StatusCode` to `TF_Code` because they have the
    // same integer values. See
    // https://github.com/googleapis/google-cloud-cpp/blob/6c09cbfa0160bc046e5509b4dd2ab4b872648b4a/google/cloud/status.h#L32-L52
    static inline void TF_SetStatusFromGCSStatus(
        const google::cloud::Status& gcs_status, TF_Status* status) {
    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)
  4. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      return StatusFromTF_Status(plugin_status.get());
    }
    
    Status ModularWritableFile::Close() {
      if (ops_->close == nullptr)
        return errors::Unimplemented(
            tensorflow::strings::StrCat("Close() not implemented for ", filename_));
    
      UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus);
      ops_->close(file_.get(), plugin_status.get());
      return StatusFromTF_Status(plugin_status.get());
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
Back to top