MCPcopy Create free account
hub / github.com/Gecode/gecode / cmb_hash

Function cmb_hash

gecode/support/hash.hpp:43–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41
42 template<class T>
43 forceinline void
44 cmb_hash(std::size_t& seed, const T h) {
45 seed ^= static_cast<std::size_t>(h)
46 + 0x9e3779b9 + (seed << 6) + (seed >> 2);
47 }
48
49}
50

Callers 3

operator()Method · 0.85
finalizeMethod · 0.85
fillMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected