Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for new_random_access_file (0.21 sec)

  1. tensorflow/c/experimental/filesystem/modular_filesystem.cc

    Status ModularFileSystem::NewRandomAccessFile(
        const std::string& fname, TransactionToken* token,
        std::unique_ptr<RandomAccessFile>* result) {
      if (ops_->new_random_access_file == nullptr)
        return errors::Unimplemented(tensorflow::strings::StrCat(
            "Filesystem for ", fname, " does not support NewRandomAccessFile()"));
    
    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)
  2. tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc

      TF_RETURN_IF_ERROR(ValidateHelper(ops->writable_file_ops));
      TF_RETURN_IF_ERROR(ValidateHelper(ops->read_only_memory_region_ops));
    
      if (ops->filesystem_ops->new_random_access_file != nullptr &&
          ops->random_access_file_ops == nullptr)
        return errors::FailedPrecondition(
            "Filesystem allows creation of random access files but no "
            "operations on them have been supplied.");
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 07 22:08:43 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

          plugin_memory_allocate(TF_FILESYSTEM_OPS_SIZE));
      ops->filesystem_ops->init = tf_posix_filesystem::Init;
      ops->filesystem_ops->cleanup = tf_posix_filesystem::Cleanup;
      ops->filesystem_ops->new_random_access_file =
          tf_posix_filesystem::NewRandomAccessFile;
      ops->filesystem_ops->new_writable_file = tf_posix_filesystem::NewWritableFile;
      ops->filesystem_ops->new_appendable_file =
    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)
  4. tensorflow/c/experimental/filesystem/filesystem_interface.h

      ///
      /// REQUIREMENTS: If plugins implement this, they must also provide a filled
      /// `TF_RandomAccessFileOps` table. See "REQUIRED OPERATIONS" above.
      void (*new_random_access_file)(const TF_Filesystem* filesystem,
                                     const char* path, TF_RandomAccessFile* file,
                                     TF_Status* status);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

          plugin_memory_allocate(TF_FILESYSTEM_OPS_SIZE));
      ops->filesystem_ops->init = tf_gcs_filesystem::Init;
      ops->filesystem_ops->cleanup = tf_gcs_filesystem::Cleanup;
      ops->filesystem_ops->new_random_access_file =
          tf_gcs_filesystem::NewRandomAccessFile;
      ops->filesystem_ops->new_writable_file = tf_gcs_filesystem::NewWritableFile;
      ops->filesystem_ops->new_appendable_file =
    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