Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/data61/MP-SPDZ
/ count
Method
count
Processor/Data_Files.h:113–114 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
111
bool do_count;
112
113
void count(Dtype dtype, int n = 1)
114
{ usage.files[T::clear::field_type()][dtype] += do_count * n; }
115
void count_input(int player)
116
{
117
usage.inputs.resize(max(size_t(player + 1), usage.inputs.size()));
Callers
2
get_dabit
Method · 0.95
get
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected