summaryrefslogtreecommitdiff
path: root/vendor/github.com/DataDog/zstd/zstd_fast.h
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-06-20 17:52:57 -0700
committerGitHub <noreply@github.com>2019-06-20 17:52:57 -0700
commit86826629f736d31b7d6cdb92019078246b0f5f81 (patch)
tree5c7ee06150871158b76867e74937ddb7fe7b2bab /vendor/github.com/DataDog/zstd/zstd_fast.h
parent39d6a8619585114fa297ce2fd682befb5f81aaf7 (diff)
parent7e4d75eb8b74c62e44c7b1be93dd338695814c92 (diff)
downloadpodman-86826629f736d31b7d6cdb92019078246b0f5f81.tar.gz
podman-86826629f736d31b7d6cdb92019078246b0f5f81.tar.bz2
podman-86826629f736d31b7d6cdb92019078246b0f5f81.zip
Merge pull request #3388 from baude/openstackcs
vendor containers/storage v1.12.11
Diffstat (limited to 'vendor/github.com/DataDog/zstd/zstd_fast.h')
-rw-r--r--vendor/github.com/DataDog/zstd/zstd_fast.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/vendor/github.com/DataDog/zstd/zstd_fast.h b/vendor/github.com/DataDog/zstd/zstd_fast.h
new file mode 100644
index 000000000..b74a88c57
--- /dev/null
+++ b/vendor/github.com/DataDog/zstd/zstd_fast.h
@@ -0,0 +1,37 @@
+/*
+ * Copyright (c) 2016-present, Yann Collet, Facebook, Inc.
+ * All rights reserved.
+ *
+ * This source code is licensed under both the BSD-style license (found in the
+ * LICENSE file in the root directory of this source tree) and the GPLv2 (found
+ * in the COPYING file in the root directory of this source tree).
+ * You may select, at your option, one of the above-listed licenses.
+ */
+
+#ifndef ZSTD_FAST_H
+#define ZSTD_FAST_H
+
+#if defined (__cplusplus)
+extern "C" {
+#endif
+
+#include "mem.h" /* U32 */
+#include "zstd_compress_internal.h"
+
+void ZSTD_fillHashTable(ZSTD_matchState_t* ms,
+ void const* end, ZSTD_dictTableLoadMethod_e dtlm);
+size_t ZSTD_compressBlock_fast(
+ ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
+ void const* src, size_t srcSize);
+size_t ZSTD_compressBlock_fast_dictMatchState(
+ ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
+ void const* src, size_t srcSize);
+size_t ZSTD_compressBlock_fast_extDict(
+ ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
+ void const* src, size_t srcSize);
+
+#if defined (__cplusplus)
+}
+#endif
+
+#endif /* ZSTD_FAST_H */