mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 10:32:29 +00:00
chore(hash): clean up function signatures and formatting
This commit is contained in:
parent
1d561d4bdf
commit
8e6e2d2240
1 changed files with 7 additions and 8 deletions
|
|
@ -9,21 +9,20 @@ template <class T, class TKey>
|
||||||
class TSHashTable {
|
class TSHashTable {
|
||||||
public:
|
public:
|
||||||
// Member variables
|
// Member variables
|
||||||
STORM_EXPLICIT_LIST(T, m_linktofull)
|
STORM_EXPLICIT_LIST(T, m_linktofull) m_fulllist;
|
||||||
m_fulllist;
|
|
||||||
uint32_t m_fullnessIndicator = 0;
|
uint32_t m_fullnessIndicator = 0;
|
||||||
TSGrowableArray<STORM_EXPLICIT_LIST(T, m_linktoslot)> m_slotlistarray;
|
TSGrowableArray<STORM_EXPLICIT_LIST(T, m_linktoslot)> m_slotlistarray;
|
||||||
uint32_t m_slotmask = -1;
|
uint32_t m_slotmask = -1;
|
||||||
|
|
||||||
// Member functions
|
// Member functions
|
||||||
~TSHashTable();
|
~TSHashTable();
|
||||||
void Clear(void);
|
void Clear();
|
||||||
uint32_t ComputeSlot(uint32_t);
|
uint32_t ComputeSlot(uint32_t);
|
||||||
void Destroy(void);
|
void Destroy();
|
||||||
int32_t GetLinkOffset(void);
|
int32_t GetLinkOffset();
|
||||||
T* Head(void);
|
T* Head();
|
||||||
void Initialize(void);
|
void Initialize();
|
||||||
bool Initialized(void);
|
bool Initialized();
|
||||||
void Insert(T*, uint32_t, const TKey&);
|
void Insert(T*, uint32_t, const TKey&);
|
||||||
void InternalClear(int32_t warn);
|
void InternalClear(int32_t warn);
|
||||||
void InternalDelete(T* ptr);
|
void InternalDelete(T* ptr);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue