Home | History | Annotate | Download | only in debase

Lines Matching refs:hash

39  * \brief Compute hash from string.
40 * \param str String to compute hash value for.
41 * \return Computed hash value.
45 /* \note [pyry] This hash is used in DT_GNU_HASH and is proven
48 deUint32 hash = 5381;
53 hash = (hash << 5) + hash + c;
55 return hash;
60 deUint32 hash = 5381;
65 hash = (hash << 5) + hash + c;
67 return hash;
72 /* \todo [2010-05-10 pyry] Better generic hash function? */
74 deUint32 hash = 5381;
78 hash = (hash << 5) + hash + *input++;
80 return hash;