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

Method open_memory_scope

Compiler/program.py:859–861  ·  view source on GitHub ↗
(self, key=None)

Source from the content-addressed store, hash-verified

857 self._protect_memory = status
858
859 def open_memory_scope(self, key=None):
860 self.mem_protect_stack.append(self._protect_memory)
861 self.protect_memory(key or object())
862
863 def close_memory_scope(self):
864 self.protect_memory(self.mem_protect_stack.pop())

Callers

nothing calls this directly

Calls 2

protect_memoryMethod · 0.95
appendMethod · 0.45

Tested by

no test coverage detected