Go to the source code of this file.
#define _ALLOCA_S_HEAP_MARKER 0xDDDD |
#define _ALLOCA_S_MARKER_SIZE 8 |
#define _ALLOCA_S_STACK_MARKER 0xCCCC |
#define _ALLOCA_S_THRESHOLD 1024 |
#define _HEAP_MAXREQ 0xFFFFFFE0 |
#define _HEAPBADBEGIN (-3) |
#define _HEAPBADNODE (-4) |
Value:__pragma(warning(suppress: 6255 6386)) \
#define _ALLOCA_S_STACK_MARKER
Definition: malloc.h:76
__inline void * _MarkAllocaS(_Out_opt_ __crt_typefix(unsigned int *) void *_Ptr, unsigned int _Marker)
Definition: malloc.h:91
constexpr auto size(const _Container &_Cont) -> decltype(_Cont.size())
Definition: xutility:1477
__inline size_t _MallocaComputeSize(size_t _Size)
Definition: malloc.h:101
#define _ALLOCA_S_HEAP_MARKER
Definition: malloc.h:77
#define _ALLOCA_S_THRESHOLD
Definition: malloc.h:75
#define NULL
Definition: corecrt.h:158
#define _mm_malloc |
( |
|
a, |
|
|
|
b |
|
) |
| _aligned_malloc(a, b) |
149 unsigned int _Marker;
153 _Marker = *(
unsigned int*)_Memory;
161 _ASSERTE((
"Corrupted pointer passed to _freea" && 0));
#define _ALLOCA_S_MARKER_SIZE
Definition: malloc.h:82
_ACRTIMP void __cdecl free(_Pre_maybenull_ _Post_invalid_ void *_Block)
#define _ALLOCA_S_STACK_MARKER
Definition: malloc.h:76
#define _ALLOCA_S_HEAP_MARKER
Definition: malloc.h:77
#define _ASSERTE(expr)
Definition: crtdbg.h:707
104 return _MarkedSize >
_Size ? _MarkedSize : 0;
#define _ALLOCA_S_MARKER_SIZE
Definition: malloc.h:82
_CRT_BEGIN_C_HEADER _Check_return_ _Ret_maybenull_ _In_ size_t _Size
Definition: corecrt_malloc.h:58
95 *((
unsigned int*)_Ptr) = _Marker;
#define _ALLOCA_S_MARKER_SIZE
Definition: malloc.h:82
_STATIC_ASSERT |
( |
sizeof(unsigned int)<= |
_ALLOCA_S_MARKER_SIZE | ) |
|