示例#1
0
 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