- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for mkdirs (0.21 sec)
-
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc
} static void CreateDir(const TF_Filesystem* filesystem, const char* path, TF_Status* status) { if (strlen(path) == 0) TF_SetStatus(status, TF_ALREADY_EXISTS, "already exists"); else if (mkdir(path, /*mode=*/0755) != 0) TF_SetStatusFromIOError(status, errno, path); else TF_SetStatus(status, TF_OK, ""); } static void DeleteFile(const TF_Filesystem* filesystem, const char* path,
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/env.cc
list->position = 0; return list; } TF_StringStream* TF_GetLocalTempDirectories() { auto* tmpdirs = new std::vector<::tensorflow::string>; ::tensorflow::Env::Default()->GetLocalTempDirectories(tmpdirs); auto* list = new TF_StringStream; list->list = tmpdirs; list->position = 0; return list; } char* TF_GetTempFileName(const char* extension) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 11 01:20:50 GMT 2021 - 7K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
#include "tensorflow/core/platform/test.h" #include "tensorflow/core/util/command_line_flags.h" #if defined(PLATFORM_WINDOWS) // Make mkdir resolve to _mkdir to create the test temporary directory. #include <direct.h> #define mkdir(name, mode) _mkdir(name) // Windows defines the following macros to convert foo to fooA or fooW, // depending on the type of the string argument. We don't use these macros, so
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
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.cc
TF_Status* status) { if (!undeleted_files || !undeleted_dirs) return TF_SetStatus( status, TF_INTERNAL, "'undeleted_files' and 'undeleted_dirs' cannot be nullptr."); *undeleted_files = 0; *undeleted_dirs = 0; if (!IsDirectory(filesystem, path, status)) { *undeleted_dirs = 1; return; }
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)