Searched refs:managed_shm (Results 1 – 6 of 6) sorted by relevance
/third_party/boost/libs/interprocess/example/ |
D | doc_managed_aligned_allocation.cpp | 45 managed_shared_memory managed_shm(create_only, test::get_process_id_name(), 65536); in main() local 48 managed_shared_memory managed_shm(create_only, "MySharedMemory", 65536); in main() local 56 void *ptr = managed_shm.allocate_aligned(100, Alignment); in main() 62 managed_shm.deallocate(ptr); in main() 65 ptr = managed_shm.allocate_aligned(100, Alignment, std::nothrow); in main() 71 managed_shm.deallocate(ptr); in main() 79 ptr = managed_shm.allocate_aligned in main() 86 managed_shm.deallocate(ptr); in main()
|
D | doc_managed_construction_info.cpp | 49 …managed_shared_memory managed_shm(create_only, test::get_process_id_name(), 10000*sizeof(std::size… in main() local 52 managed_shared_memory managed_shm(create_only, "MySharedMemory", 10000*sizeof(std::size_t)); in main() local 58 my_class *named_object = managed_shm.construct<my_class>("Object name")[1](); in main() 59 my_class *unique_object = managed_shm.construct<my_class>(unique_instance)[2](); in main() 60 my_class *anon_object = managed_shm.construct<my_class>(anonymous_instance)[3](); in main() 77 managed_shm.destroy_ptr(named_object); in main() 78 managed_shm.destroy_ptr(unique_object); in main() 79 managed_shm.destroy_ptr(anon_object); in main()
|
D | doc_managed_allocation_command.cpp | 45 …managed_shared_memory managed_shm(create_only, test::get_process_id_name(), 10000*sizeof(std::size… in main() local 48 managed_shared_memory managed_shm(create_only, "MySharedMemory", 10000*sizeof(std::size_t)); in main() local 57 std::size_t *ptr = managed_shm.allocation_command<std::size_t> in main() 64 managed_shared_memory::size_type free_memory_after_allocation = managed_shm.get_free_memory(); in main() 78 std::size_t * ret = managed_shm.allocation_command in main() 89 managed_shared_memory::size_type free_memory_after_expansion = managed_shm.get_free_memory(); in main() 103 ret = managed_shm.allocation_command in main() 113 managed_shared_memory::size_type free_memory_after_shrinking = managed_shm.get_free_memory(); in main() 120 managed_shm.deallocate(ptr); in main()
|
D | doc_managed_raw_allocation.cpp | 44 managed_shared_memory managed_shm(create_only,test::get_process_id_name(), 65536); in main() local 47 managed_shared_memory managed_shm(create_only,"MySharedMemory", 65536); in main() local 53 void *ptr = managed_shm.allocate(100); in main() 56 managed_shm.deallocate(ptr); in main() 59 ptr = managed_shm.allocate(100, std::nothrow); in main() 62 managed_shm.deallocate(ptr); in main()
|
D | doc_managed_multiple_allocation.cpp | 50 managed_shared_memory managed_shm(create_only,test::get_process_id_name(), 65536); in main() local 53 managed_shared_memory managed_shm(create_only,"MySharedMemory", 65536); in main() local 60 managed_shm.allocate_many(std::nothrow, 100, 16, chain); in main() 79 managed_shm.deallocate(allocated_buffers.back()); in main() 88 managed_shm.allocate_many(sizes, 10, 1, chain); in main() 89 managed_shm.deallocate_many(chain); in main()
|
/third_party/boost/libs/interprocess/doc/ |
D | interprocess.qbk | 3675 managed_shm.get_segment_manager(); 3743 managed_shm.get_size(); 3749 managed_shm.get_free_memory(); 3755 managed_shm.zero_free_memory(); 3761 managed_shm.all_memory_deallocated(); 3768 managed_shm.check_sanity(); 3774 managed_shm.get_num_named_objects(); 3775 managed_shm.get_num_unique_objects(); 3824 managed_shm.reserve_named_objects(1000); 3825 managed_shm.reserve_unique_objects(1000); [all …]
|