Commit Graph

45 Commits

Author SHA1 Message Date
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
6db9653377 rwonce.h: indent; bits.h: remove useless convenience signed types 2022-03-18 18:46:10 +01:00
a92a4e04b4 add READ_ONCE() and WRITE_ONCE() 2022-03-18 16:53:43 +01:00
21e27ba16e bits.h: added convenience types 2022-03-18 14:23:49 +01:00
1da1f8a633 add rwonce.h 2022-03-18 13:43:34 +01:00
3d98a235c2 Change license to GPL 3.0 or later 2022-03-08 12:29:55 +01:00
d7ce1c5102 add #error for wordsize != 64 2022-02-07 18:20:32 +01:00
f3718ab9fb bugfix bit_for_each64_2 2022-01-29 15:48:42 +01:00
0e255539ed debug.h: add __attribute__ to debug(), for printf() args style 2022-01-16 21:22:10 +01:00
60923f49cd pool_create: do not fail if structure is too small to handle list pointers 2022-01-16 21:10:41 +01:00
38c6c978a9 list.h: updated from advent of code repo 2022-01-16 21:02:16 +01:00
f63692e10e add debug, bits, and pool 2021-12-20 15:16:16 +01:00
963354421d revert from C99 to kernel-style 2021-09-05 21:43:14 +02:00