MCPcopy Create free account
hub / github.com/KDE/kdevelop / clear

Method clear

kdevplatform/serialization/indexedstring.h:228–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226 hash = ((hash << 5) + hash) + c; /* hash * 33 + c */
227 }
228 inline void clear()
229 {
230 hash = HashInitialValue;
231 }
232
233 /// We initialize the hash with zero, because we want empty strings to create a zero hash(invalid)
234 unsigned int hash = HashInitialValue;

Callers 2

closeMethod · 0.45
TestItemRepositoryClass · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected