Download src/php/php-src/ext/hash/murmur/PMurHash.h from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 891 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/hash/murmur/PMurHash.h
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/hash/murmur/PMurHash.h
-
curl -L -o PMurHash.h https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/hash/murmur/PMurHash.h
891 Bytes
| /*----------------------------------------------------------------------------- | |
| * MurmurHash3 was written by Austin Appleby, and is placed in the public | |
| * domain. | |
| * | |
| * This implementation was written by Shane Day, and is also public domain. | |
| * | |
| * This implementation was modified to match PMurHash128.cpp. | |
| */ | |
| /* ------------------------------------------------------------------------- */ | |
| // Microsoft Visual Studio | |
| typedef unsigned char uint8_t; | |
| typedef unsigned int uint32_t; | |
| // Other compilers | |
| /* ------------------------------------------------------------------------- */ | |
| /* Prototypes */ | |
| void PMurHash32_Process(uint32_t *ph1, uint32_t *pcarry, const void *key, int len); | |
| uint32_t PMurHash32_Result(uint32_t h1, uint32_t carry, uint32_t total_length); | |