Lines Matching defs:hash
35 * \brief Compute hash from string.
36 * \param str String to compute hash value for.
37 * \return Computed hash value.
41 /* \note [pyry] This hash is used in DT_GNU_HASH and is proven
44 deUint32 hash = 5381;
49 hash = (hash << 5) + hash + c;
51 return hash;
56 deUint32 hash = 5381;
61 hash = (hash << 5) + hash + c;
63 return hash;
68 /* \todo [2010-05-10 pyry] Better generic hash function? */
70 deUint32 hash = 5381;
74 hash = (hash << 5) + hash + *input++;
76 return hash;