Extremely fast non-cryptographic hash algorithm
This report summarizes scanner evidence for Cyan4973/xxHash, a C project with 11,315 GitHub stars. SynthScan examined 21,059 lines of code across 64 source files, recording 81 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 5.2 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 69 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 12 finding(s).
Which changes need focused human review? 81 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 81 distinct pattern matches across 2 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | xxhash.h | 321 | */ | COMMENT |
| LOW | xxhash.h | 361 | * They will then be redefined for XXH_INLINE_ALL | COMMENT |
| LOW | xxhash.h | 381 | # undef XXH64_copyState | COMMENT |
| LOW | xxhash.h | 401 | # undef XXH3_128bits_withSeed | COMMENT |
| LOW | xxhash.h | 421 | * Alternative solution: do not redeclare them. | COMMENT |
| LOW | xxhash.h | 441 | #endif /* XXH_INLINE_ALL || XXH_PRIVATE_API */ | COMMENT |
| LOW | xxhash.h | 461 | COMMENT | |
| LOW | xxhash.h | 481 | # define XXH64_copyState XXH_IPREF(XXH64_copyState) | COMMENT |
| LOW | xxhash.h | 501 | # define XXH128 XXH_IPREF(XXH128) | COMMENT |
| LOW | xxhash.h | 521 | ***************************************/ | COMMENT |
| LOW | xxhash.h | 861 | || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */) ) | COMMENT |
| LOW | xxhash.h | 1701 | /* In C++ alignas() is a keyword */ | COMMENT |
| LOW | xxhash.h | 2301 | # endif | COMMENT |
| LOW | xxhash.h | 2321 | # endif | COMMENT |
| LOW | xxhash.h | 2421 | COMMENT | |
| LOW | xxhash.h | 2441 | #elif defined(__GNUC__) || defined(__clang__) | COMMENT |
| LOW | xxhash.h | 2501 | # define XXH_DEBUGLEVEL 0 | COMMENT |
| LOW | xxhash.h | 2561 | #if !defined (__VMS) \ | COMMENT |
| LOW | xxhash.h | 2801 | * @return The rotated result. | COMMENT |
| LOW | xxhash.h | 2921 | /* #define instead of static const, to be used as initializers */ | COMMENT |
| LOW | xxhash.h | 3481 | #define XXH_PRIME64_1 0x9E3779B185EBCA87ULL /*!< 0b1001111000110111011110011011000110000101111010111100101010000111 */ | COMMENT |
| LOW | xxhash.h | 3861 | * Not defined as XXH_HAS_INCLUDE(x) (function-like) because | COMMENT |
| LOW | xxhash.h | 3881 | # elif defined(__AVX2__) | COMMENT |
| LOW | xxhash.h | 4001 | #ifndef XXH_DOXYGEN | COMMENT |
| LOW | xxhash.h | 4021 | # define XXH_VECTOR XXH_SSE2 | COMMENT |
| LOW | xxhash.h | 4041 | # else | COMMENT |
| LOW | xxhash.h | 4061 | # elif XXH_VECTOR == XXH_NEON /* neon */ | COMMENT |
| LOW | xxhash.h | 4081 | #elif XXH_VECTOR == XXH_SVE | COMMENT |
| LOW | xxhash.h | 4261 | * We use pragma push_macro/pop_macro to keep the namespace clean. */ | COMMENT |
| LOW | xxhash.h | 4381 | # define XXH_PREFETCH(ptr) (void)(ptr) /* disabled */ | COMMENT |
| LOW | xxhash.h | 4941 | #ifdef XXH_OLD_NAMES | COMMENT |
| LOW | xxhash.h | 5881 | COMMENT | |
| LOW | xxhash.h | 6201 | #define XXH3_accumulate XXH3_accumulate_avx512 | COMMENT |
| LOW | xxhash.h | 6221 | #define XXH3_accumulate_512 XXH3_accumulate_512_neon | COMMENT |
| LOW | xxhash.h | 6241 | #define XXH3_accumulate XXH3_accumulate_lasx | COMMENT |
| LOW | xxh_x86dispatch.h | 41 | * @def XXH_DISPATCH_API | COMMENT |
| LOW | xxh_x86dispatch.h | 81 | XXH_DISPATCH_API XXH_errorcode XXH3_128bits_update_dispatch(XXH_NOESCAPE XXH3_state_t* state, XXH_NOESCAPE const void* i | COMMENT |
| LOW | xxh_x86dispatch.h | 101 | # undef XXH128 | COMMENT |
| LOW | appveyor.yml | 141 | COMMENT | |
| LOW | xxh_x86dispatch.c | 161 | # include <immintrin.h> /* AVX2, AVX512F */ | COMMENT |
| LOW | xxh_x86dispatch.c | 181 | # define XXH_TARGET_AVX2 | COMMENT |
| LOW | xxh_x86dispatch.c | 201 | #define XXH_INLINE_ALL | COMMENT |
| LOW | tests/sanity_test_vectors_generator.c | 1 | // xxHash/tests/sanity_test_vectors_generator.c | COMMENT |
| LOW | tests/ppc_define.c | 41 | #define VECTOR_VALUE 374464784 | COMMENT |
| LOW | tests/inlineDispatch.c | 41 | #define SECRET_SIZE 192 /* >= XXH3_SECRET_SIZE_MIN */ | COMMENT |
| LOW | tests/sanity_test.c | 21 | */ | COMMENT |
| LOW | tests/bench/main.c | 101 | int const result = isCommand(*stringPtr, longCommand); | COMMENT |
| LOW | tests/bench/benchfn.c | 21 | #include "timefn.h" /* UTIL_time_t, UTIL_getTime */ | COMMENT |
| LOW | tests/collisions/threading.h | 41 | # define WIN32_LEAN_AND_MEAN | COMMENT |
| LOW | tests/collisions/threading.h | 81 | # include <pthread.h> | COMMENT |
| LOW | tests/collisions/threading.h | 101 | /* No multithreading support */ | COMMENT |
| LOW | cli/xsum_bench.c | 21 | * You can contact the author at: | COMMENT |
| LOW | cli/xsum_arch.h | 41 | /* Show compiler versions in WELCOME_MESSAGE. XSUM_CC_VERSION_FMT will return the printf specifiers, | COMMENT |
| LOW | cli/xsum_arch.h | 61 | * MSVC | COMMENT |
| LOW | cli/xsum_arch.h | 81 | /* makes the next part easier */ | COMMENT |
| LOW | cli/xsum_arch.h | 101 | || defined(__SSE2__) || (defined(_M_IX86_FP) && _M_IX86_FP == 2) | COMMENT |
| LOW | cli/xsum_arch.h | 121 | # define XSUM_ARCH_THUMB " Thumb-2" | COMMENT |
| LOW | cli/xsum_arch.h | 141 | # define XSUM_ARCH "ppc64 + POWER9 vector" | COMMENT |
| LOW | cli/xsum_arch.h | 161 | # define XSUM_ARCH "wasm/asmjs + simd128" | COMMENT |
| LOW | cli/xsum_sanity_check.c | 21 | * You can contact the author at: | COMMENT |
| 9 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | appveyor.yml | 1 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | appveyor.yml | 3 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | appveyor.yml | 9 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | appveyor.yml | 11 | # ============================================================================== | COMMENT |
| MEDIUM | appveyor.yml | 35 | # ============================================================================== | COMMENT |
| MEDIUM | appveyor.yml | 37 | # ============================================================================== | COMMENT |
| MEDIUM | appveyor.yml | 91 | # ============================================================================== | COMMENT |
| MEDIUM | appveyor.yml | 93 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | appveyor.yml | 136 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | appveyor.yml | 138 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | appveyor.yml | 142 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | appveyor.yml | 144 | # ============================================================================== | COMMENT |