3c7222954e
re-arrange Makefile, and cleanup Emacs/ccls part
v0.3
2024-01-06 18:24:17 +01:00
2c95124020
bitops: all macros (hmmm, mistake ?), more tests
2024-01-06 18:23:29 +01:00
459f18a019
Fix loop in test_popcount
2024-01-04 09:01:12 +01:00
0dcca10559
bits.h -> bitops.h, start bitops refactor: target all implem. visible
2024-01-03 19:13:44 +01:00
b63a5cceda
Makefile: add /tests bin generation
2024-01-03 19:11:20 +01:00
2bab5c9d2c
add env script, and (stupid) draft tests
2024-01-03 19:09:17 +01:00
a41ca50404
debug: add func desc in debug.h
2024-01-03 19:06:52 +01:00
7bba3c559b
*BREAKING changes*: func naming, types moved to br.h, etc...
...
- int types definitions moved to br.h
- bits_implementation() -> print_bitops_impl()
- 64 bitops use ...ll builtins instead of ...l
- add lsb and msb macros
- bit_for_each -> bit_for_each_1 (count from 1)
- bit_for_each_2 -> bit_for_each (count from 0)
v0.2
2024-01-01 08:40:24 +01:00
8007299886
silent $(AR)
v0.1
2023-12-30 12:31:59 +01:00
bb8509fc00
shared lib: use all objects.
2023-12-30 11:47:34 +01:00
d654b4acde
add list_sort
2023-12-29 17:22:28 +01:00
97d6570be7
.gitignore
2023-12-24 18:51:19 +01:00
8f4f571450
update Makefile & mandatory emacs files
2023-12-24 18:46:09 +01:00
f9318ce49b
brlib repo creation
2023-12-24 18:17:38 +01:00
e794bdf9c4
cleanup
2023-12-24 17:38:53 +01:00
f4fddd81d8
move debug.h & pool.h main() to test dir (unmodified, can't compile)
2023-12-24 17:37:27 +01:00
2c36a87ecf
brlib Makefile
2023-12-22 11:26:32 +01:00
f1eb0341fa
revert lost changes
2023-12-22 11:24:13 +01:00
c55d23b23e
Merge branch 'sep-brlib' of git.raoult.com:bruno/Tools into sep-brlib
2023-12-22 11:16:24 +01:00
a728306dd5
make brlib sources to new dir
2023-12-22 11:14:16 +01:00
2d5a20c906
mkve brlib sources to new dir
2023-12-22 10:57:56 +01:00
6d635163d8
debug.c: remove dependancies from bits.h
2023-12-22 10:37:49 +01:00
0a83c5d93d
debug.c: remove dependancies from bits.h
2023-12-22 10:32:22 +01:00
8f1818c9e8
bits.[ch]: remove logs in macros (moved to bits.c)
2023-12-16 17:05:07 +01:00
0de2befedc
debug.[ch]: remove dependancies from bits.h
2023-12-16 16:55:29 +01:00
4e0a59019c
Fix invalid fonction definition with unnamed param
2023-06-22 15:17:56 +02:00
318a68c208
move typedefs alltogether
2023-06-22 15:17:32 +02:00
f2fffc18ea
add struct-group.h
2023-06-20 21:31:44 +02:00
128ea64816
updates from changes in AoC 2022
2023-06-20 21:27:49 +02:00
7d98ab73a1
add pjwhash
2023-06-20 21:27:00 +02:00
b803af5ba2
more fixes for 32 bits architecture
2022-12-07 08:23:09 +01:00
7077a51dc4
typo
2022-12-06 14:32:10 +01:00
22b608b2cd
pool.c * fix size_t printf format
2022-12-06 14:22:38 +01:00
7349aefc97
bits.h: move popcount up, fix erroneous japanese '−' instead of '-' (minus)
2022-12-06 14:21:11 +01:00
a8d9ff204a
cleanup
2022-12-03 16:12:42 +01:00
91c84987c7
rename hash func
2022-12-03 16:12:19 +01:00
46c9c2da13
add stringification macros
2022-12-03 16:11:34 +01:00
4c8f0f3f72
add some reverse() macros
2022-12-03 16:10:59 +01:00
a0e204d7ab
update (C) date
2022-12-03 16:10:37 +01:00
37be1a7683
please valgrind
2022-12-03 16:10:08 +01:00
063c95356b
add some macros: ilog2, is_power_of_2, bits_per, etc...
2022-12-03 16:07:32 +01:00
72930105f1
rename hash func
2022-12-03 16:06:30 +01:00
17cabaddb7
include (untested) hash
2022-09-25 19:31:11 +02:00
bb5ddc1772
add hash, plist, etc (untested)
2022-09-18 13:12:49 +02:00
6fd8e92e7c
c: minor comment changes
2022-08-13 15:10:51 +02:00
415596b7f0
C tools: move includes to subdir, Makefile
2022-06-06 16:45:07 +02:00
4c9b0742f5
rwonce.h: __error__ attribute fix
2022-06-01 17:55:48 +02:00
c6b4633bf1
bits.h: add 32 bits macros
2022-06-01 17:54:01 +02:00
2441200df4
debug.h: typos
2022-06-01 17:46:17 +02:00
11a0081198
remove redundant _printf declaration
2022-04-21 16:18:17 +02:00