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

Method remove

src/common/classes/Hash.h:245–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243 }
244
245 C* remove(const K& key)
246 {
247 Entry** e = locate(key);
248 if (*e)
249 {
250 Entry* entry = *e;
251 entry->unLink();
252 return entry->get();
253 }
254 return NULL;
255 }
256
257 private:
258 // disable use of default operator=

Callers

nothing calls this directly

Calls 3

locateFunction · 0.85
unLinkMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected