MCPcopy Create free account
hub / github.com/brainflow-dev/brainflow / fill

Method fill

src/utils/inc/brainflow_array.h:451–454  ·  view source on GitHub ↗

fill already preallocated buffer

Source from the content-addressed store, hash-verified

449
450 /// fill already preallocated buffer
451 void fill (T *ptr, int num)
452 {
453 memcpy (origin, ptr, sizeof (T) * num);
454 }
455};
456
457template <typename T, size_t Dim>

Callers 15

zero_arrayFunction · 0.80
predictMethod · 0.80
getBoardDataMethod · 0.80
getCurrentBoardDataMethod · 0.80
getEegChannelsMethod · 0.80
getExgChannelsMethod · 0.80
getEmgChannelsMethod · 0.80
getEcgChannelsMethod · 0.80
getEogChannelsMethod · 0.80
getPpgChannelsMethod · 0.80
getOpticalChannelsMethod · 0.80
getEdaChannelsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected