예제 #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
파일: base_types.py 프로젝트: fallen/artiq
 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")