irep hash functions
More...
#include <climits>
#include <cstddef>
#include <stdint.h>
Go to the source code of this file.
irep hash functions
Definition in file irep_hash.h.
◆ BIG_CONSTANT
#define BIG_CONSTANT |
( |
| x | ) |
|
◆ FORCE_INLINE
◆ hash_combine
#define hash_combine |
( |
| h1, |
|
|
| h2 ) |
Value:
std::size_t basic_hash_combine(std::size_t h1, std::size_t h2)
Definition at line 121 of file irep_hash.h.
◆ hash_finalize
#define hash_finalize |
( |
| h1, |
|
|
| len ) |
Value:
std::size_t basic_hash_finalize(std::size_t h1, std::size_t len)
Definition at line 123 of file irep_hash.h.
◆ IREP_HASH_BASIC
◆ __attribute__()
static __attribute__ |
( |
(always_inline) | | ) |
|
|
inlinestatic |
◆ basic_hash_combine()
template<int >
std::size_t basic_hash_combine |
( |
std::size_t | h1, |
|
|
std::size_t | h2 ) |
◆ basic_hash_combine< 32 >()
◆ basic_hash_combine< 64 >()
◆ basic_hash_finalize()
std::size_t basic_hash_finalize |
( |
std::size_t | h1, |
|
|
std::size_t | len ) |
|
inline |
Initial value:{
return (x <<
r) | (x >> (32-
r))
Definition at line 59 of file irep_hash.h.