56// 2654435761 is the golden ratio of 2^32. The right shift of 3
57// bits assumes that all objects are aligned on a 8 byte boundary.
58return (key >> 3) * 2654435761U;
59 }
61 }
62
63#endif // SPOT_MISC_HASHFUNC_HH
Please direct any question, comment, or bug report to the Spot mailing list at spot@lrde.epita.fr.
Generated on Thu May 15 2014 11:04:11 for spot by 1.8.4