MCPcopy Create free account

hub / github.com/CCareaga/heap_allocator / functions

Functions23 in github.com/CCareaga/heap_allocator

↓ 8 callersFunctionadd_node
llist.c:3
↓ 8 callersFunctionget_bin_index
heap.c:119
↓ 8 callersFunctionheap_alloc
heap.c:19
↓ 7 callersFunctionget_bin_index
======================================================== this function is the hashing function that converts size => bin index. changing this function
commented_heap.c:182
↓ 6 callersFunctionremove_node
llist.c:44
↓ 5 callersFunctioncreate_foot
======================================================== this function will create a footer given a node the node's size must be set to the correct va
commented_heap.c:198
↓ 5 callersFunctionget_foot
heap.c:135
↓ 4 callersFunctionget_best_fit
llist.c:68
↓ 4 callersFunctionheap_free
heap.c:66
↓ 3 callersFunctioncreate_foot
heap.c:130
↓ 3 callersFunctionget_foot
======================================================== this function will get the footer pointer given a node ======================================
commented_heap.c:206
↓ 1 callersFunctioncontract
commented_heap.c:172
↓ 1 callersFunctioncontract
heap.c:115
↓ 1 callersFunctionexpand
these are left here to implement contraction / expansion
commented_heap.c:168
↓ 1 callersFunctionexpand
heap.c:111
↓ 1 callersFunctionget_wilderness
======================================================== this function will get the wilderness node given a heap struct pointer NOTE: this function b
commented_heap.c:218
↓ 1 callersFunctionget_wilderness
heap.c:139
↓ 1 callersFunctioninit_heap
heap.c:6
Functionget_last_node
llist.c:82
Functionheap_alloc
======================================================== this is the allocation function of the heap, it takes the heap struct pointer and the size of
commented_heap.c:36
Functionheap_free
======================================================== this is the free function of the heap, it takes the heap struct pointer and the pointer provi
commented_heap.c:105
Functioninit_heap
======================================================== this function initializes a new heap structure, provided an empty heap struct, and a place to
commented_heap.c:13
Functionmain
main.c:6