5 #ifndef GEOPM_HASH_H_INCLUDE
6 #define GEOPM_HASH_H_INCLUDE
76 hash(
const std::string &key);
geopm_region_hash_epoch_e
Enum for internally defined region hashes.
Definition: geopm_hash.h:39
@ GEOPM_REGION_HASH_EPOCH
Definition: geopm_hash.h:40
@ GEOPM_REGION_HASH_APP
Definition: geopm_hash.h:41
uint64_t GEOPM_PUBLIC geopm_crc32_str(const char *key)
This function is used to produce unique region IDs for named regions.
Definition: geopm_hash.cpp:32
geopm_region_hash_e
Definition: geopm_hash.h:30
@ GEOPM_REGION_HASH_INVALID
Definition: geopm_hash.h:31
@ GEOPM_U64_SENTINEL_REGION_HASH
Definition: geopm_hash.h:33
@ GEOPM_REGION_HASH_UNMARKED
Definition: geopm_hash.h:32
uint64_t GEOPM_PUBLIC geopm_crc32_u64(uint64_t begin, uint64_t key)
DEPRECATED Implements a hashing algorithm.
Definition: geopm_hash.cpp:38
#define GEOPM_PUBLIC
Definition: geopm_public.h:10
uint64_t hash(const std::string &key)
Definition: geopm_hash.cpp:26