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 Sat Dec 6 2014 12:28:43 for spot by 1.8.4