"Fossies" - the Fresh Open Source Software Archive
Member "xxHash-0.8.0/xxh3.h" (27 Jul 2020, 2393 Bytes) of package /linux/misc/xxHash-0.8.0.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard
) with prefixed line numbers and code folding
Alternatively you can here view
the uninterpreted source code file.
For more information about "xxh3.h" see the Fossies "Dox" file reference
documentation and the latest Fossies "Diffs"
side-by-side code changes report: 0.7.4_vs_0.8.0
2 * xxHash - Extremely Fast Hash algorithm
3 * Development source file for `xxh3`
4 * Copyright (C) 2019-2020 Yann Collet
6 * BSD 2-Clause License (https://www.opensource.org/licenses/bsd-license.php)
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions are
10 * met:
12 * * Redistributions of source code must retain the above copyright
13 * notice, this list of conditions and the following disclaimer.
14 * * Redistributions in binary form must reproduce the above
15 * copyright notice, this list of conditions and the following disclaimer
16 * in the documentation and/or other materials provided with the
17 * distribution.
19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 * You can contact the author at:
32 * - xxHash homepage: https://www.xxhash.com
33 * - xxHash source repository: https://github.com/Cyan4973/xxHash
37 * Note: This file used to host the source code of XXH3_* variants.
38 * during the development period.
39 * The source code is now properly integrated within xxhash.h.
41 * xxh3.h is no longer useful,
42 * but it is still provided for compatibility with source code
43 * which used to include it directly.
45 * Programs are now highly discourage to include xxh3.h.
46 * Include `xxhash.h` instead, which is the officially supported interface.
48 * In the future, xxh3.h will start to generate warnings, then errors,
49 * then it will be removed from source package and from include directory.
52 /* Simulate the same impact as including the old xxh3.h source file */
54 #define XXH_INLINE_ALL
55 #include "xxhash.h"