MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / AFStringPod

Method AFStringPod

src/base/AFStringPod.hpp:196–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194
195public:
196 explicit AFStringPod(size_t size = 0)
197 : mnSize(size)
198 {
199 mnCount = 0;
200
201 if (size > 0)
202 {
203 mpBuckets = (node_t**)mxAlloc.Alloc(sizeof(node_t*) * size);
204 memset(mpBuckets, 0, sizeof(node_t*) * size);
205 }
206 else
207 {
208 mpBuckets = NULL;
209 }
210 }
211
212 AFStringPod(const hash_t& src)
213 {

Callers

nothing calls this directly

Calls 1

AllocMethod · 0.45

Tested by

no test coverage detected