- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for writable (0.18 sec)
-
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) -
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) -
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) -
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) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h
void Cleanup(TF_RandomAccessFile* file); int64_t Read(const TF_RandomAccessFile* file, uint64_t offset, size_t n, char* buffer, TF_Status* status); } // namespace tf_random_access_file namespace tf_writable_file { void Cleanup(TF_WritableFile* file); void Append(const TF_WritableFile* file, const char* buffer, size_t n, TF_Status* status); int64_t Tell(const TF_WritableFile* file, TF_Status* status);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Aug 31 04:37:41 GMT 2020 - 5.2K bytes - Viewed (0) -
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) -
tensorflow/c/env.h
} TF_ThreadOptions; // Creates the specified directory. Typical status code are: // * TF_OK - successfully created the directory // * TF_ALREADY_EXISTS - directory already exists // * TF_PERMISSION_DENIED - dirname is not writable TF_CAPI_EXPORT extern void TF_CreateDir(const char* dirname, TF_Status* status); // Deletes the specified directory. Typical status codes are: // * TF_OK - successfully deleted the directory
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sat Jan 09 02:53:27 GMT 2021 - 9.6K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem.h
ops_(std::move(filesystem_ops)), random_access_file_ops_(std::move(random_access_file_ops)), writable_file_ops_(std::move(writable_file_ops)), read_only_memory_region_ops_(std::move(read_only_memory_region_ops)), plugin_memory_allocate_(std::move(plugin_memory_allocate)), plugin_memory_free_(std::move(plugin_memory_free)) {}
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) -
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) -
tensorflow/c/experimental/filesystem/filesystem_interface.h
ops->random_access_file_ops_api = TF_RANDOM_ACCESS_FILE_OPS_API; ops->random_access_file_ops_size = TF_RANDOM_ACCESS_FILE_OPS_SIZE; ops->writable_file_ops_abi = TF_WRITABLE_FILE_OPS_ABI; ops->writable_file_ops_api = TF_WRITABLE_FILE_OPS_API; ops->writable_file_ops_size = TF_WRITABLE_FILE_OPS_SIZE; ops->read_only_memory_region_ops_abi = TF_READ_ONLY_MEMORY_REGION_OPS_ABI;
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)