コード例 #1
0
ファイル: base_types.py プロジェクト: neuroidss/artiq
 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")