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

Method has_param

Processor/OnlineOptions.cpp:521–527  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

519}
520
521bool OnlineOptions::has_param(const string& param)
522{
523 for (auto& x : options)
524 if (x.find(param + "=") == 0)
525 return true;
526 return false;
527}
528
529int OnlineOptions::get_param(const string& param)
530{

Callers 1

protocol_agreementMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected