Patrick Pelissier
73fda748fe
Fix issue detected by scan-build
2017-12-30 10:30:36 +01:00
Patrick Pelissier
cc149e6ea6
Fix issue detected by scan-build
2017-12-30 10:23:07 +01:00
Patrick Pelissier
2c6f37aa5f
Add QUEUE MPMC contract.
2017-12-30 01:27:22 +01:00
Patrick Pelissier
f2344c69ca
Rename worker_block_t into worker_sync_t
...
as it is a synchronization point for workers
not an anonymous block.
2017-12-28 00:03:47 +01:00
Patrick Pelissier
8aa3c86ce9
Add support of C++ for workers.
2017-12-16 20:54:17 +01:00
Patrick Pelissier
4ae6e92631
Do not launch the worker macro test if clang isn't compiled with block
2017-12-16 18:36:27 +01:00
Patrick Pelissier
43f371b32e
Remove warnings.
2017-12-16 18:29:07 +01:00
Patrick Pelissier
48036ace19
Add new test.
2017-12-16 17:51:58 +01:00
Patrick Pelissier
349a2931d3
Merge branch 'utf8'
2017-12-13 21:58:33 +01:00
Patrick Pelissier
eae0a3833a
Add separation
2017-12-13 21:57:24 +01:00
Patrick Pelissier
3296c5313c
Add more tests.
2017-12-13 21:56:41 +01:00
Patrick Pelissier
cc30ecebfc
Fix tests.
2017-12-13 21:51:16 +01:00
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
c4447123f3
Add more tests
2017-12-09 18:11:49 +01:00
Patrick Pelissier
873e1710c9
Add tests
2017-12-09 16:54:11 +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