MCPcopy Create free account
hub / github.com/dmlc/parameter_server / set_line_callback

Method set_line_callback

src/util/filelinereader.h:26–28  ·  view source on GitHub ↗

Sets the line callback and takes ownership.

Source from the content-addressed store, hash-verified

24
25 // Sets the line callback and takes ownership.
26 void set_line_callback(std::function<void(char*)> callback) {
27 line_callback_ = callback;
28 }
29
30 // Reloads the file line by line.
31 void Reload();

Callers 1

readOneFileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected