- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for NewRandomAccessFile (0.23 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc
tf_writable_file::Close(writer.get(), status_); if (TF_GetCode(status_) != TF_OK) return; } std::string ReadAll(const std::string& path) { auto reader = GetReader(); tf_gcs_filesystem::NewRandomAccessFile(filesystem_, path.c_str(), reader.get(), status_); if (TF_GetCode(status_) != TF_OK) return ""; auto file_size =
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/modular_filesystem_test.cc
Status status = env_->NewRandomAccessFile(filepath, &new_file); EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::NOT_FOUND); } TEST_P(ModularFileSystemTest, TestReadFileNonExisting) { const std::string filepath = GetURIForPath("dir_not_found/a_file"); std::unique_ptr<RandomAccessFile> new_file; Status status = env_->NewRandomAccessFile(filepath, &new_file);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:25:58 GMT 2022 - 71K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc
namespace tf_posix_filesystem { static void Init(TF_Filesystem* filesystem, TF_Status* status) { TF_SetStatus(status, TF_OK, ""); } static void Cleanup(TF_Filesystem* filesystem) {} static void NewRandomAccessFile(const TF_Filesystem* filesystem, const char* path, TF_RandomAccessFile* file, TF_Status* status) { int fd = open(path, O_RDONLY); if (fd < 0) {
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
uint64_t stat_cache_max_age, size_t stat_cache_max_entries, TF_Status* status); void Init(TF_Filesystem* filesystem, TF_Status* status); void Cleanup(TF_Filesystem* filesystem); void NewRandomAccessFile(const TF_Filesystem* filesystem, const char* path, TF_RandomAccessFile* file, TF_Status* status); void NewWritableFile(const TF_Filesystem* filesystem, const char* path,
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.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) -
tensorflow/c/experimental/filesystem/modular_filesystem.h
plugin_memory_free_(std::move(plugin_memory_free)) {} ~ModularFileSystem() override { ops_->cleanup(filesystem_.get()); } TF_USE_FILESYSTEM_METHODS_WITH_NO_TRANSACTION_SUPPORT; Status NewRandomAccessFile( const std::string& fname, TransactionToken* token, std::unique_ptr<RandomAccessFile>* result) override; Status NewWritableFile(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) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
bucket.c_str(), object.c_str(), stat->base.length, stat->generation_number, stat->base.mtime_nsec); return TF_SetStatus(status, TF_OK, ""); } // TODO(vnvo2409): Implement later void NewRandomAccessFile(const TF_Filesystem* filesystem, const char* path, TF_RandomAccessFile* 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)