MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / cleanup

Method cleanup

src/common/classes/Hash.h:182–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180
181 typedef void CleanupRoutine(C* toClean);
182 void cleanup(CleanupRoutine* cleanupRoutine)
183 {
184 for (FB_SIZE_T n = 0; n < HASHSIZE; ++n)
185 {
186 while (data[n])
187 {
188 Entry* entry = data[n];
189 entry->unLink();
190 if (cleanupRoutine)
191 cleanupRoutine(entry->get());
192 }
193 }
194 }
195
196 void enableDuplicates()
197 {

Callers

nothing calls this directly

Calls 2

unLinkMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected