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

Class threshold

Compiler/instructions.py:594–600  ·  view source on GitHub ↗

Store maximal number of corrupt players in clear integer register. :param: destination (regint)

Source from the content-addressed store, hash-verified

592 arg_format = ['ciw']
593
594class threshold(base.Instruction):
595 """ Store maximal number of corrupt players in clear integer register.
596
597 :param: destination (regint)
598 """
599 code = base.opcodes['THRESHOLD']
600 arg_format = ['ciw']
601
602class playerid(base.Instruction):
603 """ Store current player number in clear integer register.

Callers 6

get_thresholdFunction · 0.85
thresholdMethod · 0.85
thresholdMethod · 0.85
get_relevant_playersMethod · 0.85
executeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected