MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / CacheIDHash

Function CacheIDHash

src/OpenColorIO/HashUtils.cpp:20–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18{
19
20std::string CacheIDHash(const char * array, std::size_t size)
21{
22 XXH128_hash_t hash = XXH3_128bits(array, size);
23
24 std::stringstream oss;
25 oss << std::hex << std::setfill('0');
26 oss << std::setw(16) << hash.low64;
27 oss << std::setw(16) << hash.high64;
28 return oss.str();
29}
30
31} // namespace OCIO_NAMESPACE

Callers 9

extractGpuShaderInfoMethod · 0.85
getCacheIDMethod · 0.85
getCacheIDMethod · 0.85
getCacheIDMethod · 0.85
createShaderTextMethod · 0.85
getCacheIDMethod · 0.85
getCacheIDMethod · 0.85
getCacheIDMethod · 0.85
writeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected