Path: blob/a-new-beginning/SharedDependencies/Sources/xxhash/include/xxh3.h
2 views
/*1* xxHash - Extremely Fast Hash algorithm2* Development source file for `xxh3`3* Copyright (C) 2019-2021 Yann Collet4*5* BSD 2-Clause License (https://www.opensource.org/licenses/bsd-license.php)6*7* Redistribution and use in source and binary forms, with or without8* modification, are permitted provided that the following conditions are9* met:10*11* * Redistributions of source code must retain the above copyright12* notice, this list of conditions and the following disclaimer.13* * Redistributions in binary form must reproduce the above14* copyright notice, this list of conditions and the following disclaimer15* in the documentation and/or other materials provided with the16* distribution.17*18* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS19* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT20* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR21* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT22* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,23* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT24* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,25* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY26* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT27* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE28* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.29*30* You can contact the author at:31* - xxHash homepage: https://www.xxhash.com32* - xxHash source repository: https://github.com/Cyan4973/xxHash33*/3435/*36* Note: This file used to host the source code of XXH3_* variants.37* during the development period.38* The source code is now properly integrated within xxhash.h.39*40* xxh3.h is no longer useful,41* but it is still provided for compatibility with source code42* which used to include it directly.43*44* Programs are now highly discouraged to include xxh3.h.45* Include `xxhash.h` instead, which is the officially supported interface.46*47* In the future, xxh3.h will start to generate warnings, then errors,48* then it will be removed from source package and from include directory.49*/5051/* Simulate the same impact as including the old xxh3.h source file */5253#define XXH_INLINE_ALL54#include "xxhash.h"555657