MCPcopy Create free account
hub / github.com/MITK/MITK / HashCode

Method HashCode

Plugins/org.blueberry.core.commands/src/berryParameterization.cpp:102–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102uint Parameterization::HashCode() const
103{
104 if (hashCode == HASH_CODE_NOT_COMPUTED)
105 {
106 hashCode = HASH_INITIAL * HASH_FACTOR + parameter->HashCode();
107 hashCode = hashCode * HASH_FACTOR + qHash(value);
108 if (hashCode == HASH_CODE_NOT_COMPUTED)
109 {
110 hashCode++;
111 }
112 }
113 return hashCode;
114}
115
116}

Callers

nothing calls this directly

Calls 1

qHashFunction · 0.50

Tested by

no test coverage detected