Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetUnbuffered (0.12 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/dump_graph.cc

    namespace {
    
    // Simple raw_ostream that prints to a file (doesn't take ownership).
    struct WritableFileRawStream : public llvm::raw_ostream {
      explicit WritableFileRawStream(WritableFile* file) : file(file) {
        SetUnbuffered();
      }
      ~WritableFileRawStream() override = default;
      uint64_t current_pos() const override { return 0; }
    
      void write_impl(const char* ptr, size_t size) override {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:47:51 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/debug/debug.cc

    namespace {
    
    // Simple raw_ostream that prints to a file.
    struct WritableFileRawStream : public llvm::raw_ostream {
      explicit WritableFileRawStream(std::unique_ptr<tsl::WritableFile> file)
          : file(std::move(file)) {
        SetUnbuffered();
      }
      ~WritableFileRawStream() override = default;
    
      uint64_t current_pos() const override {
        int64_t position;
        if (file->Tell(&position).ok()) {
          return position;
        } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 10 02:44:52 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top