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

Method get_offset

Compiler/program.py:1062–1063  ·  view source on GitHub ↗
(self, next_block)

Source from the content-addressed store, hash-verified

1060 self.instructions.append(self.exit_condition)
1061
1062 def get_offset(self, next_block):
1063 return next_block.offset - (self.offset + len(self.instructions))
1064
1065 def adjust_jump(self):
1066 """Set the correct relative jump offset"""

Callers 2

adjust_jumpMethod · 0.95
adjust_returnMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected