コード例 #1
0
ファイル: types.py プロジェクト: zeronek501/MP-SPDZ
 def __lshift__(self, other):
     res = cbits(n=self.n+other)
     inst.shlcbi(res, self, other)
     return res
コード例 #2
0
ファイル: types.py プロジェクト: data61/MP-SPDZ
 def __lshift__(self, other):
     res = cbits.get_type(self.n+other)()
     inst.shlcbi(res, self, other)
     return res