- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for translate_name (0.27 sec)
-
tensorflow/c/experimental/filesystem/modular_filesystem.cc
char* p = ops_->translate_name(filesystem_.get(), name.c_str()); CHECK(p != nullptr) << "TranslateName(" << name << ") returned nullptr"; std::string ret(p); // Since `p` is allocated by plugin, free it using plugin's method. plugin_memory_free_(p); return ret; } void ModularFileSystem::FlushCaches(TransactionToken* token) {
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/filesystem_interface.h
/// /// All path-like arguments are null terminated `char*` strings. Plugins can /// assume that before any function using path arguments is invoked, the path is /// made canonical by calling the function provided by `translate_name` or a /// default implementation of that (supplied by core TensorFlow). /// /// The only time the pointer to the `TF_*` structures from section 1 is not
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) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
ops->filesystem_ops->stat = tf_gcs_filesystem::Stat; ops->filesystem_ops->get_children = tf_gcs_filesystem::GetChildren; ops->filesystem_ops->translate_name = tf_gcs_filesystem::TranslateName; ops->filesystem_ops->flush_caches = tf_gcs_filesystem::FlushCaches; } void TF_InitPlugin(TF_FilesystemPluginInfo* info) { info->plugin_memory_allocate = plugin_memory_allocate;
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/modular_filesystem_test.cc
if (GetParam().empty()) { EXPECT_EQ(fs->TranslateName(""), ""); EXPECT_EQ(fs->TranslateName("/"), "/"); EXPECT_EQ(fs->TranslateName("//"), "/"); // Empty scheme also allows relative paths EXPECT_EQ(fs->TranslateName("a_file"), "a_file"); EXPECT_EQ(fs->TranslateName("a_dir/.."), "."); } else { EXPECT_EQ(fs->TranslateName(tensorflow::strings::StrCat(GetParam(), "://")), "/");
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.h
TransactionToken* token) override; Status CopyFile(const std::string& src, const std::string& target, TransactionToken* token) override; std::string TranslateName(const std::string& name) const override; void FlushCaches(TransactionToken* token) override; Status SetOption(const std::string& name, const std::vector<string>& values) override;
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) -
api/go1.txt
pkg syscall (windows-386), func TerminateProcess(Handle, uint32) error pkg syscall (windows-386), func TranslateAccountName(string, uint32, uint32, int) (string, error) pkg syscall (windows-386), func TranslateName(*uint16, uint32, uint32, *uint16, *uint32) error pkg syscall (windows-386), func TransmitFile(Handle, Handle, uint32, uint32, *Overlapped, *TransmitFileBuffers, uint32) error
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Viewed (1)