Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SergeyMakeev/smmalloc
/ functions
Functions
1,996 in github.com/SergeyMakeev/smmalloc
⨍
Functions
1,996
◇
Types & classes
311
↓ 7 callers
Method
free
Free is disabled (we only bump, never reclaim).
extern/hoard/include/util/bumpalloc.h:77
↓ 7 callers
Method
getNext
extern/hoard/include/hoard/hoardsuperblock.h:144
↓ 7 callers
Method
malloc
extern/hoard/include/util/bumpalloc.h:54
↓ 7 callers
Function
mi_arena_block_size
extern/mimalloc/src/arena.c:114
↓ 7 callers
Function
mi_bin
Return the bin for a given field size. Returns MI_BIN_HUGE if the size is too large. We use `wsize` for the size in "machine word sizes", i.e. byte si
extern/mimalloc/src/page-queue.c:56
↓ 7 callers
Function
mi_calloc
extern/mimalloc/src/alloc.c:677
↓ 7 callers
Function
mi_mem_is_zero
Is memory zero initialized?
extern/mimalloc/include/mimalloc/internal.h:318
↓ 7 callers
Function
mi_page_queue_is_full
extern/mimalloc/src/page-queue.c:40
↓ 7 callers
Function
mi_posix_memalign
extern/mimalloc/src/alloc-posix.c:55
↓ 7 callers
Function
mi_realloc
extern/mimalloc/src/alloc.c:767
↓ 7 callers
Function
mi_segment_is_valid
extern/mimalloc/src/segment.c:255
↓ 7 callers
Function
mi_zalloc_aligned
extern/mimalloc/src/alloc-aligned.c:199
↓ 7 callers
Function
pick
extern/mimalloc/test/test-stress.c:73
↓ 6 callers
Function
CPPCODE
extern/ltalloc/ltalloc.cc:649
↓ 6 callers
Function
_memory_deallocate_deferred
Process pending deferred cross-thread deallocations
extern/rpmalloc/rpmalloc.c:1085
↓ 6 callers
Function
_mi_heap_set_default_direct
extern/mimalloc/src/init.c:453
↓ 6 callers
Function
_mi_is_main_thread
extern/mimalloc/src/init.c:399
↓ 6 callers
Function
_mi_is_power_of_two
Is `x` a power of two? (0 is considered a power of two)
extern/mimalloc/include/mimalloc/internal.h:277
↓ 6 callers
Function
_mi_os_free
extern/mimalloc/src/os.c:181
↓ 6 callers
Function
_mi_segment_page_of
Get the page containing the pointer (performance critical as it is called in mi_free)
extern/mimalloc/include/mimalloc/internal.h:441
↓ 6 callers
Function
_mi_segment_page_start
Start of the page available memory; can be used on uninitialized pages
extern/mimalloc/src/segment.c:331
↓ 6 callers
Function
_mi_strlcpy
extern/mimalloc/src/options.c:450
↓ 6 callers
Function
_mi_strnlen
extern/mimalloc/src/options.c:479
↓ 6 callers
Function
atomic_load32
extern/rpmalloc/rpmalloc.c:133
↓ 6 callers
Function
atomic_store_ptr
extern/rpmalloc/rpmalloc.c:182
↓ 6 callers
Function
batch_size
extern/ltalloc/ltalloc.cc:428
↓ 6 callers
Method
get
@brief Get the object with the given key from the map.
extern/hoard/include/util/dynamichashtable.h:62
↓ 6 callers
Function
getCustomHeap
extern/hoard/source/wintls.cpp:84
↓ 6 callers
Method
getObjectsFree
Return the number of free objects in this superblock.
extern/hoard/include/hoard/hoardsuperblock.h:116
↓ 6 callers
Function
init_top
Initialize top chunk and its size */
extern/dlmalloc/dlmalloc.cpp:3900
↓ 6 callers
Function
initializeCustomHeap
extern/hoard/source/unixtls.cpp:89
↓ 6 callers
Function
mi_align_up_ptr
extern/mimalloc/src/os.c:76
↓ 6 callers
Function
mi_bitmap_index_create
Create a bit index.
extern/mimalloc/src/bitmap.h:38
↓ 6 callers
Function
mi_collect
extern/mimalloc/src/heap.c:181
↓ 6 callers
Function
mi_free_size_aligned
extern/mimalloc/src/alloc.c:659
↓ 6 callers
Function
mi_heap_contains_queue
extern/mimalloc/src/page-queue.c:135
↓ 6 callers
Function
mi_heap_get_default
extern/mimalloc/src/heap.c:190
↓ 6 callers
Function
mi_heap_is_backing
extern/mimalloc/include/mimalloc/internal.h:380
↓ 6 callers
Function
mi_heap_visit_pages
Visit all pages in a heap; returns `false` if break was called.
extern/mimalloc/src/heap.c:27
↓ 6 callers
Function
mi_os_prim_free
extern/mimalloc/src/os.c:142
↓ 6 callers
Function
mi_page_thread_free_flag
extern/mimalloc/include/mimalloc/internal.h:502
↓ 6 callers
Function
mi_segment_info_size
extern/mimalloc/src/segment.c:310
↓ 6 callers
Function
mi_stat_counter_print
extern/mimalloc/src/stats.c:231
↓ 6 callers
Function
mi_try_new_handler
extern/mimalloc/src/alloc.c:907
↓ 6 callers
Method
releaseHeap
extern/hoard/include/hoard/heapmanager.h:90
↓ 6 callers
Function
thread_yield
Yield the thread remaining timeslice
extern/rpmalloc/rpmalloc.c:1597
↓ 5 callers
Method
GetBucketsCount
SmMalloc/smmalloc.h:813
↓ 5 callers
Function
_memory_map
Map new pages to virtual memory
extern/rpmalloc/rpmalloc.c:1526
↓ 5 callers
Function
_mi_bitmap_unclaim_across
Set `count` bits at `bitmap_idx` to 0 atomically Returns `true` if all `count` bits were 1 previously.
extern/mimalloc/src/bitmap.c:346
↓ 5 callers
Function
_mi_is_aligned
Is a pointer aligned?
extern/mimalloc/include/mimalloc/internal.h:282
↓ 5 callers
Function
_mi_memcpy_aligned
On GCC/CLang we provide a hint that the pointers are word aligned.
extern/mimalloc/include/mimalloc/internal.h:953
↓ 5 callers
Function
_mi_memid_create
extern/mimalloc/include/mimalloc/internal.h:741
↓ 5 callers
Function
_mi_toupper
-------------------------------------------------------- Initialize options by checking the environment ----------------------------------------------
extern/mimalloc/src/options.c:437
↓ 5 callers
Function
_mi_wsize_from_size
extern/mimalloc/test/main-override-static.c:307
↓ 5 callers
Function
_sm_allocator_thread_cache_create
SmMalloc/smmalloc.h:1053
↓ 5 callers
Function
_sm_allocator_thread_cache_destroy
SmMalloc/smmalloc.h:1064
↓ 5 callers
Function
atomic_add32
extern/rpmalloc/rpmalloc.c:167
↓ 5 callers
Function
atomic_store32
extern/rpmalloc/rpmalloc.c:138
↓ 5 callers
Function
dispose_chunk
Consolidate and bin a chunk. Differs from exported versions of free mainly in that the chunk need not be marked as inuse. */
extern/dlmalloc/dlmalloc.cpp:4367
↓ 5 callers
Function
dlfree
extern/dlmalloc/dlmalloc.cpp:4686
↓ 5 callers
Function
dlmalloc
extern/dlmalloc/dlmalloc.cpp:4548
↓ 5 callers
Method
erase
@brief Erase the entry for a given key.
extern/hoard/include/util/dynamichashtable.h:83
↓ 5 callers
Function
exitRoutine
A special routine we call on thread exit to free up some resources.
extern/hoard/source/unixtls.cpp:200
↓ 5 callers
Method
find
@brief Find the entry for a given key.
extern/hoard/include/util/dynamichashtable.h:200
↓ 5 callers
Function
free_items
extern/mimalloc/test/test-stress.c:117
↓ 5 callers
Method
getInUse
extern/hoard/include/hoard/statistics.h:40
↓ 5 callers
Method
insert
@brief Insert the given object into the map.
extern/hoard/include/util/dynamichashtable.h:68
↓ 5 callers
Function
mi_arena_id_index
extern/mimalloc/src/arena.c:74
↓ 5 callers
Function
mi_bitmap_index_bit_in_field
Get the bit index in a bitmap field
extern/mimalloc/src/bitmap.h:54
↓ 5 callers
Function
mi_block_nextx
extern/mimalloc/include/mimalloc/internal.h:643
↓ 5 callers
Function
mi_bsr
"bit scan reverse": Return index of the highest bit (or MI_INTPTR_BITS if `x` is zero)
extern/mimalloc/include/mimalloc/internal.h:905
↓ 5 callers
Function
mi_commit_mask_all_set
extern/mimalloc/src/segment.c:23
↓ 5 callers
Function
mi_commit_mask_create_empty
extern/mimalloc/include/mimalloc/internal.h:697
↓ 5 callers
Function
mi_get_default_zone
extern/mimalloc/src/prim/osx/alloc-override-zone.c:254
↓ 5 callers
Function
mi_heap_delete
Safe delete a heap without freeing any still allocated blocks in that heap.
extern/mimalloc/src/heap.c:420
↓ 5 callers
Function
mi_heap_destroy
extern/mimalloc/src/heap.c:344
↓ 5 callers
Function
mi_heap_main_init
extern/mimalloc/src/init.c:177
↓ 5 callers
Function
mi_heap_queue_first_update
The current small page array is for efficiency and for each small size (up to 256) it points directly to the page for that size without having to comp
extern/mimalloc/src/page-queue.c:163
↓ 5 callers
Function
mi_is_in_heap_region
extern/mimalloc/src/segment-map.c:131
↓ 5 callers
Function
mi_memalign
extern/mimalloc/src/alloc-posix.c:69
↓ 5 callers
Function
mi_page_is_valid_init
extern/mimalloc/src/page.c:80
↓ 5 callers
Function
mi_page_queue
extern/mimalloc/include/mimalloc/internal.h:559
↓ 5 callers
Function
mi_page_queue_contains
extern/mimalloc/src/page-queue.c:120
↓ 5 callers
Function
mi_page_queue_of
extern/mimalloc/src/page-queue.c:140
↓ 5 callers
Function
mi_page_set_heap
extern/mimalloc/include/mimalloc/internal.h:511
↓ 5 callers
Function
mi_page_set_in_full
extern/mimalloc/include/mimalloc/internal.h:572
↓ 5 callers
Function
mi_page_thread_free
Thread free access
extern/mimalloc/include/mimalloc/internal.h:498
↓ 5 callers
Function
mi_page_usable_size_of
Return the exact usable size of a block.
extern/mimalloc/src/alloc.c:263
↓ 5 callers
Function
mi_segment_reclaim
Reclaim an abandoned segment; returns NULL if the segment was freed set `right_page_reclaimed` to `true` if it reclaimed a page of the right `block_si
extern/mimalloc/src/segment.c:1320
↓ 5 callers
Function
mi_segment_try_purge
extern/mimalloc/src/segment.c:570
↓ 5 callers
Function
mi_slice_index
extern/mimalloc/src/segment.c:195
↓ 5 callers
Function
mi_stats_print
extern/mimalloc/src/stats.c:406
↓ 5 callers
Function
mi_tagged_segment_ptr
extern/mimalloc/src/segment.c:1064
↓ 5 callers
Method
setInUse
extern/hoard/include/hoard/statistics.h:42
↓ 5 callers
Method
setNext
extern/hoard/include/hoard/hoardsuperblock.h:154
↓ 5 callers
Function
sys_trim
extern/dlmalloc/dlmalloc.cpp:4299
↓ 5 callers
Function
unix_madvise
extern/mimalloc/src/prim/unix/prim.c:155
↓ 4 callers
Function
Align
SmMalloc/smmalloc.h:271
↓ 4 callers
Method
GetBucketStats
SmMalloc/smmalloc.h:830
↓ 4 callers
Function
GetTlsBucket
SmMalloc/smmalloc_tls.cpp:30
← previous
next →
101–200 of 1,996, ranked by callers