Searched refs:size_or_initializer (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython2/Lib/multiprocessing/ |
D | sharedctypes.py | 81 def RawArray(typecode_or_type, size_or_initializer): argument 86 if isinstance(size_or_initializer, (int, long)): 87 type_ = type_ * size_or_initializer 92 type_ = type_ * len(size_or_initializer) 94 result.__init__(*size_or_initializer) 113 def Array(typecode_or_type, size_or_initializer, **kwds): argument 120 obj = RawArray(typecode_or_type, size_or_initializer)
|
D | __init__.py | 241 def RawArray(typecode_or_type, size_or_initializer): argument 246 return RawArray(typecode_or_type, size_or_initializer) 255 def Array(typecode_or_type, size_or_initializer, **kwds): argument 260 return Array(typecode_or_type, size_or_initializer, **kwds)
|
/external/python/cpython3/Lib/multiprocessing/ |
D | sharedctypes.py | 54 def RawArray(typecode_or_type, size_or_initializer): argument 59 if isinstance(size_or_initializer, int): 60 type_ = type_ * size_or_initializer 65 type_ = type_ * len(size_or_initializer) 67 result.__init__(*size_or_initializer) 84 def Array(typecode_or_type, size_or_initializer, *, lock=True, ctx=None): argument 88 obj = RawArray(typecode_or_type, size_or_initializer)
|
D | context.py | 127 def RawArray(self, typecode_or_type, size_or_initializer): argument 130 return RawArray(typecode_or_type, size_or_initializer) 138 def Array(self, typecode_or_type, size_or_initializer, *, lock=True): argument 141 return Array(typecode_or_type, size_or_initializer, lock=lock,
|
/external/python/cpython2/Doc/library/ |
D | multiprocessing.rst | 1159 .. function:: Array(typecode_or_type, size_or_initializer, *, lock=True) 1166 the :mod:`array` module. If *size_or_initializer* is an integer, then it 1168 Otherwise, *size_or_initializer* is a sequence which is used to initialize 1202 .. function:: RawArray(typecode_or_type, size_or_initializer) 1208 the :mod:`array` module. If *size_or_initializer* is an integer then it 1210 Otherwise *size_or_initializer* is a sequence which is used to initialize the 1233 .. function:: Array(typecode_or_type, size_or_initializer, *args[, lock])
|