MCPcopy Create free account
hub / github.com/aras-p/ClangBuildAnalyzer / HashedString

Class HashedString

src/BuildEvents.cpp:22–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20#include <mutex>
21
22struct HashedString
23{
24 explicit HashedString(const char* s)
25 {
26 len = strlen(s);
27 hash = XXH64(s, len, 0);
28 str = s;
29 }
30 size_t hash;
31 size_t len;
32 const char* str;
33};
34namespace std
35{
36 template<> struct hash<HashedString>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected