Path: blob/main/sys/contrib/zstd/lib/common/xxhash.c
48378 views
/*1* xxHash - Fast Hash algorithm2* Copyright (c) Yann Collet, Facebook, Inc.3*4* You can contact the author at :5* - xxHash homepage: http://www.xxhash.com6* - xxHash source repository : https://github.com/Cyan4973/xxHash7*8* This source code is licensed under both the BSD-style license (found in the9* LICENSE file in the root directory of this source tree) and the GPLv2 (found10* in the COPYING file in the root directory of this source tree).11* You may select, at your option, one of the above-listed licenses.12*/13141516/*17* xxhash.c instantiates functions defined in xxhash.h18*/1920#define XXH_STATIC_LINKING_ONLY /* access advanced declarations */21#define XXH_IMPLEMENTATION /* access definitions */2223#include "xxhash.h"242526