MCPcopy Create free account
hub / github.com/baumgarr/nixnote2 / clearMemory

Method clearMemory

utilities/crossmemorymapper.cpp:61–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59
60
61void CrossMemoryMapper::clearMemory() {
62 lock();
63 memset(sharedMemory->data(), 0, sharedMemory->size());
64 unlock();
65}
66
67
68

Callers 2

mainFunction · 0.80
readNoteMethod · 0.80

Calls 1

dataMethod · 0.80

Tested by

no test coverage detected