- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Open (0.13 sec)
-
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc
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) { TF_SetStatusFromIOError(status, errno, path); return; } struct stat st; fstat(fd, &st); if (S_ISDIR(st.st_mode)) {
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.cc
delete gcs_file; } void Append(const TF_WritableFile* file, const char* buffer, size_t n, TF_Status* status) { auto gcs_file = static_cast<GCSFile*>(file->plugin_file); if (!gcs_file->outfile.is_open()) { TF_SetStatus(status, TF_FAILED_PRECONDITION, "The internal temporary file is not writable."); return; } TF_VLog(3, "Append: gs://%s/%s size %u", gcs_file->bucket.c_str(),
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)