MCPcopy Create free account
hub / github.com/NGT-labs/NGT / allocateObject

Method allocateObject

lib/NGT/ObjectRepository.h:207–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205 }
206
207 Object *allocateObject() { return (Object *)new Object(paddedByteSize); }
208
209 // This method is called during search to generate query.
210 // Therefore the object is not persistent.

Callers

nothing calls this directly

Calls 3

allocateObjectFunction · 0.85
dataMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected