MCPcopy Create free account
hub / github.com/SpartanJ/eepp / HashCombine

Function HashCombine

src/eepp/ui/css/stylesheet.cpp:23–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23template <class T> inline void HashCombine( std::size_t& seed, const T& v ) {
24 std::hash<T> hasher;
25 seed ^= hasher( v ) + 0x9e3779b9 + ( seed << 6 ) + ( seed >> 2 );
26}
27
28size_t StyleSheet::nodeHash( const std::string& tag, const std::string& id ) {
29 size_t seed = 0;

Callers 2

nodeHashMethod · 0.85
getElementStylesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected