WARPXM v1.10.0
Loading...
Searching...
No Matches
hasher.h
Go to the documentation of this file.
1#ifndef WXM_HASHER_H
2#define WXM_HASHER_H
3
4#include <stdint.h>
5#include <cstddef>
6#include <string>
7
8namespace wxm
9{
17uint64_t sdbm(unsigned char const* data, size_t len, uint64_t prev = 0);
18
19uint64_t sdbm(const std::string& data, uint64_t prev = 0);
20} // namespace wxm
21
22#endif
Base namespace for everything not included in the global namespace.
Definition: field_source.h:8
uint64_t sdbm(unsigned char const *data, size_t len, uint64_t prev=0)
sdbm hash algorihm.