amir 0294498538 Add support for multiple inflight files and one shot hash small files
The IO Ring now supports bashing multiple submissions and can handle
multiple files at the same time.

Hashing small files using XXH3_128bits() instead of the streaming
pipeline(XXH3_128bits_reset(), XXH3_128bits_update(),
XXH3_128bits_digest()), this reduses the overhead of creating a state
and digest, coupled with the IO Ring it improves the hashing of small
files whose size is inferior to the size of IO Ring buffers
2026-04-02 14:31:58 +01:00
2026-03-09 13:21:45 +01:00
2026-03-09 13:21:45 +01:00
2026-03-09 13:21:45 +01:00
2026-03-31 00:26:03 +01:00
2026-03-18 23:38:54 +01:00
2026-02-23 23:21:13 +00:00
2026-03-31 00:26:03 +01:00
2026-02-28 10:54:16 +01:00
2026-02-28 19:44:43 +01:00

filehasher

Collects some metadata and hashes files.

Building:

Windows:

Release:

clang-cl /O3 file_hasher.c xxh_x86dispatch.c

Note: MinGW does not provide IO Ring headers yet, to fix that include ioringapi.c, this will dynamically load all the functions and define all the symbols necessary to replace the official header. clang -O3 file_hasher.c xxh_x86dispatch.c -o file_hasher
gcc -O3 file_hasher.c xxh_x86dispatch.c -o file_hasher

Debug:

clang-cl /Zi /Od file_hasher.c xxh_x86dispatch.c clang -g -O0 file_hasher.c xxh_x86dispatch.c -o file_hasher
gcc -g -O0 file_hasher.c xxh_x86dispatch.c -o file_hasher

Linux:

Release:

clang -O3 -pthread file_hasher.c xxh_x86dispatch.c -o file_hasher
gcc -O3 -pthread file_hasher.c xxh_x86dispatch.c -o file_hasher

Debug:

clang -g -O0 -pthread file_hasher.c xxh_x86dispatch.c -o file_hasher
gcc -g -O0 -pthread file_hasher.c xxh_x86dispatch.c -o file_hasher

Description
Collects some metadata and hashes files.
Readme GPL-2.0 2 MiB
Languages
C 100%