mutouyun
|
a0732c892c
|
Refactor memory block resource retrieval in new.h
|
2024-03-09 23:59:16 +08:00 |
|
mutouyun
|
a5456d9258
|
Refactor regular_sizeof ut
|
2024-03-09 21:04:21 +08:00 |
|
mutouyun
|
3f526cfbfb
|
Fix compilation errors
|
2024-03-09 20:15:50 +08:00 |
|
mutouyun
|
174d5e41df
|
Fixed possible errors in memory allocation greater than 64K.
|
2024-03-09 19:54:18 +08:00 |
|
mutouyun
|
2a1d8fa5fa
|
Update CMakeLists.txt and expected.h, remove unused files, and improve thread safety in block_pool.cpp
|
2024-03-09 19:14:41 +08:00 |
|
mutouyun
|
f615f200df
|
Remove synchronized_pool_resource class and its implementation
|
2024-01-13 19:05:43 +08:00 |
|
mutouyun
|
f3ecf7c61c
|
Refactor logging code and update test cases
|
2024-01-13 18:39:57 +08:00 |
|
mutouyun
|
30e5af90b3
|
Refactor log class names and function names
|
2024-01-13 18:20:53 +08:00 |
|
mutouyun
|
2cffe55ee1
|
Update constants to use static constexpr
|
2024-01-13 16:20:06 +08:00 |
|
mutouyun
|
5aaa78a8a5
|
Add comments and refine the implementation.
|
2024-01-07 22:43:21 +08:00 |
|
mutouyun
|
01bbcf7dca
|
Fix block_pool_resource allocation and deallocation
|
2024-01-06 18:17:57 +08:00 |
|
mutouyun
|
de80de3828
|
Refactor regular_sizeof function and fix type conversion warnings in test_pmr_new.cpp
|
2024-01-06 18:10:52 +08:00 |
|
mutouyun
|
397e25a6ab
|
Refactor test cases for pmr_memory_resource, pmr_new, pmr_allocator, pmr_block_pool, and pmr_monotonic_buffer_resource
|
2024-01-06 17:53:57 +08:00 |
|
mutouyun
|
2f79716b1c
|
Update libpmr code
|
2024-01-06 17:34:59 +08:00 |
|
mutouyun
|
fc60c75ac4
|
[TBD] add global object creation function
|
2024-01-01 18:04:53 +08:00 |
|
mutouyun
|
d995c693f3
|
Add unit tests for block_pool
|
2023-12-24 12:54:43 +08:00 |
|
mutouyun
|
c10d84a8f2
|
fix ut
|
2023-12-23 19:16:01 +08:00 |
|
mutouyun
|
3be10b67bc
|
upd: [pmr] improve block_pool
|
2023-12-23 16:34:47 +08:00 |
|
mutouyun
|
a8c6654178
|
add: [pmr] block pool implementation (TBD)
|
2023-12-17 18:09:53 +08:00 |
|
mutouyun
|
bdc8839c0c
|
add: [concur] intrusive stack implementation
|
2023-12-17 16:57:38 +08:00 |
|
mutouyun
|
9bd8813d46
|
rename concur::queue => `concur::circular_queue
|
2023-11-18 16:10:24 +08:00 |
|
mutouyun
|
ffb82029d9
|
Update .gitignore
|
2023-10-28 18:58:16 +08:00 |
|
mutouyun
|
9d4b482224
|
add LIBIMP_UNUSED for ut
|
2023-10-28 11:21:28 +08:00 |
|
mutouyun
|
3b268e0fbf
|
add /fsanitize=address for MSVC DEBUG
|
2023-10-22 18:22:32 +08:00 |
|
mutouyun
|
872b97f1d3
|
Add -fsanitize=address for memory leak and out-of-bounds detection.
|
2023-10-22 17:39:43 +08:00 |
|
mutouyun
|
ec602f50af
|
fix ut
|
2023-09-18 00:11:30 +08:00 |
|
mutouyun
|
019a60b371
|
add unit test
|
2023-09-17 17:07:40 +08:00 |
|
mutouyun
|
c07b14839d
|
Remove std::pmr test codes.
|
2023-09-17 17:05:09 +08:00 |
|
mutouyun
|
eee15dda02
|
Add unit tests for monotonic_buffer_resource.
|
2023-09-17 16:59:32 +08:00 |
|
mutouyun
|
665a347447
|
fix some bugs
|
2023-09-17 14:44:48 +08:00 |
|
mutouyun
|
47b8f605f5
|
add: [pmr] implementation for monotonic_buffer_resource
|
2023-09-17 13:44:41 +08:00 |
|
mutouyun
|
891e161e82
|
Prepare for monotonic_buffer_resource implementation.
|
2023-09-16 20:35:54 +08:00 |
|
mutouyun
|
1c76f92687
|
[MSVC] error C2039: "uninitialized_move_n"
|
2023-09-16 14:29:30 +08:00 |
|
mutouyun
|
9bef0a7b18
|
Optimization of the storage behavior for small_storage.
|
2023-09-16 14:11:39 +08:00 |
|
mutouyun
|
bbe1bb3fb7
|
Merge branch 'refactoring' of github.com:mutouyun/cpp-ipc into refactoring
|
2023-09-10 12:31:46 +08:00 |
|
mutouyun
|
1f93852fe7
|
Fixed segmentation fault in unit test.
|
2023-09-10 12:31:09 +08:00 |
|
mutouyun
|
e083ab7426
|
Adjust note.
|
2023-09-10 12:10:42 +08:00 |
|
mutouyun
|
342f3ef27e
|
The small_storage is complete.
|
2023-09-10 12:05:29 +08:00 |
|
mutouyun
|
6a243514ae
|
Add unit tests for small_storage
|
2023-09-09 16:42:23 +08:00 |
|
mutouyun
|
c503812c6f
|
[MSVC 19] error C2440: cannot convert to 'void (__cdecl *)(void *,std::size_t) noexcept'
|
2023-09-09 13:35:47 +08:00 |
|
mutouyun
|
2d75c87672
|
Fixed ut error on win.
|
2023-09-09 13:25:47 +08:00 |
|
mutouyun
|
a56a0cd643
|
Adjust the parameter error of the existing api implementation.
|
2023-09-09 12:42:14 +08:00 |
|
mutouyun
|
d0af950071
|
Adjust the default behavior of result.
|
2023-09-09 12:27:15 +08:00 |
|
mutouyun
|
3d4e92a9c5
|
Remove the custom error_code.
|
2023-09-09 12:13:56 +08:00 |
|
mutouyun
|
6020739552
|
[MSVC 19] error C2259: 'pmr::allocator::holder_mr<void *,bool>': cannot instantiate abstract class.
|
2023-09-09 11:22:30 +08:00 |
|
mutouyun
|
2ed0614ec8
|
fix ut
|
2023-09-04 23:37:11 +08:00 |
|
mutouyun
|
6b22006897
|
Continue to update holders.
|
2023-09-03 18:11:12 +08:00 |
|
mutouyun
|
5fec1f80ff
|
Fix compilation errors.
|
2023-09-03 13:54:52 +08:00 |
|
mutouyun
|
a50bc78678
|
Continue to update holders.
|
2023-09-03 13:43:32 +08:00 |
|
mutouyun
|
c8010e3a51
|
Place holder-base into small-storage.
|
2023-09-03 11:43:06 +08:00 |
|