Patrick Pelissier
a12e3534c6
Rewrite I/O functions so that they handle properly
...
non printable characters.
2018-04-21 10:26:05 +02:00
Patrick Pelissier
da07a5b613
string_strim allows optionnal second argument which list the characters to strim.
2018-04-20 20:46:44 +02:00
Patrick Pelissier
e2fc9c3699
Update
2018-04-19 20:21:54 +02:00
Patrick Pelissier
472eaff6f0
Add gene queue
2018-04-19 20:20:18 +02:00
Patrick Pelissier
805b016aee
Reformat test and reduce pressure on thread creation for some tests
...
(Some systems didn't handle so much thread creation).
2018-04-17 23:01:05 +02:00
Patrick Pelissier
3f5406f1d4
API breakage:
...
worker_sync takes an extra parameter (worker_t) to perform a
wait-on-event instead of a busy waiting, reducing consummer ressources.
worker_init takes an int instead of an unsigned int for the number of workers.
It allows additional extra value -1 to initialize the number of workers to
twice the number of CPU, allowing to overload the CPU with loads and keep
them fully working in some scenario.
2018-04-16 23:57:28 +02:00
Patrick Pelissier
6bb94db22f
Add function dict_splice
2018-04-15 21:02:14 +02:00
Patrick Pelissier
12b15e0037
Add function array_splice just like function list_splice
...
as it can be done faster at low level.
2018-04-15 11:41:32 +02:00
Patrick Pelissier
2c9169308b
Add code generation for OA dict
2018-04-15 10:53:55 +02:00
Patrick Pelissier
2f65400641
Add target checkall to lanch the test suite wih multiple compilers / options.
2018-04-15 00:40:48 +02:00
Patrick Pelissier
ead5d7511a
Use of proper oplist with the CMP method.
2018-04-14 08:33:37 +02:00
Patrick Pelissier
1cd7446013
Add more instantiation of the containter
2018-04-14 08:27:26 +02:00
Patrick Pelissier
40747a463b
Remove dependecies from GMP header, allowing to run the test suite without GMP
2018-04-14 08:16:31 +02:00
Patrick Pelissier
8e20118ab6
Reformat
2018-04-14 08:12:58 +02:00
Patrick Pelissier
19f330e670
Rename also MYMPZ2_OPLIST into MY_MPZ_CMP_OPLIST
2018-04-14 08:12:27 +02:00
Patrick Pelissier
20d549b5e1
Rename MYMPZ_OPLIST into MY_MPZ_OPLIST
2018-04-14 08:11:14 +02:00
Patrick Pelissier
654521b74c
Add some tests of _equal_p
2018-04-10 23:25:04 +02:00
Patrick Pelissier
0d085771e4
Add tests for new methods
2018-04-09 18:07:03 +02:00
Patrick Pelissier
9b9e246e66
More tests
2018-04-08 11:16:31 +02:00
Patrick Pelissier
050bb5dbfa
Add tests for it_from & it_to_p for B+TREE
2018-04-08 11:13:22 +02:00
Patrick Pelissier
f158a94e0a
Add tests for min & max
2018-04-08 10:47:52 +02:00
Patrick Pelissier
47fb467878
Add basic it test for B+tree
2018-04-08 07:24:56 +02:00
Patrick Pelissier
1f44155127
Add one more corner case
2018-04-07 12:11:50 +02:00
Patrick Pelissier
87a3ac4a76
Add test for methods _init_set & _set for B+tree
2018-04-07 12:10:50 +02:00
Patrick Pelissier
cb3038e73c
Add more checks
2018-04-07 11:51:38 +02:00
Patrick Pelissier
b6ec31fe11
Add more test.
2018-04-07 11:50:18 +02:00
Patrick Pelissier
c7059a60ee
Add more tests
2018-04-07 11:44:16 +02:00
Patrick Pelissier
af49aaf8b1
Add more tests.
2018-04-07 11:42:12 +02:00
Patrick Pelissier
4149b8388b
Improve quality of coverage report by not expanding contract function.
2018-04-07 11:41:43 +02:00
Patrick Pelissier
df0d723714
Compute coverage for B+TREE
2018-04-07 11:28:50 +02:00
Patrick Pelissier
44209ed93e
Add more tests
2018-04-07 11:19:58 +02:00
Patrick Pelissier
930a3c8637
More tests.
2018-04-07 11:14:31 +02:00
Patrick Pelissier
d2f5698397
iMake oplist optional for BPTREE_DEF
2018-04-07 11:10:13 +02:00
Patrick Pelissier
e4cd999bd0
Test expansion of new container.
2018-04-03 20:01:24 +02:00
Patrick Pelissier
5d99331358
Add expansion of a user type.
2018-04-03 18:29:16 +02:00
Patrick Pelissier
316022cde4
Add oplist with CMP operator
2018-04-03 18:28:51 +02:00
Patrick Pelissier
6127371920
Add B+TREE container.
...
Fix #4
2018-04-03 12:40:29 +02:00
Patrick Pelissier
7936dbbf8c
Minor fix
2018-03-31 16:31:47 +02:00
Patrick Pelissier
9909877771
Avoid warning with C++
2018-03-31 12:01:05 +02:00
Patrick Pelissier
64ef1f3aba
Fix classic issue with C++
2018-03-31 11:56:28 +02:00
Patrick Pelissier
bc83fe43e5
Remove dependency on GMP, so that it is easier to run the bench suite.
2018-03-29 20:01:45 +02:00
Patrick Pelissier
20989a7ab5
Add test for bounded string.
2018-03-24 08:42:47 +01:00
Patrick Pelissier
5936e25ce4
Add test
2018-03-17 09:24:26 +01:00
Patrick Pelissier
81e3515f40
Add missing tests
2018-03-16 23:06:15 +01:00
Patrick Pelissier
bffec6206b
Remove usage of variable array extension in C tests to avoid warning with C++ compilers.
2018-03-16 23:02:28 +01:00
Patrick Pelissier
73117708e5
Analyze generated code
2018-03-14 23:51:51 +01:00
Patrick Pelissier
5d003b7678
Generate more functions
2018-03-14 22:18:48 +01:00
Patrick Pelissier
f8e75761ef
Change SNAPSHOT_SRSW to SNAPSHOT_SPSC to be uniform with queue definition
...
(Replace Reader / Writer term by Consummer / Producer term)
2018-03-10 17:46:02 +01:00
Patrick Pelissier
82575962ed
Add expansion of the new kind of dictionary
2018-02-28 21:07:29 +01:00
Patrick Pelissier
3d57d35536
Update test
2018-02-25 11:52:14 +01:00