MCPcopy 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

FindMethod · 0.85
InsertMethod · 0.85
SetMethod · 0.85
RemoveMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected