mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-12-06 04:56:45 +08:00
Complete C implementation of the indexing pipeline (src/), parallel worker pool, graph buffer with merge support, SQLite writer, and 1893-test suite. Linter setup: zero warnings from clang-tidy (all checks enabled, no NOLINT suppressions), cppcheck, and clang-format. All issues fixed at source — proper headers for external linkage, GROW_ARRAY macro restructured to eliminate type parameter, null-deref paths guarded, named intermediates for suspicious-argument checks.
14 lines
359 B
C
14 lines
359 B
C
#ifndef CBM_LZ4_STORE_H
|
|
#define CBM_LZ4_STORE_H
|
|
|
|
// LZ4 HC compression (level 9).
|
|
int cbm_lz4_compress_hc(const char *src, int srcLen, char *dst, int dstCap);
|
|
|
|
// LZ4 decompression.
|
|
int cbm_lz4_decompress(const char *src, int srcLen, char *dst, int originalLen);
|
|
|
|
// Maximum compressed size bound.
|
|
int cbm_lz4_bound(int inputSize);
|
|
|
|
#endif // CBM_LZ4_STORE_H
|