- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for Closes (0.17 sec)
-
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc
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; ops->writable_file_ops->close = tf_writable_file::Close; ops->read_only_memory_region_ops = static_cast<TF_ReadOnlyMemoryRegionOps*>( plugin_memory_allocate(TF_READ_ONLY_MEMORY_REGION_OPS_SIZE)); ops->read_only_memory_region_ops->cleanup =
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/modular_filesystem_test.cc
if (!status.ok()) GTEST_SKIP() << "Append() not supported: " << status; status = new_file->Flush(); if (!status.ok()) GTEST_SKIP() << "Flush() not supported: " << status; status = new_file->Close(); if (!status.ok()) GTEST_SKIP() << "Close() not supported: " << status; std::unique_ptr<ReadOnlyMemoryRegion> region; status = env_->NewReadOnlyMemoryRegionFromFile(filepath, ®ion);
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/modular_filesystem.cc
return StatusFromTF_Status(plugin_status.get()); } Status ModularWritableFile::Close() { if (ops_->close == nullptr) return errors::Unimplemented( tensorflow::strings::StrCat("Close() not implemented for ", filename_)); UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus); ops_->close(file_.get(), plugin_status.get()); return StatusFromTF_Status(plugin_status.get()); }
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/env_test.cc
<< filepath << ": " << TF_Message(s); TF_CloseWritableFile(handle, s); ASSERT_TF_OK(s) << "TF_CloseWritableFile failed to close handle to " << filepath << ": " << TF_Message(s); TF_StringStream* children = TF_GetChildren(dirpath.c_str(), s); ASSERT_TF_OK(s) << "TF_GetChildren failed for " << dirpath;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Dec 10 20:52:48 GMT 2018 - 4.2K bytes - Viewed (0) -
tensorflow/c/env.cc
auto* cc_file = reinterpret_cast<::tensorflow::WritableFile*>(handle); TF_SetStatus(status, TF_OK, ""); ::tensorflow::Set_TF_Status_from_Status(status, cc_file->Close()); delete cc_file; } void TF_SyncWritableFile(TF_WritableFileHandle* handle, TF_Status* status) { auto* cc_file = reinterpret_cast<::tensorflow::WritableFile*>(handle); TF_SetStatus(status, TF_OK, "");
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 11 01:20:50 GMT 2021 - 7K bytes - Viewed (0)