MCPcopy Create free account
hub / github.com/Kitware/VTK / PushBack

Method PushBack

Rendering/ParallelLIC/vtkParallelTimer.cxx:341–347  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

339
340//------------------------------------------------------------------------------
341void vtkParallelTimerBuffer::PushBack(const void* data, size_t n)
342{
343 size_t nextAt = this->At + n;
344 this->Resize(nextAt);
345 memcpy(this->Data + this->At, data, n);
346 this->At = nextAt;
347}
348
349//------------------------------------------------------------------------------
350void vtkParallelTimerBuffer::Resize(size_t newSize)

Callers 2

GatherMethod · 0.95

Calls 1

ResizeMethod · 0.95

Tested by

no test coverage detected