Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for positive (0.18 sec)

  1. tensorflow/c/experimental/filesystem/filesystem_interface.h

                     TF_Status* status);
    
      /// Returns the current write position in `*file`.
      ///
      /// Plugins should ensure that the implementation is idempotent, 2 identical
      /// calls result in the same answer.
      ///
      /// Plugins:
      ///   * Must set `status` to `TF_OK` and return current position if no error.
      ///   * Must set `status` to any other value and return -1 in case of error.
    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)
  2. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      // 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, "");
    
      return position;
    }
    
    static void Flush(const TF_WritableFile* file, TF_Status* status) {
    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