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

Method __init__

Compiler/instructions_base.py:1355–1358  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

1353 WriteMemoryInstruction):
1354 __slots__ = []
1355 def __init__(self, *args, **kwargs):
1356 if not program.curr_tape.singular:
1357 raise CompilerError('Direct memory writing prevented in threads')
1358 super(DirectMemoryWriteInstruction, self).__init__(*args, **kwargs)
1359
1360###
1361### I/O instructions

Callers

nothing calls this directly

Calls 2

CompilerErrorClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected