NCBI C++ ToolKit
Functions
njn_memutil.hpp File Reference
#include "njn_ioutil.hpp"
#include <stdlib.h>
#include <string.h>
+ Include dependency graph for njn_memutil.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Functions

void * memNew (size_t size)
 
void * memMore (void *p, size_t size)
 
void memCpy (void *to, const void *from, size_t size)
 
void * memSet (void *p, int c, size_t size)
 
void * memZero (void *p, size_t size)
 
template<typename T >
T ** newMatrix (size_t m_, size_t n_)
 
template<typename T >
void deleteMatrix (T **&matrix, size_t m_, size_t n_)
 

Function Documentation

◆ deleteMatrix()

template<typename T >
void deleteMatrix ( T **&  matrix,
size_t  m_,
size_t  n_ 
)

Definition at line 111 of file njn_memutil.hpp.

◆ memCpy()

void memCpy ( void *  to,
const void *  from,
size_t  size 
)
inline

◆ memMore()

void * memMore ( void *  p,
size_t  size 
)
inline

Definition at line 77 of file njn_memutil.hpp.

References ncbi::grid::netcache::search::fields::size.

◆ memNew()

void * memNew ( size_t  size)
inline

Definition at line 72 of file njn_memutil.hpp.

References ncbi::grid::netcache::search::fields::size.

◆ memSet()

void * memSet ( void *  p,
int  c,
size_t  size 
)
inline

Definition at line 87 of file njn_memutil.hpp.

References ncbi::grid::netcache::search::fields::size.

◆ memZero()

void * memZero ( void *  p,
size_t  size 
)
inline

◆ newMatrix()

template<typename T >
T ** newMatrix ( size_t  m_,
size_t  n_ 
)

Definition at line 98 of file njn_memutil.hpp.

References T.

Modified on Sat Apr 13 11:46:26 2024 by modify_doxy.py rev. 669887