For details, see issue #695.
If filename contains special character (\n, 0x0a, LF),
- Put '\' (0x5c) at the beginning of the line.
- Escape special character by '\'.
for variant redirectors (`xxh32sum`, `xxh64sum` and `xxh128sum`).
fix#647, reported by @jpalus.
Also : slightly updated man page text, for clarity and accuracy.
as long as it's >= XX3_SECRET_SIZE_MIN .
Note that results produced by this version
are not comparable to results produced by earlier version.
XXH3_generateSecret() is still considered experimental,
aka, its result is not yet guaranteed to remain stable across versions.
All variants are now directly compatible with input_ptr==NULL,
with no extra check nor indirection,
though it now *requires* that, in this case, len == 0.
and its companion XXH3_generateSecret_fromSeed().
The new variant uses @seed for "small" keys,
and @secret for "large" keys.
When combined with the new generator,
it provides exactly the same results as _withSeed(),
with the benefit of pre-caculated @secret for "large keys",
resulting in a speed boost for "not too large" keys (<1 KB).
`xxhash.h` expected into `../` directory.
This method does not depend on setting `-I` include directory.
However, it relies on source code preserving its original arborescence.
Refactored xsum_sanity_check.c to use a table instead of direct
function calls. This is cleaner and has smaller code size.
Additionally, did some cleanup to reduce repetition a bit. There is
still a lot of DRY that could be applied to this file.
It now exists in xsum_sanity_check.c
Also add `XSUM_NO_TESTS` option, which instead prints "This version of xxhsum
is not verified." to stderr whenever XSUM_sanityCheck() is called.