MCPcopy Create free account
hub / github.com/ImageEngine/cortex / hash

Method hash

test/IECore/ComputationCacheTest.cpp:58–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 typedef ComputationCache< ComputationParams > Cache;
57
58 static MurmurHash hash( const ComputationParams &params )
59 {
60 int id = params;
61 MurmurHash h;
62 h.append(id);
63 return h;
64 }
65
66 static IntDataPtr get( const ComputationParams &params )
67 {

Callers 15

testHashMethod · 0.45
assertHashUniqueMethod · 0.45
testHashRepeatabilityMethod · 0.45
collectHashesMethod · 0.45
collectHashesWalkMethod · 0.45
testMethod · 0.45
testHashMethod · 0.45
testSetCornersMethod · 0.45
testSetCreasesMethod · 0.45
testSubdivOptionsMethod · 0.45
collectHashesMethod · 0.45
testHashesMethod · 0.45

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected