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

Function GetNumberOfBytes

Filters/ParallelMPI/vtkHyperTreeGridRedistribute.cxx:177–180  ·  view source on GitHub ↗

* Get the number of bytes required to fit `nbBits`. * Used to align bit buffers with byte boundaries for multi-process transfers */

Source from the content-addressed store, hash-verified

175 * Used to align bit buffers with byte boundaries for multi-process transfers
176 */
177constexpr int GetNumberOfBytes(int nbBits)
178{
179 return ((nbBits + 7) / 8);
180}
181};
182
183//------------------------------------------------------------------------------

Callers 4

BuildOutputTreesMethod · 0.85
ExchangeMaskMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected