-
180839c960
bug.h revamp, easier to use
master
Bruno Raoult
2024-07-15 08:18:35 +02:00
-
a48ebf9099
Makefile: add 'build=' option. bug.h: numeric {BUG,WARN}_ON
Bruno Raoult
2024-07-10 07:34:05 +02:00
-
553dc6bd07
del useless unlikely()
Bruno Raoult
2024-06-23 07:32:22 +02:00
-
7bedfddfba
allow bug.h re-inclusion
Bruno Raoult
2024-05-18 13:30:46 +02:00
-
8ff163dcf5
add stdlib in brlib.h (unexplained error in __abs_choose_expr)
Bruno Raoult
2024-03-07 22:51:48 +01:00
-
9162db31e3
add -DBUG_ON -DWARN_ON to enable/disable bug_on()/warn_on()
Bruno Raoult
2024-02-26 19:09:15 +01:00
-
24baf3524a
switch to -O3
Bruno Raoult
2024-02-23 05:47:23 +01:00
-
f9aec10459
add bswap32/bswap64
Bruno Raoult
2024-02-13 19:37:18 +01:00
-
0e9b25dd68
warn(): vprintf -> fprintf
Bruno Raoult
2024-02-07 22:13:10 +01:00
-
8cb08dacb3
fix bug() args
Bruno Raoult
2024-02-07 19:29:49 +01:00
-
e907c81b8b
lowercase bug() and warn() functions
Bruno Raoult
2024-02-07 19:03:50 +01:00
-
b637146095
br.h -> brlib.h
Bruno Raoult
2024-02-05 14:08:28 +01:00
-
635e4c8d9e
improve README, remove some Makefile compile output
Bruno Raoult
2024-02-05 07:51:05 +01:00
-
e55ac95301
fix (another) git URI
Bruno Raoult
2024-01-13 15:57:55 +01:00
-
2262cc7393
fix git https:// URI
Bruno Raoult
2024-01-13 14:28:45 +01:00
-
32fd923192
move cutest_bfe data to first set
Bruno Raoult
2024-01-13 10:59:24 +01:00
-
a8a82a3121
Makefile: fix bin generation
Bruno Raoult
2024-01-13 10:58:08 +01:00
-
5e88bad291
clearer install instructions
Bruno Raoult
2024-01-13 10:57:22 +01:00
-
f29821ee94
add generic-ilog2.h (for reference)
Bruno Raoult
2024-01-13 10:56:48 +01:00
-
142f2d44c6
change submodule URI to relative
Bruno Raoult
2024-01-12 18:02:57 +01:00
-
e49c35dde9
Add cutest submodule
Bruno Raoult
2024-01-12 13:55:09 +01:00
-
c2ad81b2b5
add CuTest / update README
Bruno Raoult
2024-01-11 11:37:56 +01:00
-
20e0c4d9fc
add COPYING, README, and Emacs' dir-locals file
Bruno Raoult
2024-01-07 14:16:30 +01:00
-
3c7222954e
re-arrange Makefile, and cleanup Emacs/ccls part
v0.3
Bruno Raoult
2024-01-06 18:24:17 +01:00
-
2c95124020
bitops: all macros (hmmm, mistake ?), more tests
Bruno Raoult
2024-01-06 18:23:29 +01:00
-
459f18a019
Fix loop in test_popcount
Bruno Raoult
2024-01-04 09:01:12 +01:00
-
0dcca10559
bits.h -> bitops.h, start bitops refactor: target all implem. visible
Bruno Raoult
2024-01-03 19:13:44 +01:00
-
b63a5cceda
Makefile: add /tests bin generation
Bruno Raoult
2024-01-03 19:11:20 +01:00
-
2bab5c9d2c
add env script, and (stupid) draft tests
Bruno Raoult
2024-01-03 19:09:17 +01:00
-
a41ca50404
debug: add func desc in debug.h
Bruno Raoult
2024-01-03 19:06:52 +01:00
-
7bba3c559b
*BREAKING changes*: func naming, types moved to br.h, etc...
v0.2
Bruno Raoult
2024-01-01 08:40:24 +01:00
-
8007299886
silent $(AR)
v0.1
Bruno Raoult
2023-12-30 12:31:59 +01:00
-
bb8509fc00
shared lib: use all objects.
Bruno Raoult
2023-12-30 11:47:34 +01:00
-
d654b4acde
add list_sort
Bruno Raoult
2023-12-29 17:22:28 +01:00
-
97d6570be7
.gitignore
Bruno Raoult
2023-12-24 18:51:19 +01:00
-
8f4f571450
update Makefile & mandatory emacs files
Bruno Raoult
2023-12-24 18:46:09 +01:00
-
f9318ce49b
brlib repo creation
Bruno Raoult
2023-12-24 18:17:38 +01:00
-
e794bdf9c4
cleanup
Bruno Raoult
2023-12-24 17:38:53 +01:00
-
f4fddd81d8
move debug.h & pool.h main() to test dir (unmodified, can't compile)
Bruno Raoult
2023-12-24 17:37:27 +01:00
-
2c36a87ecf
brlib Makefile
Bruno Raoult
2023-12-22 11:26:32 +01:00
-
f1eb0341fa
revert lost changes
Bruno Raoult
2023-12-22 11:24:13 +01:00
-
c55d23b23e
Merge branch 'sep-brlib' of git.raoult.com:bruno/Tools into sep-brlib
Bruno Raoult
2023-12-22 11:16:24 +01:00
-
-
a728306dd5
make brlib sources to new dir
Bruno Raoult
2023-12-22 10:44:42 +01:00
-
2d5a20c906
mkve brlib sources to new dir
Bruno Raoult
2023-12-22 10:44:42 +01:00
-
-
6d635163d8
debug.c: remove dependancies from bits.h
Bruno Raoult
2023-12-22 10:32:22 +01:00
-
0a83c5d93d
debug.c: remove dependancies from bits.h
Bruno Raoult
2023-12-22 10:32:22 +01:00
-
8f1818c9e8
bits.[ch]: remove logs in macros (moved to bits.c)
Bruno Raoult
2023-12-16 17:05:07 +01:00
-
0de2befedc
debug.[ch]: remove dependancies from bits.h
Bruno Raoult
2023-12-16 16:55:29 +01:00
-
4e0a59019c
Fix invalid fonction definition with unnamed param
Bruno Raoult
2023-06-22 15:17:56 +02:00
-
318a68c208
move typedefs alltogether
Bruno Raoult
2023-06-22 15:17:32 +02:00
-
f2fffc18ea
add struct-group.h
Bruno Raoult
2023-06-20 21:31:44 +02:00
-
128ea64816
updates from changes in AoC 2022
Bruno Raoult
2023-06-20 21:27:49 +02:00
-
7d98ab73a1
add pjwhash
Bruno Raoult
2023-06-20 21:27:00 +02:00
-
b803af5ba2
more fixes for 32 bits architecture
Bruno Raoult
2022-12-07 08:23:09 +01:00
-
7077a51dc4
typo
Bruno Raoult
2022-12-06 14:32:10 +01:00
-
22b608b2cd
pool.c * fix size_t printf format
Bruno Raoult
2022-12-06 14:22:38 +01:00
-
7349aefc97
bits.h: move popcount up, fix erroneous japanese '−' instead of '-' (minus)
Bruno Raoult
2022-12-06 14:21:11 +01:00
-
a8d9ff204a
cleanup
Bruno Raoult
2022-12-03 16:12:42 +01:00
-
91c84987c7
rename hash func
Bruno Raoult
2022-12-03 16:12:19 +01:00
-
46c9c2da13
add stringification macros
Bruno Raoult
2022-12-03 16:11:34 +01:00
-
4c8f0f3f72
add some reverse() macros
Bruno Raoult
2022-12-03 16:10:59 +01:00
-
a0e204d7ab
update (C) date
Bruno Raoult
2022-12-03 16:10:37 +01:00
-
37be1a7683
please valgrind
Bruno Raoult
2022-12-03 16:10:08 +01:00
-
063c95356b
add some macros: ilog2, is_power_of_2, bits_per, etc...
Bruno Raoult
2022-12-03 16:07:32 +01:00
-
72930105f1
rename hash func
Bruno Raoult
2022-12-03 16:06:30 +01:00
-
17cabaddb7
include (untested) hash
Bruno Raoult
2022-09-25 19:31:11 +02:00
-
bb5ddc1772
add hash, plist, etc (untested)
Bruno Raoult
2022-09-18 13:12:49 +02:00
-
6fd8e92e7c
c: minor comment changes
Bruno Raoult
2022-08-13 15:10:51 +02:00
-
415596b7f0
C tools: move includes to subdir, Makefile
Bruno Raoult
2022-06-06 16:45:07 +02:00
-
4c9b0742f5
rwonce.h: __error__ attribute fix
Bruno Raoult
2022-06-01 17:55:48 +02:00
-
c6b4633bf1
bits.h: add 32 bits macros
Bruno Raoult
2022-06-01 17:54:01 +02:00
-
2441200df4
debug.h: typos
Bruno Raoult
2022-06-01 17:46:17 +02:00
-
11a0081198
remove redundant _printf declaration
Bruno Raoult
2022-04-21 16:18:17 +02:00
-
6db9653377
rwonce.h: indent; bits.h: remove useless convenience signed types
Bruno Raoult
2022-03-18 18:46:10 +01:00
-
a92a4e04b4
add READ_ONCE() and WRITE_ONCE()
Bruno Raoult
2022-03-18 16:53:43 +01:00
-
21e27ba16e
bits.h: added convenience types
Bruno Raoult
2022-03-18 14:23:49 +01:00
-
1da1f8a633
add rwonce.h
Bruno Raoult
2022-03-18 13:43:34 +01:00
-
3d98a235c2
Change license to GPL 3.0 or later
Bruno Raoult
2022-03-08 12:29:55 +01:00
-
d7ce1c5102
add #error for wordsize != 64
Bruno Raoult
2022-02-07 18:20:32 +01:00
-
f3718ab9fb
bugfix bit_for_each64_2
Bruno Raoult
2022-01-29 15:48:42 +01:00
-
0e255539ed
debug.h: add __attribute__ to debug(), for printf() args style
Bruno Raoult
2022-01-16 21:22:10 +01:00
-
60923f49cd
pool_create: do not fail if structure is too small to handle list pointers
Bruno Raoult
2022-01-16 21:10:41 +01:00
-
38c6c978a9
list.h: updated from advent of code repo
Bruno Raoult
2022-01-16 21:02:16 +01:00
-
f63692e10e
add debug, bits, and pool
Bruno Raoult
2021-12-20 15:16:16 +01:00
-
963354421d
revert from C99 to kernel-style
Bruno Raoult
2021-09-05 21:43:14 +02:00