MCPcopy Create free account
hub / github.com/data61/MP-SPDZ / load

Method load

FHE/P2Data.cpp:118–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118void P2Data::load(const Ring& Rg)
119{
120 string filename = get_filename(Rg);
121 if (OnlineOptions::singleton.verbose)
122 cerr << "Loading from " << filename << endl;
123 octetStream os;
124 os.input(filename);
125 unpack(os);
126}
127
128void P2Data::store(const Ring& Rg) const
129{

Callers 1

load_or_generateFunction · 0.45

Calls 2

get_filenameFunction · 0.85
inputMethod · 0.45

Tested by

no test coverage detected