Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Hong (0.16 sec)

  1. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      else
        TF_SetStatus(status, TF_OK, "");
    }
    
    static int64_t Tell(const TF_WritableFile* file, TF_Status* status) {
      auto posix_file = static_cast<PosixFile*>(file->plugin_file);
    
      // POSIX's `ftell` returns `long`, do a manual cast.
      int64_t position = int64_t{ftell(posix_file->handle)};
      if (position < 0)
        TF_SetStatusFromIOError(status, errno, posix_file->filename);
      else
        TF_SetStatus(status, TF_OK, "");
    
    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