LeviLamina
Loading...
Searching...
No Matches
XXHash.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace Util {
6
7class XXHash {
8public:
9 // XXHash inner types declare
10 // clang-format off
11 struct State;
12 // clang-format on
13
14 // XXHash inner types define
15 struct State {
16 public:
17 // member variables
18 // NOLINTBEGIN
20 // NOLINTEND
21
22 public:
23 // prevent constructor by default
24 State& operator=(State const&);
25 State(State const&);
26 State();
27 };
28
29public:
30 // member variables
31 // NOLINTBEGIN
33 // NOLINTEND
34
35public:
36 // prevent constructor by default
37 XXHash& operator=(XXHash const&);
38 XXHash(XXHash const&);
39 XXHash();
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCNAPI void _updateImpl(void const* input, uint64 length);
45
46 MCNAPI uint64 digest();
47 // NOLINTEND
48
49public:
50 // static functions
51 // NOLINTBEGIN
52 MCNAPI static uint64 _hash64Impl(void const* input, uint64 len, uint64 seed);
53 // NOLINTEND
54};
55
56} // namespace Util
MCAPI void _updateImpl(void const *input, uint64 length)
static MCAPI uint64 _hash64Impl(void const *input, uint64 len, uint64 seed)
MCAPI uint64 digest()
Definition XXHash.h:15
Definition Alias.h:14