MCPcopy Create free account
hub / github.com/FastFlowLM/FastFlowLM / memset

Method memset

src/include/buffer.hpp:482–487  ·  view source on GitHub ↗

\brief memset \param value the value

Source from the content-addressed store, hash-verified

480 /// \brief memset
481 /// \param value the value
482 void memset(T value) {
483 T* ptr = data();
484 for (size_t i = 0; i < size(); i++) {
485 ptr[i] = value;
486 }
487 }
488
489 /// \brief copy from
490 /// \param other the other bytes

Callers

nothing calls this directly

Calls 2

dataClass · 0.85
sizeFunction · 0.85

Tested by

no test coverage detected