Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/data61/MP-SPDZ
/ assign_zero
Method
assign_zero
Tools/BitVector.h:42–45 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
40
memcpy(bytes, new_bytes, len);
41
}
42
void assign_zero()
43
{
44
memset(bytes, 0, nbytes);
45
}
46
// only grows, never destroys
47
void resize(size_t new_nbits)
48
{
Callers
1
Create_Random
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected