Lines Matching full:heap
11 <br> $Id: heap.html,v 1.9 2000-12-08 21:41:42 ca Exp $
16 The heap package provides a layer of abstraction on top of
25 #include <sm/heap.h>
36 ** returning NULL on heap exhaustion.
78 It allocates <tt>size</tt> bytes of memory on the heap
89 In addition, if heap checking is enabled, then <tt>sm_malloc</tt>
122 If ptr is not NULL and heap checking is enabled,
141 If heap checking is disabled, then this function is equivalent
162 When heap checking is enabled,
163 the heap package maintains a hash table which associates the
205 If heap checking is disabled at compile time, then a call
228 The heap package maintains a thread-local variable containing
247 One way to detect memory leaks is to turn on heap checking
281 #include <sm/heap.h>
319 If heap checking is disabled, this function does nothing.
326 "ground state", and the reported amount of heap storage is
341 <h2> How to enable heap checking </h2>
354 turn on heap checking at run time, then your program will run
361 heap checking at run time, then the additional cost of calling
365 Here's how to modify your application to use the heap package.
375 /* dump the heap, if we are checking for memory leaks */
381 To turn on heap checking, use the command line option "-dsm_check_heap.1".
408 returned by foo with the heap package, by calling sm_heap_register:
421 or <tt>false</tt> if it failed due to heap exhaustion.