Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
hash.h File Reference
#include <stddef.h>
#include <stdint.h>
+ Include dependency graph for hash.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DT_SIPROUND
 

Functions

static uint64_t dt_hash (uint64_t hash, const char *str, size_t size)
 

Macro Definition Documentation

◆ DT_SIPROUND

#define DT_SIPROUND
Value:
do \
{ \
v0 += v1; v1 = (v1 << 13) | (v1 >> 51); v1 ^= v0; v0 = (v0 << 32) | (v0 >> 32); \
v2 += v3; v3 = (v3 << 16) | (v3 >> 48); v3 ^= v2; \
v0 += v3; v3 = (v3 << 21) | (v3 >> 43); v3 ^= v0; \
v2 += v1; v1 = (v1 << 17) | (v1 >> 47); v1 ^= v2; v2 = (v2 << 32) | (v2 >> 32); \
} while(0)

Definition at line 44 of file hash.h.

Function Documentation

◆ dt_hash()