示例#1
0
 def __init__(self, nbits=32):
     VGeneric.__init__(self)
     self.nbits = nbits
示例#2
0
文件: lists.py 项目: fallen/artiq
 def __init__(self, el_type, alloc_count):
     VGeneric.__init__(self)
     self.el_type = el_type
     self.alloc_count = alloc_count
示例#3
0
 def __init__(self, nbits=32):
     VGeneric.__init__(self)
     self.nbits = nbits
示例#4
0
 def __init__(self, el_type, alloc_count):
     VGeneric.__init__(self)
     self.el_type = el_type
     self.alloc_count = alloc_count
示例#5
0
文件: arrays.py 项目: yuyichao/artiq
 def __init__(self, el_init, count):
     VGeneric.__init__(self)
     self.el_init = el_init
     self.count = count
     if not count:
         raise TypeError("Arrays must have at least one element")