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
Patrick Pelissier
f0c03853f8
Do not activate strlen assume for debug mode.
...
This will make debug mode faster.
It also fixes a problem with GCC7 which makes
**release**mode slower (since it called strlen!)
2017-08-06 18:29:09 +02:00
Patrick Pelissier
c3b66e053a
Add 'ftrapv' for running the test suite.
2017-08-05 19:26:24 +02:00
Patrick Pelissier
e0abba3452
Update
2017-08-05 18:24:42 +02:00
Patrick Pelissier
07c251e5ca
Add test suite for deque
2017-08-05 18:21:14 +02:00
Patrick Pelissier
f7277884a6
Fix issue for intrusive list & free :
...
we read the next pointer after freeing the memory !
2017-08-05 13:06:04 +02:00
Patrick Pelissier
a780a7d144
Add string_pbrk
2017-08-02 22:24:12 +02:00
Patrick Pelissier
7165740af3
Add function string_replace_at
...
(Compatible with C++ interface)
2017-08-02 22:02:49 +02:00
Patrick Pelissier
80c273e6e2
Remove dict_ prefix for dictionnary.
...
See commit on shared-pointer.
2017-07-29 13:01:38 +02:00
Patrick Pelissier
34943e5b2a
Remove array_ prefix from ARRAY_DEF
...
See commit on shared pointers.
2017-07-27 22:16:15 +02:00
Patrick Pelissier
4cb92a92b8
Remove list_ prefix from all lists.
...
See commit on shared-pointers.
Rename the iteration type to be prefix by name list_it_name_t ==> name_it_t
2017-07-27 21:40:35 +02:00
Patrick Pelissier
7d2848e16a
Remove rbtree_prefix from Red Black Tree.
...
(See commit on shared-pointer).
Rename rbntree_name_it_t into name_it_t.
Update tests, documentation, bench in accordance.
2017-07-26 22:56:25 +02:00
Patrick Pelissier
b49e286ae2
Remove prefix mempool from mempools.
...
See commit about shared pointer.
2017-07-25 23:03:23 +02:00
Patrick Pelissier
a69c67e850
Remove buffer prefix from buffers.
...
See commit on shared pointer.
2017-07-25 22:52:19 +02:00
Patrick Pelissier
8a716cd4f4
Remove prefix snapshot from snapshot.
...
See previous commit on shared pointer.
2017-07-25 22:44:17 +02:00
Patrick Pelissier
da9d87bf4b
Remove ilist_ prefix from Intrusive List
...
See commit on Shared Pointer
Additional Fix:* the iterator name is also impacted
and shall be converted in the sources (_it_ change from being a prefix to a suffix).
2017-07-25 22:27:48 +02:00
Patrick Pelissier
ad27d331a1
Remove ishared prefix from the Intrusive Shared Port
...
See commit on shared pointer.
2017-07-25 22:27:00 +02:00
Patrick Pelissier
e8c952def8
Remove prefix shared_ from all definition of the functions / types of shared pointer.
...
This make the name shorter, give the user full control over the prefix,
give the user full power over the name,
allow more flexibility over the kind of container (allowing switch quickly),
and uniformize with variant_, tuple_ & algo_.
This is better than the current situation and all containers will switch.
==> Break API compatibility:
To fix this quickly, just add shared_ before the name into the
macro SHARED_PTR_DEF & SHARED_OPLIST.
This will generate the same name than before.
2017-07-25 22:19:08 +02:00
Patrick Pelissier
38c15cebe2
Add statistics about how much overwrite has been done by the buffer.
...
Unlikley the test about overwrite.
2017-07-19 22:46:53 +02:00
Patrick Pelissier
8a0755b863
Do not expand the contract macro of the buffer for the coverage.
2017-07-19 22:39:00 +02:00
Patrick Pelissier
50e4fc482d
Improve coverage.
2017-07-17 13:37:56 +02:00
Patrick Pelissier
b49640214d
Test new function.
2017-07-17 00:00:21 +02:00
Patrick Pelissier
b955eab0a8
Improve coverage.
2017-07-16 23:51:04 +02:00
Patrick Pelissier
c0f7ae188b
Improve quality of coverage report.
2017-07-16 23:50:29 +02:00
Patrick Pelissier
ff5691f0cd
Add new test for coverage.
2017-07-15 21:31:55 +02:00
Patrick Pelissier
540471b7b8
Add tests for reduce functions
2017-07-15 20:46:02 +02:00
Patrick Pelissier
faf7f1ba17
Start measuring coverage for buffer.
2017-07-15 16:43:06 +02:00
Patrick Pelissier
b6b1f604cd
Add more test.
2017-07-14 10:43:50 +02:00
Patrick Pelissier
02df885ecd
Improve coverage.
2017-07-12 23:53:14 +02:00
Patrick Pelissier
291fb2ab56
Improve coverage.
2017-07-12 22:31:32 +02:00
Patrick Pelissier
82f5c29aa1
Improve coverage
2017-07-12 17:31:48 +02:00
Patrick Pelissier
9f277b0eed
Improve quality of coverage report.
2017-07-12 11:01:58 +02:00
Patrick Pelissier
37225eaf57
Fix issue with test-mdict generation:
...
we shall not replace "{" by "{\n" as { is not part of the language.
2017-07-11 23:52:59 +02:00
Patrick Pelissier
88f8ec05a8
Add forgotten header coverage.h
2017-07-11 23:36:44 +02:00
Patrick Pelissier
9ba26ae368
Improve coverage
2017-07-11 23:32:26 +02:00
Patrick Pelissier
d76bfdedb1
Improve coverage test.
2017-07-11 22:55:39 +02:00
Patrick Pelissier
7ffe20bea7
Add test
2017-07-11 22:39:40 +02:00
Patrick Pelissier
ae2ac8be2a
Add new test
2017-07-11 09:32:37 +02:00