Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for writable (0.2 sec)

  1. tensorflow/c/experimental/filesystem/plugins/windows/windows_filesystem.cc

    }  // namespace tf_random_access_file
    
    // SECTION 2. Implementation for `TF_WritableFile`
    // ----------------------------------------------------------------------------
    namespace tf_writable_file {
    
    // TODO(b/139060984): Implement later
    
    }  // namespace tf_writable_file
    
    // SECTION 3. Implementation for `TF_ReadOnlyMemoryRegion`
    // ----------------------------------------------------------------------------
    namespace tf_read_only_memory_region {
    C++
    - Registered: Tue Apr 09 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:21:15 GMT 2022
    - 2.6K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

      tf_writable_file::Append(file, content + 4, 4, status_);
      ASSERT_TF_OK(status_);
      length = tf_writable_file::Tell(file, status_);
      ASSERT_EQ(length, 8);
      ASSERT_TF_OK(status_);
      tf_writable_file::Flush(file, status_);
      ASSERT_TF_OK(status_);
      ASSERT_TRUE(
          CompareWithServer(filepath, 0, 8, &gcs_file->gcs_client, status_));
    
      tf_writable_file::Close(file, 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)
  3. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      ops->writable_file_ops = static_cast<TF_WritableFileOps*>(
          plugin_memory_allocate(TF_WRITABLE_FILE_OPS_SIZE));
      ops->writable_file_ops->cleanup = tf_writable_file::Cleanup;
      ops->writable_file_ops->append = tf_writable_file::Append;
      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;
    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/modular_filesystem.cc

      if (ops_->new_writable_file == nullptr)
        return errors::Unimplemented(tensorflow::strings::StrCat(
            "Filesystem for ", fname, " does not support NewWritableFile()"));
    
      UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus);
      auto file = std::make_unique<TF_WritableFile>();
      std::string translated_name = TranslateName(fname);
      ops_->new_writable_file(filesystem_.get(), translated_name.c_str(),
    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)
  5. tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc

                                    TF_RANDOM_ACCESS_FILE_OPS_ABI,
                                    "random access file"));
    
      if (ops->writable_file_ops != nullptr)
        TF_RETURN_IF_ERROR(CheckABI(ops->writable_file_ops_abi,
                                    TF_WRITABLE_FILE_OPS_ABI, "writable file"));
    
      if (ops->read_only_memory_region_ops != nullptr)
        TF_RETURN_IF_ERROR(CheckABI(ops->read_only_memory_region_ops_abi,
    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)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

      ops->random_access_file_ops->read = tf_random_access_file::Read;
    
      ops->writable_file_ops = static_cast<TF_WritableFileOps*>(
          plugin_memory_allocate(TF_WRITABLE_FILE_OPS_SIZE));
      ops->writable_file_ops->cleanup = tf_writable_file::Cleanup;
    
      ops->read_only_memory_region_ops = static_cast<TF_ReadOnlyMemoryRegionOps*>(
    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