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

Method hash

src/IECore/ObjectMatrix.cpp:157–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157void ObjectMatrix::hash( MurmurHash &h ) const
158{
159 Object::hash( h );
160 for( const auto &m : m_members )
161 {
162 if( m )
163 {
164 m->hash( h );
165 }
166 else
167 {
168 h.append( 0 );
169 }
170 }
171 h.append( m_rows );
172 h.append( m_columns );
173}

Callers 1

testHashMethod · 0.95

Calls 2

appendMethod · 0.80
hashFunction · 0.50

Tested by 1

testHashMethod · 0.76