Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsBad (0.13 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h

    //     if (fp == nullptr) return;
    //     auto fp_cleaner = gtl::MakeCleanup([fp] { fclose(fp); });
    //     // No matter what, fclose(fp) will happen.
    //     DataObject d;
    //     while (ReadDataObject(fp, &d)) {
    //       if (d.IsBad()) {
    //         LOG(ERROR) << "Bad Data";
    //         return;
    //       }
    //       PushGoodData(d);
    //     }
    //   }
    //
    // You can use Cleanup<F> directly, instead of using MakeCleanup and auto,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 11:16:00 GMT 2020
    - 3.4K bytes
    - Viewed (0)
Back to top