Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for truncate (0.25 sec)

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

        if (!delete_status.ok()) {
          TF_SetStatusFromGCSStatus(delete_status, status);
          return;
        }
        // We truncate the data that are already uploaded.
        if (!outfile->truncate()) {
          TF_SetStatus(status, TF_INTERNAL,
                       "Could not truncate internal temporary file.");
          return;
        }
        *offset = static_cast<int64_t>(metadata->size());
        TF_SetStatus(status, TF_OK, "");
    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