MCPcopy Create free account
hub / github.com/Oneflow-Inc/oneflow / is_open

Method is_open

oneflow/extension/stack/stacktrace.h:3612–3612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3610 if (!_file || !is_open()) { _file.reset(new std::ifstream(path.c_str())); }
3611 }
3612 bool is_open() const { return _file->is_open(); }
3613
3614 lines_t& get_lines(unsigned line_start, unsigned line_count, lines_t& lines) {
3615 using namespace std;

Callers 6

MegatronGPTIndexMethod · 0.80
SaveJobToIRFunction · 0.80
~EnvMethod · 0.80
LoadCheckpointMethod · 0.80
GetFormattedStackFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected