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

Method hash

src/IECoreImage/ImagePrimitive.cpp:243–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241}
242
243void ImagePrimitive::hash( MurmurHash &h ) const
244{
245 BlindDataHolder::hash( h );
246
247 for( const auto &channel : channels )
248 {
249 h.append( channel.first );
250 channel.second->hash( h );
251 }
252
253 h.append( m_dataWindow );
254 h.append( m_displayWindow );
255}
256
257///////////////////////////////////////////////////////////////////////////////////////////
258// Space methods

Callers 1

testHashMethod · 0.95

Calls 2

appendMethod · 0.80
hashFunction · 0.50

Tested by 1

testHashMethod · 0.76