Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cinience/RedisStudio
/ HashKey
Function
HashKey
DuiLib/Utils/Utils.cpp:802–808 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
800
//
801
802
static UINT HashKey(LPCTSTR Key)
803
{
804
UINT i = 0;
805
SIZE_T len = _tcslen(Key);
806
while( len-- > 0 ) i = (i << 5) + i + Key[len];
807
return i;
808
}
809
810
static UINT HashKey(const CDuiString& Key)
811
{
Callers
4
Find
Method · 0.85
Insert
Method · 0.85
Set
Method · 0.85
Remove
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected