Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for NewAppendableFile (0.27 sec)

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

        TF_SetStatusFromIOError(status, errno, path);
        return;
      }
    
      file->plugin_file = new tf_writable_file::PosixFile({strdup(path), f});
      TF_SetStatus(status, TF_OK, "");
    }
    
    static void NewAppendableFile(const TF_Filesystem* filesystem, const char* path,
                                  TF_WritableFile* file, TF_Status* status) {
      FILE* f = fopen(path, "a");
      if (f == nullptr) {
    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/modular_filesystem.h

          std::unique_ptr<RandomAccessFile>* result) override;
      Status NewWritableFile(const std::string& fname, TransactionToken* token,
                             std::unique_ptr<WritableFile>* result) override;
      Status NewAppendableFile(const std::string& fname, TransactionToken* token,
                               std::unique_ptr<WritableFile>* result) override;
      Status NewReadOnlyMemoryRegionFromFile(
          const std::string& fname, TransactionToken* token,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      return StatusFromTF_Status(plugin_status.get());
    }
    
    Status ModularFileSystem::NewAppendableFile(
        const std::string& fname, TransactionToken* token,
        std::unique_ptr<WritableFile>* result) {
      if (ops_->new_appendable_file == nullptr)
        return errors::Unimplemented(tensorflow::strings::StrCat(
            "Filesystem for ", fname, " does not support NewAppendableFile()"));
    
      UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus);
    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)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

      // We are responsible for freeing the pointer returned by TF_GetTempFileName
      free(temp_file_name);
      TF_VLog(3, "GcsWritableFile: %s", path);
      TF_SetStatus(status, TF_OK, "");
    }
    
    void NewAppendableFile(const TF_Filesystem* filesystem, const char* path,
                           TF_WritableFile* file, TF_Status* status) {
      std::string bucket, object;
      ParseGCSPath(path, false, &bucket, &object, 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)
Back to top