]>
Commit | Line | Data |
---|---|---|
0ff57406 | 1 | /* |
79feaa60 KZ |
2 | * SPDX-License-Identifier: BSD-2-Clause |
3 | * | |
0ff57406 TW |
4 | * xxHash - Extremely Fast Hash algorithm |
5 | * Copyright (C) 2012-2020 Yann Collet | |
6 | * | |
7 | * BSD 2-Clause License (https://www.opensource.org/licenses/bsd-license.php) | |
8 | * | |
9 | * Redistribution and use in source and binary forms, with or without | |
10 | * modification, are permitted provided that the following conditions are | |
11 | * met: | |
12 | * | |
13 | * * Redistributions of source code must retain the above copyright | |
14 | * notice, this list of conditions and the following disclaimer. | |
15 | * * Redistributions in binary form must reproduce the above | |
16 | * copyright notice, this list of conditions and the following disclaimer | |
17 | * in the documentation and/or other materials provided with the | |
18 | * distribution. | |
19 | * | |
20 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
21 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
22 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
23 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
24 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
25 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
26 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
27 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
28 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
29 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
30 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
31 | * | |
32 | * You can contact the author at: | |
33 | * - xxHash homepage: https://www.xxhash.com | |
34 | * - xxHash source repository: https://github.com/Cyan4973/xxHash | |
35 | */ | |
36 | ||
37 | ||
38 | /* | |
39 | * xxhash.c instantiates functions defined in xxhash.h | |
40 | */ | |
41 | ||
42 | #define XXH_STATIC_LINKING_ONLY /* access advanced declarations */ | |
43 | #define XXH_IMPLEMENTATION /* access definitions */ | |
44 | ||
45 | #include "xxhash.h" |