MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / hash

Method hash

modules/engine/runtime/include/SkrRT/ecs/set.hpp:13–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11 {
12 template<class S>
13 static size_t hash(const S& s, size_t basis = _FNV_offset_basis)
14 {
15 return hash_append(basis, reinterpret_cast<const unsigned char*>(s.data), s.length * sizeof(T));
16 }
17
18 template<class S>
19 static S merge(const S& lhs, const S& rhs, void* d)

Callers 2

call_hashMethod · 0.45
operator()Method · 0.45

Calls 1

hash_appendFunction · 0.85

Tested by

no test coverage detected