CMS 3D CMS Logo

Namespaces | Functions
allocators.h File Reference

Utilities related to memory management. More...

#include <cassert>

Go to the source code of this file.

Namespaces

 npstat
 

Functions

template<typename T >
void npstat::clearBuffer (T *buf, const unsigned long len)
 
template<typename T1 , typename T2 >
void npstat::copyBuffer (T1 *dest, const T2 *source, const unsigned long len)
 
template<typename T >
void npstat::destroyBuffer (T *thisBuffer, const T *stackBuffer)
 
template<typename T >
Tnpstat::makeBuffer (unsigned sizeNeeded, T *stackBuffer, unsigned sizeofStackBuffer)
 
template<typename T1 , typename T2 >
void npstat::transposeBuffer (T1 *dest, const T2 *source, const unsigned long dim)
 
template<typename T1 , typename T2 >
void npstat::transposeBuffer (T1 *dest, const T2 *source, const unsigned long M, const unsigned long N)
 

Detailed Description

Utilities related to memory management.

Author: I. Volobouev

October 2009

Definition in file allocators.h.