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_mlir_util.cc

      }
      filename = llvm::Twine(filename).concat(".mlir").str();
      return filename;
    }
    
    // Simple raw_ostream that prints to stderr.
    struct LogInfoRawStream : public llvm::raw_ostream {
      LogInfoRawStream() { SetUnbuffered(); }
      ~LogInfoRawStream() override = default;
      uint64_t current_pos() const override { return 0; }
    
      void write_impl(const char* ptr, size_t size) override {
        fprintf(stderr, "%.*s", static_cast<int>(size), ptr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 03:03:46 UTC 2024
    - 11.4K 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