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

Method writeToFile

src/data/slot_reader.cc:82–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 SArray<uint64> col_idx;
81 SArray<uint16> row_siz;
82 bool writeToFile(const string& name) {
83 return val.compressTo().writeToFile(name+".value")
84 && col_idx.compressTo().writeToFile(name+".colidx")
85 && row_siz.compressTo().writeToFile(name+".rowsiz");
86 }
87 };
88 VSlot vslots[kSlotIDmax];
89 uint32 num_ex = 0;

Callers 1

readOneFileMethod · 0.45

Calls 1

compressToMethod · 0.80

Tested by

no test coverage detected