Lines Matching refs:hash
89 * The check costs one initial branch per hash;
261 * 32-bit hash functions
561 * These functions allow transformation of hash result into and from its canonical format.
562 * This way, hash values can be written into a file or buffer, remaining comparable across different systems.
565 XXH_PUBLIC_API void XXH32_canonicalFromHash(XXH32_canonical_t* dst, XXH32_hash_t hash)
568 if (XXH_CPU_LITTLE_ENDIAN) hash = XXH_swap32(hash);
569 memcpy(dst, &hash, sizeof(*dst));
581 * 64-bit hash functions
1018 XXH_PUBLIC_API void XXH64_canonicalFromHash(XXH64_canonical_t* dst, XXH64_hash_t hash)
1021 if (XXH_CPU_LITTLE_ENDIAN) hash = XXH_swap64(hash);
1022 memcpy(dst, &hash, sizeof(*dst));