MimIR 0.1
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
hash.h File Reference
#include <cstddef>
#include <cstdint>
#include <type_traits>
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.

Classes

struct  mim::FNV1< size_t >
 
struct  mim::FNV1< 4 >
 
struct  mim::FNV1< 8 >
 

Namespaces

namespace  mim
 

Functions

Simple Hash

See Wikipedia.

uint32_t mim::murmur3 (uint32_t h)
 
uint64_t mim::splitmix64 (uint64_t h)
 
size_t mim::hash (size_t h)
 
FNV-1 Hash

See Wikipedia.

template<class T >
size_t mim::hash_combine (size_t seed, T v)
 
size_t mim::hash_begin ()
 
template<class T >
size_t mim::hash_begin (T val)
 

Class Documentation

◆ mim::FNV1

struct mim::FNV1
template<size_t>
struct mim::FNV1< size_t >

Magic numbers for FNV-1 hash.

Definition at line 46 of file hash.h.