Commit Graph

42 Commits

Author SHA1 Message Date
013f5bf943 make brlib sources to new dir 2023-12-22 11:14:16 +01:00
e7b5d2ea4d debug.c: remove dependancies from bits.h 2023-12-22 10:37:49 +01:00
7d28c85bc6 debug.c: remove dependancies from bits.h 2023-12-22 10:32:22 +01:00
0adb410321 bits.[ch]: remove logs in macros (moved to bits.c) 2023-12-16 17:05:07 +01:00
b76a8603a1 debug.[ch]: remove dependancies from bits.h 2023-12-16 16:55:29 +01:00
e65ef9889e Fix invalid fonction definition with unnamed param 2023-06-22 15:17:56 +02:00
1084c9eb06 move typedefs alltogether 2023-06-22 15:17:32 +02:00
485e04c6fd add struct-group.h 2023-06-20 21:31:44 +02:00
5294dbe371 updates from changes in AoC 2022 2023-06-20 21:27:49 +02:00
15cc0e54e9 add pjwhash 2023-06-20 21:27:00 +02:00
3fe7315f7c more fixes for 32 bits architecture 2022-12-07 08:23:09 +01:00
7be875ac70 typo 2022-12-06 14:32:10 +01:00
bde6db19cc pool.c * fix size_t printf format 2022-12-06 14:22:38 +01:00
53dc36cdd6 bits.h: move popcount up, fix erroneous japanese '−' instead of '-' (minus) 2022-12-06 14:21:11 +01:00
0b0e344d6a cleanup 2022-12-03 16:12:42 +01:00
6025e338b5 rename hash func 2022-12-03 16:12:19 +01:00
e4dc90cbb7 add stringification macros 2022-12-03 16:11:34 +01:00
dd94f888ae add some reverse() macros 2022-12-03 16:10:59 +01:00
11fbf0866f update (C) date 2022-12-03 16:10:37 +01:00
8f86bf9ccc please valgrind 2022-12-03 16:10:08 +01:00
c01fa51403 add some macros: ilog2, is_power_of_2, bits_per, etc... 2022-12-03 16:07:32 +01:00
de251f60d0 rename hash func 2022-12-03 16:06:30 +01:00
54085fa351 include (untested) hash 2022-09-25 19:31:11 +02:00
e858f69167 add hash, plist, etc (untested) 2022-09-18 13:12:49 +02:00
1c775f4a35 c: minor comment changes 2022-08-13 15:10:51 +02:00
f4f6bd06d1 C tools: move includes to subdir, Makefile 2022-06-06 16:45:07 +02:00
9d71467182 rwonce.h: __error__ attribute fix 2022-06-01 17:55:48 +02:00
d6eccb2caa bits.h: add 32 bits macros 2022-06-01 17:54:01 +02:00
fab41ccc2e debug.h: typos 2022-06-01 17:46:17 +02:00
045787a135 remove redundant _printf declaration 2022-04-21 16:18:17 +02:00
7071dc5725 rwonce.h: indent; bits.h: remove useless convenience signed types 2022-03-18 18:46:10 +01:00
52cf521da4 add READ_ONCE() and WRITE_ONCE() 2022-03-18 16:53:43 +01:00
1b648d6db2 bits.h: added convenience types 2022-03-18 14:23:49 +01:00
b5aa787fb4 add rwonce.h 2022-03-18 13:43:34 +01:00
22185486b6 Change license to GPL 3.0 or later 2022-03-08 12:29:55 +01:00
ab789d8ba7 add #error for wordsize != 64 2022-02-07 18:20:32 +01:00
294e6dbbcb bugfix bit_for_each64_2 2022-01-29 15:48:42 +01:00
f8a13b807e debug.h: add __attribute__ to debug(), for printf() args style 2022-01-16 21:22:10 +01:00
76a6a81d69 pool_create: do not fail if structure is too small to handle list pointers 2022-01-16 21:10:41 +01:00
78d76a1add list.h: updated from advent of code repo 2022-01-16 21:02:16 +01:00
14f4304b94 add debug, bits, and pool 2021-12-20 15:16:16 +01:00
2ec32cbecf revert from C99 to kernel-style 2021-09-05 21:43:14 +02:00