MCPcopy Create free account
hub / github.com/adriancable/eternal / FindKey

Method FindKey

doom/src/tarray.h:974–983  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

972 }
973
974 Node *FindKey(const KT key)
975 {
976 HashTraits Traits;
977 Node *n = MainPosition(key);
978 while (n != NULL && !n->IsNil() && Traits.Compare(n->Pair.Key, key))
979 {
980 n = n->Next;
981 }
982 return n == NULL || n->IsNil() ? NULL : n;
983 }
984
985 const Node *FindKey(const KT key) const
986 {

Callers

nothing calls this directly

Calls 2

IsNilMethod · 0.80
CompareMethod · 0.45

Tested by

no test coverage detected