hash.cpp
#include "headers.h"
ULONG ComputeHash(const WCHAR * psz)
{
AssertReadString(psz);
ULONG hash = 0;
while (*psz != '
{
hash = 17 * hash + *psz;
++psz;
}
return hash;
}
Dieser Browser wird nicht mehr unterstützt.
Führen Sie ein Upgrade auf Microsoft Edge durch, um die neuesten Features, Sicherheitsupdates und den technischen Support zu nutzen.
#include "headers.h"
ULONG ComputeHash(const WCHAR * psz)
{
AssertReadString(psz);
ULONG hash = 0;
while (*psz != '
{
hash = 17 * hash + *psz;
++psz;
}
return hash;
}