Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CCareaga/heap_allocator
/ functions
Functions
23 in github.com/CCareaga/heap_allocator
⨍
Functions
23
◇
Types & classes
2
↓ 8 callers
Function
add_node
llist.c:3
↓ 8 callers
Function
get_bin_index
heap.c:119
↓ 8 callers
Function
heap_alloc
heap.c:19
↓ 7 callers
Function
get_bin_index
======================================================== this function is the hashing function that converts size => bin index. changing this function
commented_heap.c:182
↓ 6 callers
Function
remove_node
llist.c:44
↓ 5 callers
Function
create_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 callers
Function
get_foot
heap.c:135
↓ 4 callers
Function
get_best_fit
llist.c:68
↓ 4 callers
Function
heap_free
heap.c:66
↓ 3 callers
Function
create_foot
heap.c:130
↓ 3 callers
Function
get_foot
======================================================== this function will get the footer pointer given a node ======================================
commented_heap.c:206
↓ 1 callers
Function
contract
commented_heap.c:172
↓ 1 callers
Function
contract
heap.c:115
↓ 1 callers
Function
expand
these are left here to implement contraction / expansion
commented_heap.c:168
↓ 1 callers
Function
expand
heap.c:111
↓ 1 callers
Function
get_wilderness
======================================================== this function will get the wilderness node given a heap struct pointer NOTE: this function b
commented_heap.c:218
↓ 1 callers
Function
get_wilderness
heap.c:139
↓ 1 callers
Function
init_heap
heap.c:6
Function
get_last_node
llist.c:82
Function
heap_alloc
======================================================== this is the allocation function of the heap, it takes the heap struct pointer and the size of
commented_heap.c:36
Function
heap_free
======================================================== this is the free function of the heap, it takes the heap struct pointer and the pointer provi
commented_heap.c:105
Function
init_heap
======================================================== this function initializes a new heap structure, provided an empty heap struct, and a place to
commented_heap.c:13
Function
main
main.c:6