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

Method GetNode

doom/src/tarray.h:996–1007  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

994 }
995
996 Node *GetNode(const KT key)
997 {
998 Node *n = FindKey(key);
999 if (n != NULL)
1000 {
1001 return n;
1002 }
1003 n = NewKey(key);
1004 ValueTraits traits;
1005 traits.Init(n->Pair.Value);
1006 return n;
1007 }
1008
1009 /* Perform a bit-wise copy of the node. Used when relocating a node in the table. */
1010 void CopyNode(Node *dst, const Node *src)

Callers

nothing calls this directly

Calls 1

InitMethod · 0.80

Tested by

no test coverage detected