MCPcopy Create free account
hub / github.com/apache/singa / SeekToFirst

Method SeekToFirst

src/io/textfile_reader.cc:63–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63void TextFileReader::SeekToFirst() {
64 CHECK(fdat_.is_open());
65 lineNo_ = 0;
66 fdat_.clear();
67 fdat_.seekg(0);
68}
69} // namespace io
70} // namespace singa

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected