Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Position (0.17 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

      auto gcs_file = static_cast<GCSFile*>(file->plugin_file);
      int64_t position = int64_t(gcs_file->outfile.tellp());
      if (position == -1)
        TF_SetStatus(status, TF_INTERNAL,
                     "tellp on the internal temporary file failed");
      else
        TF_SetStatus(status, TF_OK, "");
      return position == -1
                 ? -1
                 : position + (gcs_file->offset == -1 ? 0 : gcs_file->offset);
    }
    
    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)
Back to top