Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/data61/MP-SPDZ
/ equals
Method
equals
Tools/octetStream.cpp:125–129 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
123
124
125
bool octetStream::equals(const octetStream& a) const
126
{
127
if (get_length()!=a.get_length()) { return false; }
128
return memcmp(data, a.data, get_length()) == 0;
129
}
130
131
132
void octetStream::flush_bits()
Callers
1
Open
Function · 0.45
Calls
1
get_length
Method · 0.45
Tested by
no test coverage detected