Electroneum
Functions
epee::fnv Namespace Reference
Functions
uint64_t
FNV1a
(const char *ptr, size_t sz)
Function Documentation
◆
FNV1a()
uint64_t
epee::fnv::FNV1a
(
const char *
ptr
,
size_t
sz
)
inline
Definition at line
36
of file
fnv1.h
.
37
{
38
uint64_t
h = 0xcbf29ce484222325;
39
for
(
size_t
i = 0; i < sz; ++i)
40
h = (h ^ *(
const
uint8_t
*)ptr++) * 0x100000001b3;
41
return
h;
42
}
uint8_t
unsigned char uint8_t
Definition:
stdint.h:124
uint64_t
unsigned __int64 uint64_t
Definition:
stdint.h:136
Here is the caller graph for this function:
epee
fnv
Generated on Sun Mar 10 2024 12:00:00 for Electroneum by
1.8.14