mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
In main, resources were freed on the success path but not in the error path. This change ensures all allocated resources are released before returning. |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| main.c | ||
| Makefile | ||
| README.md | ||
| sequence_producer.c | ||
| sequence_producer.h | ||
externalSequenceProducer
externalSequenceProducer is a test tool for the Block-Level Sequence Producer API.
It demonstrates how to use the API to perform a simple round-trip test.
A sample sequence producer is provided in sequence_producer.c, but the user can swap this out with a different one if desired. The sample sequence producer implements LZ parsing with a 1KB hashtable. Dictionary-based parsing is not currently supported.
Command line :
externalSequenceProducer filename