MCPcopy Create free account
hub / github.com/WheretIB/nullc / init

Method init

NULLC/HashMap.h:24–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22 entries = NULL;
23 }
24 void init()
25 {
26 if(!entries)
27 {
28 entries = NULLC::construct<Node*>(bucketCount);
29 memset(entries, 0, sizeof(Node*) * bucketCount);
30 }
31 }
32 ~HashMap()
33 {
34 if(entries)

Callers 4

CallbackInitializeFunction · 0.80
CompilerMethod · 0.80
nullcInitCustomAllocFunction · 0.80
LinkerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected