Searched refs:ShareableList (Results 1 – 7 of 7) sorted by relevance
/third_party/python/Doc/library/ |
D | multiprocessing.shared_memory.rst | 197 instances and for creating a list-like object (:class:`ShareableList`) 210 .. method:: ShareableList(sequence) 212 Create and return a new :class:`ShareableList` object, initialized 225 >>> sl = smm.ShareableList(range(4)) 227 ShareableList([0, 1, 2, 3], name='psm_6572_7512') 229 >>> another_sl = smm.ShareableList('alpha') 231 ShareableList(['a', 'l', 'p', 'h', 'a'], name='psm_6572_12221') 243 ... sl = smm.ShareableList(range(2000)) 258 .. class:: ShareableList(sequence=None, *, name=None) 266 and do not support the dynamic creation of new :class:`ShareableList` [all …]
|
/third_party/python/Lib/test/ |
D | test_genericalias.py | 29 from multiprocessing.shared_memory import ShareableList 32 ShareableList = None variable 82 ShareableList, MPSimpleQueue,
|
D | _test_multiprocessing.py | 4006 sl = smm.ShareableList(range(10)) 4013 sl2 = smm.ShareableList(range(10)) 4048 lol = [ smm1.ShareableList(range(i)) for i in range(5, 10) ] 4050 doppleganger_list0 = shared_memory.ShareableList(name=lol[0].shm.name) 4064 sl = smm2.ShareableList("howdy") 4070 absent_sl = shared_memory.ShareableList(name=held_name) 4074 sl = shared_memory.ShareableList( 4152 sl_copy = shared_memory.ShareableList(sl, name=name_duplicate) 4166 sl_tethered = shared_memory.ShareableList(name=sl.shm.name) 4175 empty_sl = shared_memory.ShareableList() [all …]
|
/third_party/python/Lib/multiprocessing/ |
D | shared_memory.py | 247 class ShareableList: class
|
D | managers.py | 1368 def ShareableList(self, sequence): member in SharedMemoryManager 1372 sl = shared_memory.ShareableList(sequence)
|
/third_party/python/Misc/NEWS.d/ |
D | 3.9.0a6.rst | 396 In :meth:`ShareableList.__setitem__`, check the size of a new string item 785 in :class:`multiprocessing.shared_memory.ShareableList`. This avoids 786 quadratic performance when iterating a `ShareableList`. Patch by Thomas
|
D | 3.10.0a1.rst | 2846 Increase code coverage for SharedMemory and ShareableList
|