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

Method unpack

FHE/AddableVector.h:140–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138 }
139
140 void unpack(octetStream& os, const T& init = T())
141 {
142 size_t new_size = unpack_size(os);
143 this->clear();
144 for (unsigned int i = 0; i < new_size; i++)
145 {
146 this->push_back(init);
147 this->back().unpack(os);
148 }
149 }
150
151 void add(octetStream& os, T& tmp)
152 {

Callers 1

addMethod · 0.45

Calls 3

TClass · 0.85
clearMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected