Merge remote-tracking branch 'refs/remotes/origin/repcodes' into dev

This commit is contained in:
inikep
2016-04-05 17:07:36 +02:00
4 changed files with 211 additions and 139 deletions
+5 -2
View File
@@ -65,6 +65,10 @@
#define ZSTD_OPT_NUM (1<<12)
#define ZSTD_DICT_MAGIC 0xEC30A435
#define ZSTD_REP_NUM 3
#define ZSTD_REP_INIT ZSTD_REP_NUM
#define ZSTD_REP_MOVE (ZSTD_REP_NUM-1)
#define KB *(1 <<10)
#define MB *(1 <<20)
#define GB *(1U<<30)
@@ -188,8 +192,7 @@ typedef struct {
U32 off;
U32 mlen;
U32 litlen;
U32 rep;
U32 rep2;
U32 rep[ZSTD_REP_INIT];
} ZSTD_optimal_t;
#if ZSTD_OPT_DEBUG == 3