Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dmlc/parameter_server
/ flush
Method
flush
src/util/file.cc:134–136 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
132
}
133
134
bool File::flush() {
135
return (is_gz_ ? gzflush(gz_f_, Z_FINISH) == Z_OK : fflush(f_) == 0);
136
}
137
138
bool File::close() {
139
bool ret = is_gz_ ? gzclose(gz_f_) == Z_OK : fclose(f_) == 0;
Callers
1
writeToFile
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected