MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / combine

Function combine

Source/Utils/json.hpp:4595–4599  ·  view source on GitHub ↗

boost::hash_combine

Source from the content-addressed store, hash-verified

4593
4594 // boost::hash_combine
4595 inline std::size_t combine(std::size_t seed, std::size_t h) noexcept
4596 {
4597 seed ^= h + 0x9e3779b9 + (seed << 6U) + (seed >> 2U);
4598 return seed;
4599 }
4600
4601 /*!
4602 @brief hash a JSON value

Callers 1

hashFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected