Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ functions
Functions
28,963 in github.com/emscripten-core/emscripten
⨍
Functions
28,963
◇
Types & classes
6,500
↳
Endpoints
27
↓ 1 callers
Function
memdup
system/lib/websocket/websocket_to_posix_socket.c:45
↓ 1 callers
Method
merge
system/lib/compiler-rt/lib/sanitizer_common/sanitizer_quarantine.h:55
↓ 1 callers
Method
message
system/lib/libcxx/src/future.cpp:26
↓ 1 callers
Function
metadce
(js_file, wasm_file, debug_info, last)
tools/building.py:805
↓ 1 callers
Function
method
()
test/js_optimizer/emitDCEGraph-scopes.js:15
↓ 1 callers
Method
method_without_async_calls
test/core/embind_lib_with_asyncify.cpp:35
↓ 1 callers
Function
mi_abandoned_page_try_reclaim
Helper for mi_free_try_collect_mt: try to reclaim the page for ourselves
system/lib/mimalloc/src/free.c:305
↓ 1 callers
Function
mi_abandoned_page_unown
release ownership of a page. This may free the page if all blocks were concurrently freed in the meantime. Returns true if the page was freed.
system/lib/mimalloc/src/arena.c:599
↓ 1 callers
Function
mi_abandoned_page_unown_from_free
Release ownership of a page. This may free or reabandoned the page if other blocks are concurrently freed in the meantime. Returns `true` if the page
system/lib/mimalloc/src/free.c:273
↓ 1 callers
Function
mi_add_stderr_output
add stderr to the delayed output after the module is loaded
system/lib/mimalloc/src/options.c:421
↓ 1 callers
Function
mi_aligned_alloc
system/lib/mimalloc/src/alloc-posix.c:86
↓ 1 callers
Function
mi_arena_bbitmap_init
system/lib/mimalloc/src/arena.c:1458
↓ 1 callers
Function
mi_arena_info_slices_needed
system/lib/mimalloc/src/arena.c:1431
↓ 1 callers
Function
mi_arena_initialize
system/lib/mimalloc/src/arena.c:1479
↓ 1 callers
Function
mi_arena_pages_alloc
system/lib/mimalloc/src/arena.c:1464
↓ 1 callers
Function
mi_arena_pages_size
system/lib/mimalloc/src/arena.c:1420
↓ 1 callers
Function
mi_arena_reserve
try to reserve a fresh arena space
system/lib/mimalloc/src/arena.c:310
↓ 1 callers
Function
mi_arena_schedule_purge
Schedule a purge. This is usually delayed to avoid repeated decommit/commit calls. Note: assumes we (still) own the area as we may purge immediately
system/lib/mimalloc/src/arena.c:2052
↓ 1 callers
Function
mi_arena_size
Size of an arena
system/lib/mimalloc/src/arena.c:130
↓ 1 callers
Function
mi_arena_start_idx
determine the start of search; important to keep heaps and threads into their own memory regions to reduce contention.
system/lib/mimalloc/src/arena.c:398
↓ 1 callers
Function
mi_arena_try_purge
returns -1 = nothing was purged 0 = nothing was purged yet because have not yet reached the expire time 1 = some pages in the arena were purged
system/lib/mimalloc/src/arena.c:2126
↓ 1 callers
Function
mi_arena_used_slices
Return idx of the slice past the last used slice
system/lib/mimalloc/src/arena.c:1707
↓ 1 callers
Function
mi_arenas_add
system/lib/mimalloc/src/arena.c:1380
↓ 1 callers
Function
mi_arenas_page_alloc_fresh_area
system/lib/mimalloc/src/arena.c:746
↓ 1 callers
Function
mi_arenas_page_try_find_abandoned
system/lib/mimalloc/src/arena.c:692
↓ 1 callers
Function
mi_arenas_try_purge
system/lib/mimalloc/src/arena.c:2155
↓ 1 callers
Function
mi_arenas_unsafe_destroy
destroy owned arenas; this is unsafe and should only be done using `mi_option_destroy_on_exit` for dynamic libraries that are unloaded and need to rel
system/lib/mimalloc/src/arena.c:1349
↓ 1 callers
Function
mi_bbitmap_chunkmap_set
Set a bit in the chunkmap
system/lib/mimalloc/src/bitmap.c:1639
↓ 1 callers
Function
mi_bchunk_bsr
system/lib/mimalloc/src/bitmap.c:953
↓ 1 callers
Function
mi_bchunk_bsr_inv
system/lib/mimalloc/src/bitmap.c:966
↓ 1 callers
Function
mi_bchunk_clearN
system/lib/mimalloc/src/bitmap.c:367
↓ 1 callers
Function
mi_bchunk_clear_once_set
system/lib/mimalloc/src/bitmap.c:891
↓ 1 callers
Function
mi_bchunk_is_xsetNC
Check if a sequence of `n` bits within a chunk are all set/cleared. This can cross bfield's
system/lib/mimalloc/src/bitmap.c:413
↓ 1 callers
Function
mi_bchunk_popcount
system/lib/mimalloc/src/bitmap.c:979
↓ 1 callers
Function
mi_bchunk_popcountN
Count set bits a sequence of `n` bits.
system/lib/mimalloc/src/bitmap.c:397
↓ 1 callers
Function
mi_bchunk_popcountNC
Check if a sequence of `n` bits within a chunk are all set/cleared. This can cross bfield's
system/lib/mimalloc/src/bitmap.c:378
↓ 1 callers
Function
mi_bchunk_setNX
Set `0 < n <= MI_BFIELD_BITS`, and return true of the mask bits transitioned from all 0's to 1's. `already_set` contains the count of bits that were a
system/lib/mimalloc/src/bitmap.c:288
↓ 1 callers
Function
mi_bchunk_try_clearNC
Try to atomically clear a sequence of `n` bits within a chunk. Returns true if all bits transitioned from 1 to 0, and false otherwise leaving all bit
system/lib/mimalloc/src/bitmap.c:491
↓ 1 callers
Function
mi_bchunk_try_clearN_
Try to atomically clear `n` bits starting at `chunk_idx` where `n` can span over multiple chunks
system/lib/mimalloc/src/bitmap.c:1872
↓ 1 callers
Function
mi_bchunk_try_find_and_clear8
find least aligned byte in a chunk with all bits set, and try unset it atomically set `*pidx` to its bit index (0 <= *pidx < MI_BCHUNK_BITS) on succes
system/lib/mimalloc/src/bitmap.c:718
↓ 1 callers
Function
mi_bchunk_try_find_and_clear8_at
system/lib/mimalloc/src/bitmap.c:694
↓ 1 callers
Function
mi_bfield_atomic_clear
Clear a bit atomically. Returns `true` if the bit transitioned from 1 to 0. `all_clear` is set if the new bfield is zero.
system/lib/mimalloc/src/bitmap.c:101
↓ 1 callers
Function
mi_bfield_atomic_clear_mask
Clear a mask set of bits atomically, and return true of the mask bits transitioned from all 1's to 0's `all_clear` is set to `true` if the new bfield
system/lib/mimalloc/src/bitmap.c:144
↓ 1 callers
Function
mi_bfield_atomic_clear_once_set
Clear a bit but only when/once it is set. This is used by concurrent free's while the page is abandoned and mapped. This can incure a busy wait :-( bu
system/lib/mimalloc/src/bitmap.c:112
↓ 1 callers
Function
mi_bfield_atomic_is_clear
Check if a bit is clear
system/lib/mimalloc/src/bitmap.c:229
↓ 1 callers
Function
mi_bfield_atomic_is_clear_mask
Check if all bits corresponding to a mask are clear.
system/lib/mimalloc/src/bitmap.c:248
↓ 1 callers
Function
mi_bfield_atomic_is_set_mask
Check if all bits corresponding to a mask are set.
system/lib/mimalloc/src/bitmap.c:241
↓ 1 callers
Function
mi_bfield_atomic_is_xset
Check if a bit is xset
system/lib/mimalloc/src/bitmap.c:235
↓ 1 callers
Function
mi_bfield_atomic_set
Set a bit atomically. Returns `true` if the bit transitioned from 0 to 1
system/lib/mimalloc/src/bitmap.c:92
↓ 1 callers
Function
mi_bfield_atomic_setX
system/lib/mimalloc/src/bitmap.c:152
↓ 1 callers
Function
mi_bfield_atomic_try_clearX
Try to clear a full field of bits atomically, and return true all bits transitioned from all 1's to 0's. and false otherwise leaving the bit field as-
system/lib/mimalloc/src/bitmap.c:210
↓ 1 callers
Function
mi_bfield_clear_least_bit
system/lib/mimalloc/src/bitmap.c:38
↓ 1 callers
Function
mi_bfield_find_highest_bit
find the most significant bit that is set. return false if `x==0` (with `*idx` undefined) and true otherwise, with the `idx` is set to the bit index (
system/lib/mimalloc/src/bitmap.c:52
↓ 1 callers
Function
mi_bitmap_bsr
system/lib/mimalloc/src/bitmap.c:1351
↓ 1 callers
Function
mi_bitmap_chunkmap_set
system/lib/mimalloc/src/bitmap.c:993
↓ 1 callers
Function
mi_bitmap_find
Go through the bitmap and for every sequence of `n` set bits, call the visitor function. If it returns `true` stop the search.
system/lib/mimalloc/src/bitmap.c:1275
↓ 1 callers
Function
mi_bitmap_popcount
Return count of all set bits in a bitmap.
system/lib/mimalloc/src/bitmap.c:1371
↓ 1 callers
Function
mi_block_ptr_set_guarded
system/lib/mimalloc/src/alloc.c:781
↓ 1 callers
Function
mi_block_unguard
system/lib/mimalloc/src/free.c:643
↓ 1 callers
Function
mi_bsf
Bit scan forward: find the least significant bit that is set (i.e. count trailing zero's) return false if `x==0` (with `*idx` undefined) and true othe
system/lib/mimalloc/include/mimalloc/bits.h:261
↓ 1 callers
Function
mi_byte_sum32
sum of all the bytes in `x` if it is guaranteed that the sum < 256!
system/lib/mimalloc/src/libc.c:425
↓ 1 callers
Function
mi_byte_sum64
sum of all the bytes in `x` if it is guaranteed that the sum < 256!
system/lib/mimalloc/src/libc.c:457
↓ 1 callers
Function
mi_check_is_double_freex
system/lib/mimalloc/src/free.c:468
↓ 1 callers
Function
mi_check_padding
system/lib/mimalloc/src/free.c:594
↓ 1 callers
Function
mi_collect
system/lib/mimalloc/src/theap.c:149
↓ 1 callers
Function
mi_current_module_is_dll
system/lib/mimalloc/src/prim/windows/prim.c:763
↓ 1 callers
Function
mi_debug_show_arenas
system/lib/mimalloc/src/arena.c:1929
↓ 1 callers
Function
mi_debug_show_arenas_ex
system/lib/mimalloc/src/arena.c:1885
↓ 1 callers
Function
mi_debug_show_bfield
system/lib/mimalloc/src/arena.c:1717
↓ 1 callers
Function
mi_debug_show_chunks
system/lib/mimalloc/src/arena.c:1808
↓ 1 callers
Function
mi_debug_show_page_bfield
system/lib/mimalloc/src/arena.c:1758
↓ 1 callers
Function
mi_detect_cpu_features
system/lib/mimalloc/src/init.c:1045
↓ 1 callers
Function
mi_error_default
system/lib/mimalloc/src/options.c:577
↓ 1 callers
Function
mi_fast_divide
system/lib/mimalloc/src/theap.c:555
↓ 1 callers
Function
mi_find_free_page
Find a page with free blocks of `size`.
system/lib/mimalloc/src/page.c:859
↓ 1 callers
Function
mi_free_try_collect_mt
We freed a block in an abandoned page (that was not owned). Try to collect
system/lib/mimalloc/src/free.c:357
↓ 1 callers
Function
mi_get_fast_divisor
system/lib/mimalloc/src/theap.c:549
↓ 1 callers
Function
mi_get_new_handler
system/lib/mimalloc/src/alloc.c:653
↓ 1 callers
Function
mi_heap_collect
system/lib/mimalloc/src/theap.c:154
↓ 1 callers
Function
mi_heap_delete
system/lib/mimalloc/src/heap.c:206
↓ 1 callers
Function
mi_heap_has_page
system/lib/mimalloc/src/arena.c:78
↓ 1 callers
Function
mi_heap_init_theap
system/lib/mimalloc/src/heap.c:36
↓ 1 callers
Function
mi_heap_new
system/lib/mimalloc/src/heap.c:139
↓ 1 callers
Function
mi_heap_new_in_arena
system/lib/mimalloc/src/heap.c:100
↓ 1 callers
Function
mi_heap_stats_merge_to_main
system/lib/mimalloc/src/heap.c:31
↓ 1 callers
Function
mi_heap_stats_print_out
system/lib/mimalloc/src/stats.c:460
↓ 1 callers
Function
mi_heap_try_new
system/lib/mimalloc/src/alloc.c:691
↓ 1 callers
Function
mi_heap_zalloc_aligned
system/lib/mimalloc/src/alloc-aligned.c:314
↓ 1 callers
Function
mi_huge_page_alloc
Huge pages contain just one block, and the segment contains just that page. Huge pages are also use if the requested alignment is very large (> MI_BLO
system/lib/mimalloc/src/page.c:913
↓ 1 callers
Function
mi_json_buf_print_count
system/lib/mimalloc/src/stats.c:694
↓ 1 callers
Function
mi_json_buf_print_count_cbin
system/lib/mimalloc/src/stats.c:678
↓ 1 callers
Function
mi_key_create
system/lib/mimalloc/src/threadlocal.c:56
↓ 1 callers
Function
mi_lock_acquire
system/lib/mimalloc/include/mimalloc/atomic.h:378
↓ 1 callers
Function
mi_lock_try_acquire
system/lib/mimalloc/include/mimalloc/atomic.h:375
↓ 1 callers
Function
mi_malloc_aligned_at
system/lib/mimalloc/src/alloc-aligned.c:269
↓ 1 callers
Function
mi_malloc_good_size
system/lib/mimalloc/src/alloc-posix.c:45
↓ 1 callers
Function
mi_malloc_is_naturally_aligned
system/lib/mimalloc/src/alloc-aligned.c:18
↓ 1 callers
Function
mi_manage_os_memory_ex
system/lib/mimalloc/src/arena.c:1646
↓ 1 callers
Function
mi_memid_create_arena
Create an arena memid
system/lib/mimalloc/src/arena.c:174
↓ 1 callers
Function
mi_memid_is_os
system/lib/mimalloc/include/mimalloc/types.h:302
← previous
next →
9,401–9,500 of 28,963, ranked by callers