Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for readonly (0.18 sec)

  1. 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)
Back to top