hash.cpp
#include "headers.h"
ULONG ComputeHash(const WCHAR * psz)
{
AssertReadString(psz);
ULONG hash = 0;
while (*psz != '
{
hash = 17 * hash + *psz;
++psz;
}
return hash;
}
Questo browser non è più supportato.
Esegui l'aggiornamento a Microsoft Edge per sfruttare i vantaggi di funzionalità più recenti, aggiornamenti della sicurezza e supporto tecnico.
#include "headers.h"
ULONG ComputeHash(const WCHAR * psz)
{
AssertReadString(psz);
ULONG hash = 0;
while (*psz != '
{
hash = 17 * hash + *psz;
++psz;
}
return hash;
}