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

Method assign

Tools/BitVector.cpp:12–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10#include <assert.h>
11
12void BitVector::assign(const BitVector& K)
13{
14 if (nbits != K.nbits)
15 {
16 resize(K.nbits);
17 }
18 memcpy(bytes, K.bytes, nbytes);
19}
20
21void BitVector::resize_zero(size_t new_nbits)
22{

Callers 4

get_portionMethod · 0.45
fill_bufferMethod · 0.45
get_stringFunction · 0.45
get_no_checkMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected