64 const void* what,
size_t what_size);
67 #if defined(OS_MAC) || defined(OS_UNIX_DARWIN) || defined(OS_MSWIN) || defined(MSC_VIRT)
102 #define Nlm_Malloc malloc
103 #define Nlm_Calloc calloc
104 #define Nlm_Realloc realloc
105 #define Nlm_Free free
106 #define Nlm_MemSet memset
107 #define Nlm_MemCpy memcpy
108 #define Nlm_MemChr memchr
109 #define Nlm_MemCmp memcmp
115 #define Nlm_Calloc Nlm_CallocViaMalloc
119 #define Malloc Nlm_Malloc
120 #define Calloc Nlm_Calloc
121 #define Realloc Nlm_Realloc
122 #define Free Nlm_Free
123 #define MemSet Nlm_MemSet
124 #define MemCpy Nlm_MemCpy
125 #define MemChr Nlm_MemChr
126 #define MemCmp Nlm_MemCmp
127 #define MemSearch Nlm_MemSearch
133 #if !(defined(OS_MAC) || defined(OS_UNIX_DARWIN) || defined(OS_MSWIN) || defined(MSC_VIRT) )
134 #define Nlm_HandNew(a) Nlm_MemNew(a)
135 #define Nlm_HandGet(a,b) Nlm_MemGet(a,b)
136 #define Nlm_HandMore(a,b) Nlm_MemMore(a,b)
137 #define Nlm_HandFree(a) Nlm_MemFree(a)
138 #define Nlm_HandLock(a) (a)
139 #define Nlm_HandUnlock(a) NULL
143 #define MemNew(x) Nlm_MemGet(x,MGET_CLEAR|MGET_ERRPOST)
144 #define MemGet(x,y) Nlm_MemGet(x,(unsigned int)(y))
145 #define MemFree Nlm_MemFree
146 #define MemMore Nlm_MemMore
147 #define MemExtend Nlm_MemExtend
148 #define MemCopy Nlm_MemCopy
149 #define MemMove Nlm_MemMove
150 #define MemFill Nlm_MemFill
151 #define MemDup Nlm_MemDup
153 #define HandNew Nlm_HandNew
154 #define HandGet Nlm_HandGet
155 #define HandMore Nlm_HandMore
156 #define HandFree Nlm_HandFree
157 #define HandLock Nlm_HandLock
158 #define HandUnlock Nlm_HandUnlock
160 #if (defined(OS_UNIX_SYSV) || defined(OS_UNIX_SUN) || defined(OS_UNIX_OSF1) || defined(OS_UNIX_LINUX) || defined(OS_UNIX_AIX) || defined(OS_UNIX_DARWIN)) && !defined(OS_UNIX_ULTRIX) || defined(OS_UNIX_FREEBSD)
161 #ifndef IBM_DISABLE_MMAP
168 #if defined(_DEBUG) && defined(OS_MSWIN)
169 NLM_EXTERN void*
LIBCALL Nlm_MemFreeTrace (
void* ,
const char*,
const char*,
int);
171 #define MemFree(_ptr_) Nlm_MemFreeTrace(_ptr_,THIS_MODULE,THIS_FILE,__LINE__)
179 #define dll_Malloc(x) (void*) Nlm_Malloc(x)
180 #define dll_Free(x) Nlm_Free((void*) (x))
185 #define MGET_CLEAR 0x0001
186 #define MGET_ERRPOST 0x0004
190 #define MG_CLEAR MGET_CLEAR
191 #define MG_MAXALLOC 0x0002
192 #define MG_ERRPOST MGET_ERRPOST
Include a standard set of the NCBI C++ Toolkit most basic headers.
where boath are integers</td > n< td ></td > n</tr > n< tr > n< td > tse</td > n< td > optional</td > n< td > String</td > n< td class=\"description\"> TSE option controls what blob is orig
const struct ncbi::grid::netcache::search::fields::SIZE size
const GenericPointer< typename T::ValueType > T2 value