From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/a04355.html | 223 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 223 insertions(+) create mode 100644 docs/doxygen/nel/a04355.html (limited to 'docs/doxygen/nel/a04355.html') diff --git a/docs/doxygen/nel/a04355.html b/docs/doxygen/nel/a04355.html new file mode 100644 index 00000000..dfa71994 --- /dev/null +++ b/docs/doxygen/nel/a04355.html @@ -0,0 +1,223 @@ + + +NeL: include/nel/misc/heap_allocator.h File Reference + + + +
+

heap_allocator.h File Reference

+

+#include "nel/misc/types_nl.h"
+#include "nel/misc/mutex.h"
+#include "nel/misc/tds.h"
+#include <vector>
+ +

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + + +

Namespaces

namespace  NLMISC

Macros

#define NelAlloc(heap, size, category)   ((heap).allocate (size, __FILE__, __LINE__, category))
#define NelRealloc(heap, size, ptr, category)   (heap.allocate (ptr, size, __FILE__, __LINE__, category))

Small Block

#define NL_ALIGN_SIZE_FOR_SMALLBLOCK(size)   (((size) + SmallBlockGranularity-1) & ~(SmallBlockGranularity-1))
#define NL_SIZE_TO_SMALLBLOCK_INDEX(size)   ((size-1)>>SmallBlockGranularityShift)
#define NL_SMALLBLOCK_COUNT   (1+(LastSmallBlock - FirstSmallBlock)/SmallBlockGranularity)

Defines

#define NL_HEAP_NODE_END_SIZE   sizeof(CNodeEnd)
+


Define Documentation

+

+ + + + +
+ + + + + + + + + + + + + +
#define NelAllocheap,
size,
category   )    ((heap).allocate (size, __FILE__, __LINE__, category)) +
+
+ + + + + +
+   + + +

+ +

+Definition at line 496 of file include/nel/misc/heap_allocator.h.

+

+ + + + +
+ + + + + + + + + + + + + + + + +
#define NelReallocheap,
size,
ptr,
category   )    (heap.allocate (ptr, size, __FILE__, __LINE__, category)) +
+
+ + + + + +
+   + + +

+ +

+Definition at line 499 of file include/nel/misc/heap_allocator.h.

+

+ + + + +
+ + + + + + + +
#define NL_ALIGN_SIZE_FOR_SMALLBLOCKsize   )    (((size) + SmallBlockGranularity-1) & ~(SmallBlockGranularity-1)) +
+
+ + + + + +
+   + + +

+ +

+Definition at line 449 of file include/nel/misc/heap_allocator.h.

+

+ + + + +
+ + +
#define NL_HEAP_NODE_END_SIZE   sizeof(CNodeEnd) +
+
+ + + + + +
+   + + +

+ +

+Definition at line 275 of file include/nel/misc/heap_allocator.h.

+

+ + + + +
+ + + + + + + +
#define NL_SIZE_TO_SMALLBLOCK_INDEXsize   )    ((size-1)>>SmallBlockGranularityShift) +
+
+ + + + + +
+   + + +

+ +

+Definition at line 448 of file include/nel/misc/heap_allocator.h.

+

+ + + + +
+ + +
#define NL_SMALLBLOCK_COUNT   (1+(LastSmallBlock - FirstSmallBlock)/SmallBlockGranularity) +
+
+ + + + + +
+   + + +

+ +

+Definition at line 447 of file include/nel/misc/heap_allocator.h.

+


Generated on Tue Mar 16 06:42:36 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1