Patrick Pelissier
c461b4eca4
Update shared pointer new interface
2024-11-24 11:26:30 +01:00
Patrick Pelissier
d5b4ec249b
Update test suite
2024-11-16 13:26:21 +01:00
Patrick Pelissier
ae55ccfc40
Update test to consider change of default for deque
2024-11-11 23:56:33 +01:00
Patrick Pelissier
5bf644ccf0
Improve test suite
2024-11-11 22:38:10 +01:00
Patrick Pelissier
9dbc48aa5d
Update
2024-11-09 19:07:08 +01:00
Patrick Pelissier
8faf7f79c4
Add first test cases for m-shared-ptr
2024-11-09 14:27:16 +01:00
Patrick Pelissier
edcf8ee37a
Final update of the byte string
2024-10-05 11:40:23 +02:00
Patrick Pelissier
8a1f30eeff
Finish implementation of Byte String
2024-10-05 10:23:47 +02:00
Patrick Pelissier
0379f5f1c6
Add header for handling Byte String as per #123
...
API designed for streaming bytes and easy integration with other libraries.
2024-09-26 22:33:03 +02:00
Patrick Pelissier
45b11fb49b
Fix #129 :
...
Support of incomplete type in m-shared.
2024-09-21 12:39:29 +02:00
Patrick Pelissier
3fd2146bbe
Fix issue in 32 bits mode
2024-05-28 23:31:16 +02:00
Patrick Pelissier
8e70b6175a
Fix clang warning
2024-05-28 23:14:44 +02:00
Patrick Pelissier
67e9c8ff06
New internal string format:
...
* maximum size of a string is 2^32-1 now by default on a 64 bits system (can be increased using M_USE_STRING_LARGE_INDEX if needed).
* This reduce consumption of a string_t from 24 bytes to 16 bytes.
* Change the stack representation of a string, so that it lets 15 allocated bytes for the user even in 64 bytes mode. For 32 bits system, it increases to 15 allocated byte for stack representation.
* synthetic performance benchmark shows a little bit of decrease of performance. But performance in real application shows a significant increase (probably due to the reduced size of the type).
*Augment test suite to be sure to test all corner cases of the new representaiton.
2024-05-28 23:05:54 +02:00
Patrick Pelissier
1ae904dff2
Add support of INITçWITH for variant
...
in C11 / provided all types of the variant are exclusive.
2024-05-15 20:46:20 +02:00
Patrick Pelissier
0b6733fdcb
Ass _reserve method for standard dict
2024-05-03 16:40:35 +02:00
Patrick Pelissier
8e330862e1
[Coverage] Adding missing tests
2024-05-03 10:03:22 +02:00
Patrick Pelissier
562fd875e9
Improve test suite
2024-05-02 14:04:38 +02:00
Patrick Pelissier
5513a9df1b
Fix issue in new dict for case of erase all / reset scenario
2024-05-02 01:15:15 +02:00
Patrick Pelissier
04d4bf6866
Complete new version of normal dictionary :
...
* limits: max elements is 0.75*2^32
* much faster
* use less memory
2024-05-01 22:39:36 +02:00
Patrick Pelissier
a3ece09e66
Add new tests for exception and bitsets
2024-04-29 22:44:02 +02:00
Patrick Pelissier
2c81582419
Improve static analyzer report
2024-04-29 22:35:27 +02:00
Patrick Pelissier
f8c79d9259
Add support for exception for emplace function for list/array
2024-04-27 09:04:47 +02:00
Patrick Pelissier
5c36e045ff
Add proper support for exception for DEQUE
2024-04-27 08:55:51 +02:00
Patrick Pelissier
9dfcf41b64
Improve detection of error
2024-04-23 21:14:36 +02:00
Patrick Pelissier
9382cdc0f7
Improve exception integration tests
2024-04-22 23:00:04 +02:00
Patrick Pelissier
68f890a015
Improve exception integration tests
2024-04-22 22:47:11 +02:00
Patrick Pelissier
2b455c5c6b
Fix test issue in C++
2024-04-20 00:42:07 +02:00
Patrick Pelissier
d466e76702
Factorize common test function
2024-04-13 08:19:05 +02:00
Patrick Pelissier
4e24e7a533
Improve exception integration tests
2024-04-13 08:01:36 +02:00
Patrick Pelissier
0914c26b8d
Update test suite
...
testing more functions in exception scenario
2024-04-11 01:00:06 +02:00
Patrick Pelissier
aa055d0b00
Add tests for exception + lists
2024-04-08 23:10:14 +02:00
Patrick Pelissier
e7d6e0d6ac
Generate dependency for new files
2024-04-08 23:08:39 +02:00
Patrick Pelissier
e4a85cdc61
Add tests for exception+array
2024-04-06 19:13:38 +02:00
Patrick Pelissier
52b58c5a51
Happy new year 2024
2024-01-19 21:37:47 +01:00
Patrick Pelissier
422f3c2c04
Add GENTYPE operator to all oplists
2023-12-30 16:23:02 +01:00
Patrick Pelissier
73e3d1d1bd
Register string_t globally
2023-12-30 16:23:02 +01:00
Patrick Pelissier
044a085fb6
Fix support for pop generic macro function
2023-12-30 16:23:02 +01:00
Patrick Pelissier
76ea989865
Fix warnings
2023-12-30 16:23:02 +01:00
Patrick Pelissier
29c4ba3dcc
Add support for M_PRINT
2023-12-30 16:23:02 +01:00
Patrick Pelissier
42184f69db
Disable generic tests for TCC
2023-12-30 16:23:02 +01:00
Patrick Pelissier
1d86e51f4a
Improve test suite
2023-12-30 16:23:02 +01:00
Patrick Pelissier
53c35a22d7
First version of Generic header
2023-12-30 16:23:02 +01:00
Patrick Pelissier
d9401371a6
Fix warnings reported by CLANG,
...
the C warning generator.
2023-12-23 13:16:42 +01:00
Patrick Pelissier
7bf3ea3a87
Update Function Object interface
...
to make interface trivially copiable
There is no need to perform a copy-protected type as there is no init/clear for this type.
It is always created through an instance.
2023-12-09 12:40:45 +01:00
Patrick Pelissier
2ee40339b0
Using emplace to generate init_with for shared_ptr:
...
Equivalent to C++ make_shared)
2023-12-02 13:21:45 +01:00
Patrick Pelissier
b16048a55b
Add test cases for tuple emplace
2023-11-25 13:32:57 +01:00
Patrick Pelissier
1df8bf84fb
Fix oplist definition for tuple.
...
The oplist didn't include as many sub-oplists as the number of variables.
2023-11-25 13:29:48 +01:00
Patrick Pelissier
796f2619e5
Change M_BY_NARGS semantics:
...
simplify suffix by __ # NARGS
instead of __NARGS_ # NARGS
Driver: reduce macro name length.
2023-10-20 00:02:38 +02:00
Patrick Pelissier
5f4303624f
Adding macro M_CHAIN_OBJ
2023-10-14 15:55:59 +02:00
Patrick Pelissier
19e61467d5
Adding tuple generation
...
for analysis of generated code.
2023-10-14 15:31:37 +02:00