예제 #1
0
 def store_in_dynamic_mem(self, address):
     if isinstance(address, (long, int)):
         inst.stmsd(self, address)
     else:
         inst.stmsdi(self, address)
예제 #2
0
파일: types.py 프로젝트: zeronek501/MP-SPDZ
 def store_in_dynamic_mem(self, address):
     if isinstance(address, int):
         inst.stmsd(self, address)
     else:
         inst.stmsdi(self, cbits.conv(address))
예제 #3
0
파일: types.py 프로젝트: lance6716/SPDZ-2
 def store_in_dynamic_mem(self, address):
     if isinstance(address, (long, int)):
         inst.stmsd(self, address)
     else:
         inst.stmsdi(self, cbits.conv(address))