Home
last modified time | relevance | path

Searched refs:SharedMemory (Results 1 – 16 of 16) sorted by relevance

/third_party/node/deps/v8/src/base/
Dpage-allocator.cc74 class SharedMemory : public ::v8::PageAllocator::SharedMemory { class
76 SharedMemory(PageAllocator* allocator, void* memory, size_t size) in SharedMemory() function in v8::base::SharedMemory
90 ~SharedMemory() override { allocator_->FreePages(ptr_, size_); } in ~SharedMemory()
106 std::unique_ptr<v8::PageAllocator::SharedMemory>
118 std::make_unique<v8::base::SharedMemory>(this, ptr, size); in AllocateSharedPages()
Dpage-allocator.h17 class SharedMemory; variable
38 std::unique_ptr<v8::PageAllocator::SharedMemory> AllocateSharedPages( in NON_EXPORTED_BASE()
53 friend class v8::base::SharedMemory; in NON_EXPORTED_BASE()
/third_party/python/Doc/library/
Dmultiprocessing.shared_memory.rst18 This module provides a class, :class:`SharedMemory`, for the allocation
39 .. class:: SharedMemory(name=None, create=False, size=0)
101 The following example demonstrates low-level use of :class:`SharedMemory`
105 >>> shm_a = shared_memory.SharedMemory(create=True, size=10)
114 >>> shm_b = shared_memory.SharedMemory(shm_a.name)
121 >>> shm_b.close() # Close each SharedMemory instance
127 The following example demonstrates a practical use of the :class:`SharedMemory`
138 >>> shm = shared_memory.SharedMemory(create=True, size=a.nbytes)
155 >>> existing_shm = shared_memory.SharedMemory(name='psm_21467_46075')
190 This triggers a :meth:`SharedMemory.unlink()` call on all of the
[all …]
Dmultiprocessing.rst143 :class:`~multiprocessing.shared_memory.SharedMemory` objects) created
/third_party/node/deps/v8/include/
Dv8-platform.h467 class SharedMemory {
470 virtual ~SharedMemory() = default;
499 virtual std::unique_ptr<SharedMemory> AllocateSharedPages( in AllocateSharedPages()
/third_party/python/Lib/multiprocessing/
Dshared_memory.py49 class SharedMemory: class
327 self.shm = SharedMemory(name, create=True, size=requested_size)
329 self.shm = SharedMemory(name)
Dmanagers.py1250 segment = shared_memory.SharedMemory(segment_name)
1356 def SharedMemory(self, size): member in SharedMemoryManager
1360 sms = shared_memory.SharedMemory(None, create=True, size=size)
/third_party/node/deps/v8/src/base/sanitizer/
Dlsan-page-allocator.cc36 std::unique_ptr<v8::PageAllocator::SharedMemory>
Dlsan-page-allocator.h38 std::unique_ptr<SharedMemory> AllocateSharedPages(
/third_party/python/Lib/test/
D_test_multiprocessing.py3770 local_sms = shared_memory.SharedMemory(shmem_name_or_obj)
3784 sms = shared_memory.SharedMemory(name_tsmb, create=True, size=512)
3801 also_sms = shared_memory.SharedMemory(name_tsmb)
3806 same_sms = shared_memory.SharedMemory(name_tsmb, size=20*sms.size)
3812 shared_memory.SharedMemory(create=True, size=-2)
3816 shared_memory.SharedMemory(create=False)
3830 shm1 = shared_memory.SharedMemory(create=True, size=1)
3835 shm2 = shared_memory.SharedMemory(create=True, size=1)
3847 sms_uno = shared_memory.SharedMemory(
3856 sms_duo = shared_memory.SharedMemory(name_dblunlink)
[all …]
/third_party/node/deps/v8/src/heap/
Dread-only-spaces.h169 std::vector<std::unique_ptr<PageAllocator::SharedMemory>> shared_memory_;
Dmemory-allocator.h197 ::v8::PageAllocator::SharedMemory* shared_memory, Address new_address);
Dmemory-allocator.cc578 ::v8::PageAllocator::SharedMemory* shared_memory, Address new_address) { in RemapSharedPage()
/third_party/python/Misc/NEWS.d/
D3.10.0rc2.rst592 ``size`` of ``SharedMemory`` is not ever guaranteed to be the same. It is
D3.10.1.rst1185 Improves pickling tests and docs of ``SharedMemory`` and ``SharableList``
D3.10.0a1.rst1569 Prevent creating :class:`shared_memory.SharedMemory` objects with
2846 Increase code coverage for SharedMemory and ShareableList