Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/singa
/ Close
Method
Close
src/io/textfile_reader.cc:32–34 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
30
}
31
32
void TextFileReader::Close() {
33
if (fdat_.is_open()) fdat_.close();
34
}
35
36
bool TextFileReader::Read(std::string* key, std::string* value) {
37
CHECK(fdat_.is_open()) <<
"File not open!"
;
Callers
nothing calls this directly
Calls
1
close
Method · 0.45
Tested by
no test coverage detected