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

Method resize_zero

Tools/BitVector.cpp:21–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21void BitVector::resize_zero(size_t new_nbits)
22{
23 size_t old_nbytes = nbytes;
24 resize(new_nbits);
25 if (old_nbytes < nbytes)
26 avx_memzero(bytes + old_nbytes, nbytes - old_nbytes);
27}
28
29const void* BitVector::get_ptr_to_byte(size_t i, size_t block_size) const
30{

Callers 6

my_inputMethod · 0.80
protocol_agreementMethod · 0.80
extend_correlatedMethod · 0.80
init_authenticatorMethod · 0.80
multiplyForBitsMethod · 0.80

Calls 1

avx_memzeroFunction · 0.85

Tested by

no test coverage detected