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

Method protect_memory

Compiler/program.py:855–857  ·  view source on GitHub ↗

Enable or disable memory protection.

(self, status)

Source from the content-addressed store, hash-verified

853 self.curr_block.warn_about_mem = False
854
855 def protect_memory(self, status):
856 """ Enable or disable memory protection. """
857 self._protect_memory = status
858
859 def open_memory_scope(self, key=None):
860 self.mem_protect_stack.append(self._protect_memory)

Callers 4

open_memory_scopeMethod · 0.95
close_memory_scopeMethod · 0.95
processMethod · 0.80
processMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected