Commit Graph
186 Commits
Author SHA1 Message Date
Patrick Pelissier ca3ea0ad47 Add support for coverage. 2017-12-13 20:21:52 +01:00
Patrick Pelissier b834bab635 Add more tests. 2017-12-13 20:04:06 +01:00
Patrick Pelissier 1d15adcef8 Update 2017-12-12 21:57:59 +01:00
Patrick Pelissier 179df4bda5 Add priority queue based on binary heap 2017-12-12 21:55:19 +01:00
Patrick Pelissier 446fa7d35f Add integer generator 2017-11-11 20:30:50 +01:00
Patrick Pelissier a07d71274a Fix issue with massive parallele check 2017-10-25 21:46:54 +02:00
Patrick Pelissier 8914d336a0 dict_ref & dict_cref returns a pointer to struct pair_s instead of pair_t (which
is an array of struct pair_s).
This will break API compatibility. However:
it makes the user code cleaner as a level of indirection is removed.
it uniformizes with the OA dict version
2017-10-18 23:25:39 +02:00
Patrick Pelissier 229f99585d Rename _look ==> _read and _take ==> _write 2017-10-15 22:49:59 +02:00
Patrick Pelissier 535ea729ed Add a more representative test for the snapshot. 2017-10-11 22:35:57 +02:00
Patrick Pelissier 2700ccba1a [SNAPSHOT]:
* Rename functions get_produced / get_consummed into get_write_buffer and get_read_buffer

* Add function _updated_p

* Add comments.
2017-10-11 22:16:39 +02:00
Patrick Pelissier bb5d350fbc Fix missing VLA for C++ 2017-10-04 21:55:24 +02:00
Patrick Pelissier 85a7082f80 Add missing cast for C++ 2017-10-04 21:54:16 +02:00
Patrick Pelissier d1dc69f482 Allow paralelisation of scan-build too. 2017-10-04 21:49:52 +02:00
Patrick Pelissier ea78ccca05 Remove unused var 2017-10-04 21:45:28 +02:00
Patrick Pelissier 9202fb2fea Parallelize santize command 2017-09-30 19:12:14 +02:00
Patrick Pelissier 3c9c52593a Fix problem with sanitizer. 2017-09-27 23:19:50 +02:00
Patrick Pelissier f08fa110ea Fix issue for computing coverage. 2017-09-27 22:44:28 +02:00
Patrick Pelissier 03f674ca61 Move generic rule into generic rule section. 2017-09-26 23:09:01 +02:00
Patrick Pelissier 4aee001b1d Remove unused variables. 2017-09-26 23:07:12 +02:00
Patrick Pelissier bb2ca89a75 Rewrite the Makefile of the test so that it is compatible with parallel invocation. 2017-09-26 23:05:28 +02:00
Patrick Pelissier 777db173ac Renaming test. 2017-09-26 22:26:07 +02:00
Patrick Pelissier 9ae9bc5126 Improve test suite. 2017-09-26 22:25:40 +02:00
Patrick Pelissier d19a5ad9de Fix warnings.
Update interface to avoid silent cast from size_t to unsigned int.
2017-09-24 23:05:46 +02:00
Patrick Pelissier 6b55f5d4a3 Improve test suite. 2017-09-21 22:37:28 +02:00
Patrick Pelissier c79626225b Rewrite M_REDUCE to be much faster.
Rewrite M_SEQ to be much faster.
Change interface of M_SEQ as we can easily apply M_MAP / M_MAP2 to further apply macro.
2017-09-20 23:40:22 +02:00
Patrick Pelissier 1fa105f11a Improve the test suite. 2017-09-18 23:03:05 +02:00
Patrick Pelissier f75bd05a02 Fix issue with dict equal_p 2017-09-17 11:29:00 +02:00
Patrick Pelissier e80a9b8bb3 Add bitset_t as a global oplist. 2017-09-14 23:02:33 +02:00
Patrick Pelissier 4c688c1004 Register global oplist for string_t. 2017-09-14 22:56:35 +02:00
Patrick Pelissier 402c0a86e0 Add test for REDUCE2 & SEQ 2017-09-13 23:50:38 +02:00
Patrick Pelissier d7c4ca1de5 Add support for global oplist.
Global oplists are global macro defined as M_OPL_##type

Add support of global oplist for macro M_EACH & M_LET.
Partial fix #9
2017-09-10 10:04:39 +02:00
Patrick Pelissier 4d9405d564 Improve M_OPLIST_P computation. 2017-09-09 23:36:01 +02:00
Patrick Pelissier df1a9e9c88 Add M_TEST_DISABLED_METHOD_P 2017-09-06 21:56:45 +02:00
Patrick Pelissier 755f3a77f3 Complete test suite for dequeu. 2017-08-20 21:53:52 +02:00
Patrick Pelissier 7ddb7e63b7 Improve coverage. 2017-08-19 20:16:32 +02:00
Patrick Pelissier 25d553f96e Add more tests. 2017-08-19 19:51:21 +02:00
Patrick Pelissier 519a74751c Add more tests for deque 2017-08-19 18:40:54 +02:00
Patrick Pelissier eea88741ed Add more functions. 2017-08-19 16:44:17 +02:00
Patrick Pelissier 49e92ba634 Add coverage computation. 2017-08-19 16:42:49 +02:00
Patrick Pelissier 397fdf5de5 Add support for deque 2017-08-19 16:42:30 +02:00
Patrick Pelissier 955428d401 Add more tests. 2017-08-19 12:58:06 +02:00
Patrick Pelissier 84e7f4ccaf Fix #11
Rename string_pbrk into string_search_pbrk for consistency
2017-08-15 09:23:21 +02:00
Patrick Pelissier 866e1e0b7a Add new function string_set_n to extract a sub-string from a string. 2017-08-14 23:30:20 +02:00
Patrick Pelissier c0a86e9470 Improve test suite. 2017-08-14 19:51:52 +02:00
Patrick Pelissier 513727dcf8 Update.
Do not import m-string automatically.
2017-08-14 19:36:52 +02:00
Patrick Pelissier f539cd877f Add comments for bitset 2017-08-14 19:05:35 +02:00
Patrick Pelissier 010f397349 Rename string_get_length into string_size
<== Uniformisation with the other containers.
2017-08-09 23:44:27 +02:00
Patrick Pelissier c087268884 Add ILIST_CONTRACT into the list of the macros not to be expanded for coverage. 2017-08-08 22:58:38 +02:00
Patrick Pelissier 75e7cdf3b2 Fix issue with C++ 2017-08-08 20:11:03 +02:00
Patrick Pelissier fb7eed3c15 Update generation example. 2017-08-06 22:38:48 +02:00