crash.software
Projects
Pull Requests
Issues
Builds
graphql-engine
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
graphql-engine
Files
🤬
Sign In
release/v2.38
ROOT
/
preload-mimalloc
/
mimalloc
/
include
/
mimalloc.h
Search
History
560 lines
|
ISO-8859-1
|
34 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
MIMALLOC_H
MI_MALLOC_VERSION
mi_attr_noexcept
mi_attr_noexcept
mi_attr_noexcept
mi_decl_nodiscard
mi_decl_nodiscard
mi_decl_nodiscard
mi_decl_nodiscard
mi_decl_nodiscard
mi_decl_export
mi_decl_export
mi_decl_export
mi_decl_restrict
mi_attr_malloc
mi_decl_restrict
mi_decl_restrict
mi_attr_malloc
mi_cdecl
mi_attr_alloc_size
(
s
)
mi_attr_alloc_size2
(
s1,s2
)
mi_attr_alloc_align
(
p
)
mi_decl_export
mi_decl_export
mi_cdecl
mi_decl_restrict
mi_attr_malloc
mi_attr_alloc_size
(
s
)
mi_attr_alloc_size2
(
s1,s2
)
mi_attr_alloc_align
(
p
)
mi_attr_alloc_size
(
s
)
mi_attr_alloc_size2
(
s1,s2
)
mi_attr_alloc_align
(
p
)
mi_attr_alloc_size
(
s
)
mi_attr_alloc_size2
(
s1,s2
)
mi_attr_alloc_align
(
p
)
mi_cdecl
mi_decl_export
mi_decl_restrict
mi_attr_malloc
mi_attr_alloc_size
(
s
)
mi_attr_alloc_size2
(
s1,s2
)
mi_attr_alloc_align
(
p
)
MI_SMALL_WSIZE_MAX
MI_SMALL_SIZE_MAX
mi_malloc_tp
(
tp
)
mi_zalloc_tp
(
tp
)
mi_calloc_tp
(
tp,n
)
mi_mallocn_tp
(
tp,n
)
mi_reallocn_tp
(
p,tp,n
)
mi_recalloc_tp
(
p,tp,n
)
mi_heap_malloc_tp
(
hp,tp
)
mi_heap_zalloc_tp
(
hp,tp
)
mi_heap_calloc_tp
(
hp,tp,n
)
mi_heap_mallocn_tp
(
hp,tp,n
)
mi_heap_reallocn_tp
(
hp,p,tp,n
)
mi_heap_recalloc_tp
(
hp,p,tp,n
)
MI_HAS_HEAP_STL_ALLOCATOR
mi_malloc
(
size_t
)
:
void*
mi_calloc
(
size_t,size_t
)
:
void*
mi_realloc
(
void*,size_t
)
:
void*
mi_expand
(
void*,size_t
)
:
void*
mi_free
(
void*
)
:
void
mi_strdup
(
const char*
)
:
char*
mi_strndup
(
const char*,size_t
)
:
char*
mi_realpath
(
const char*,char*
)
:
char*
mi_malloc_small
(
size_t
)
:
void*
mi_zalloc_small
(
size_t
)
:
void*
mi_zalloc
(
size_t
)
:
void*
mi_mallocn
(
size_t,size_t
)
:
void*
mi_reallocn
(
void*,size_t,size_t
)
:
void*
mi_reallocf
(
void*,size_t
)
:
void*
mi_deferred_free_fun
:
void()(bool,unsigned long long,void*)
mi_register_deferred_free
(
mi_deferred_free_fun*,void*
)
:
void
mi_output_fun
:
void()(const char*,void*)
mi_register_output
(
mi_output_fun*,void*
)
:
void
mi_error_fun
:
void()(int,void*)
mi_register_error
(
mi_error_fun*,void*
)
:
void
mi_collect
(
bool
)
:
void
mi_version
(
void
)
:
int
mi_stats_reset
(
void
)
:
void
mi_stats_merge
(
void
)
:
void
mi_stats_print
(
void*
)
:
void
mi_stats_print_out
(
mi_output_fun*,void*
)
:
void
mi_process_init
(
void
)
:
void
mi_thread_init
(
void
)
:
void
mi_thread_done
(
void
)
:
void
mi_thread_stats_print_out
(
mi_output_fun*,void*
)
:
void
mi_process_info
(
size_t*,size_t*,size_t*,size_t*,size_t*,size_t*,size_t*,size_t*
)
:
void
mi_malloc_aligned
(
size_t,size_t
)
:
void*
mi_malloc_aligned_at
(
size_t,size_t,size_t
)
:
void*
mi_zalloc_aligned
(
size_t,size_t
)
:
void*
mi_zalloc_aligned_at
(
size_t,size_t,size_t
)
:
void*
mi_calloc_aligned
(
size_t,size_t,size_t
)
:
void*
mi_calloc_aligned_at
(
size_t,size_t,size_t,size_t
)
:
void*
mi_realloc_aligned
(
void*,size_t,size_t
)
:
void*
mi_realloc_aligned_at
(
void*,size_t,size_t,size_t
)
:
void*
mi_heap_t
:
struct mi_heap_s
mi_heap_delete
(
mi_heap_t*
)
:
void
mi_heap_destroy
(
mi_heap_t*
)
:
void
mi_heap_collect
(
mi_heap_t*,bool
)
:
void
mi_heap_malloc
(
mi_heap_t*,size_t
)
:
void*
mi_heap_zalloc
(
mi_heap_t*,size_t
)
:
void*
mi_heap_calloc
(
mi_heap_t*,size_t,size_t
)
:
void*
mi_heap_mallocn
(
mi_heap_t*,size_t,size_t
)
:
void*
mi_heap_malloc_small
(
mi_heap_t*,size_t
)
:
void*
mi_heap_realloc
(
mi_heap_t*,void*,size_t
)
:
void*
mi_heap_reallocn
(
mi_heap_t*,void*,size_t,size_t
)
:
void*
mi_heap_reallocf
(
mi_heap_t*,void*,size_t
)
:
void*
mi_heap_strdup
(
mi_heap_t*,const char*
)
:
char*
mi_heap_strndup
(
mi_heap_t*,const char*,size_t
)
:
char*
mi_heap_realpath
(
mi_heap_t*,const char*,char*
)
:
char*
mi_heap_malloc_aligned
(
mi_heap_t*,size_t,size_t
)
:
void*
mi_heap_malloc_aligned_at
(
mi_heap_t*,size_t,size_t,size_t
)
:
void*
mi_heap_zalloc_aligned
(
mi_heap_t*,size_t,size_t
)
:
void*
mi_heap_zalloc_aligned_at
(
mi_heap_t*,size_t,size_t,size_t
)
:
void*
mi_heap_calloc_aligned
(
mi_heap_t*,size_t,size_t,size_t
)
:
void*
mi_heap_calloc_aligned_at
(
mi_heap_t*,size_t,size_t,size_t,size_t
)
:
void*
mi_heap_realloc_aligned
(
mi_heap_t*,void*,size_t,size_t
)
:
void*
mi_heap_realloc_aligned_at
(
mi_heap_t*,void*,size_t,size_t,size_t
)
:
void*
mi_rezalloc
(
void*,size_t
)
:
void*
mi_recalloc
(
void*,size_t,size_t
)
:
void*
mi_rezalloc_aligned
(
void*,size_t,size_t
)
:
void*
mi_rezalloc_aligned_at
(
void*,size_t,size_t,size_t
)
:
void*
mi_recalloc_aligned
(
void*,size_t,size_t,size_t
)
:
void*
mi_recalloc_aligned_at
(
void*,size_t,size_t,size_t,size_t
)
:
void*
mi_heap_rezalloc
(
mi_heap_t*,void*,size_t
)
:
void*
mi_heap_recalloc
(
mi_heap_t*,void*,size_t,size_t
)
:
void*
mi_heap_rezalloc_aligned
(
mi_heap_t*,void*,size_t,size_t
)
:
void*
mi_heap_rezalloc_aligned_at
(
mi_heap_t*,void*,size_t,size_t,size_t
)
:
void*
mi_heap_recalloc_aligned
(
mi_heap_t*,void*,size_t,size_t,size_t
)
:
void*
mi_heap_recalloc_aligned_at
(
mi_heap_t*,void*,size_t,size_t,size_t,size_t
)
:
void*
mi_heap_contains_block
(
mi_heap_t*,const void*
)
:
bool
mi_heap_check_owned
(
mi_heap_t*,const void*
)
:
bool
mi_check_owned
(
const void*
)
:
bool
mi_heap_area_s
blocks
:
void*
reserved
:
size_t
committed
:
size_t
used
:
size_t
block_size
:
size_t
full_block_size
:
size_t
mi_heap_area_t
:
struct mi_heap_area_s
blocks
:
void*
reserved
:
size_t
committed
:
size_t
used
:
size_t
block_size
:
size_t
full_block_size
:
size_t
mi_block_visit_fun
:
bool()(const mi_heap_t*,const mi_heap_area_t*,void*,size_t,void*)
mi_heap_visit_blocks
(
const mi_heap_t*,bool,mi_block_visit_fun*,void*
)
:
bool
mi_is_in_heap_region
(
const void*
)
:
bool
mi_is_redirected
(
void
)
:
bool
mi_reserve_huge_os_pages_interleave
(
size_t,size_t,size_t
)
:
int
mi_reserve_huge_os_pages_at
(
size_t,int,size_t
)
:
int
mi_reserve_os_memory
(
size_t,bool,bool
)
:
int
mi_manage_os_memory
(
void*,size_t,bool,bool,bool,int
)
:
bool
mi_debug_show_arenas
(
void
)
:
void
mi_arena_id_t
:
int
mi_arena_area
(
mi_arena_id_t,size_t*
)
:
void*
mi_reserve_huge_os_pages_at_ex
(
size_t,int,size_t,bool,mi_arena_id_t*
)
:
int
mi_reserve_os_memory_ex
(
size_t,bool,bool,bool,mi_arena_id_t*
)
:
int
mi_manage_os_memory_ex
(
void*,size_t,bool,bool,bool,int,bool,mi_arena_id_t*
)
:
bool
mi_reserve_huge_os_pages
(
size_t,double,size_t*
)
:
int
mi_option_e
mi_option_show_errors
mi_option_show_stats
mi_option_verbose
mi_option_eager_commit
mi_option_deprecated_eager_region_commit
mi_option_deprecated_reset_decommits
mi_option_large_os_pages
mi_option_reserve_huge_os_pages
mi_option_reserve_huge_os_pages_at
mi_option_reserve_os_memory
mi_option_deprecated_segment_cache
mi_option_page_reset
mi_option_abandoned_page_decommit
mi_option_deprecated_segment_reset
mi_option_eager_commit_delay
mi_option_decommit_delay
mi_option_use_numa_nodes
mi_option_limit_os_alloc
mi_option_os_tag
mi_option_max_errors
mi_option_max_warnings
mi_option_max_segment_reclaim
mi_option_allow_decommit
mi_option_segment_decommit_delay
mi_option_decommit_extend_delay
mi_option_destroy_on_exit
_mi_option_last
mi_option_t
:
enum mi_option_e
mi_option_show_errors
mi_option_show_stats
mi_option_verbose
mi_option_eager_commit
mi_option_deprecated_eager_region_commit
mi_option_deprecated_reset_decommits
mi_option_large_os_pages
mi_option_reserve_huge_os_pages
mi_option_reserve_huge_os_pages_at
mi_option_reserve_os_memory
mi_option_deprecated_segment_cache
mi_option_page_reset
mi_option_abandoned_page_decommit
mi_option_deprecated_segment_reset
mi_option_eager_commit_delay
mi_option_decommit_delay
mi_option_use_numa_nodes
mi_option_limit_os_alloc
mi_option_os_tag
mi_option_max_errors
mi_option_max_warnings
mi_option_max_segment_reclaim
mi_option_allow_decommit
mi_option_segment_decommit_delay
mi_option_decommit_extend_delay
mi_option_destroy_on_exit
_mi_option_last
mi_option_is_enabled
(
mi_option_t
)
:
bool
mi_option_enable
(
mi_option_t
)
:
void
mi_option_disable
(
mi_option_t
)
:
void
mi_option_set_enabled
(
mi_option_t,bool
)
:
void
mi_option_set_enabled_default
(
mi_option_t,bool
)
:
void
mi_option_get
(
mi_option_t
)
:
long
mi_option_get_clamp
(
mi_option_t,long,long
)
:
long
mi_option_set
(
mi_option_t,long
)
:
void
mi_option_set_default
(
mi_option_t,long
)
:
void
mi_cfree
(
void*
)
:
void
mi__expand
(
void*,size_t
)
:
void*
mi_posix_memalign
(
void**,size_t,size_t
)
:
int
mi_memalign
(
size_t,size_t
)
:
void*
mi_valloc
(
size_t
)
:
void*
mi_pvalloc
(
size_t
)
:
void*
mi_aligned_alloc
(
size_t,size_t
)
:
void*
mi_reallocarray
(
void*,size_t,size_t
)
:
void*
mi_reallocarr
(
void*,size_t,size_t
)
:
int
mi_aligned_recalloc
(
void*,size_t,size_t,size_t
)
:
void*
mi_aligned_offset_recalloc
(
void*,size_t,size_t,size_t,size_t
)
:
void*
mi_wcsdup
(
const unsigned short*
)
:
unsigned short*
mi_mbsdup
(
const unsigned char*
)
:
unsigned char*
mi_dupenv_s
(
char**,size_t*,const char*
)
:
int
mi_wdupenv_s
(
unsigned short**,size_t*,const unsigned short*
)
:
int
mi_free_size
(
void*,size_t
)
:
void
mi_free_size_aligned
(
void*,size_t,size_t
)
:
void
mi_free_aligned
(
void*,size_t
)
:
void
mi_new
(
size_t
)
:
void*
mi_new_aligned
(
size_t,size_t
)
:
void*
mi_new_nothrow
(
size_t
)
:
void*
mi_new_aligned_nothrow
(
size_t,size_t
)
:
void*
mi_new_n
(
size_t,size_t
)
:
void*
mi_new_realloc
(
void*,size_t
)
:
void*
mi_new_reallocn
(
void*,size_t,size_t
)
:
void*
mi_heap_alloc_new
(
mi_heap_t*,size_t
)
:
void*
mi_heap_alloc_new_n
(
mi_heap_t*,size_t,size_t
)
:
void*
_mi_stl_allocator_common
value_type
:
T
size_type
:
std::size_t
difference_type
:
std::ptrdiff_t
reference
:
value_type&
const_reference
:
value_type const&
pointer
:
value_type*
const_pointer
:
value_type const*
construct
(
U*,Args&&,...
)
{...}
:
void
destroy
(
U*
)
{...}
:
void
max_size
(
)
{...}
:
size_type
address
(
reference
)
{...}
:
pointer
address
(
const_reference
)
{...}
:
const_pointer
mi_stl_allocator
size_type
value_type
pointer
rebind
mi_stl_allocator
(
)
{...}
mi_stl_allocator
(
const mi_stl_allocator&
)
{...}
mi_stl_allocator
(
const mi_stl_allocator<U>&
)
{...}
select_on_container_copy_construction
(
)
{...}
:
mi_stl_allocator
deallocate
(
T*,size_type
)
{...}
:
void
allocate
(
size_type,const void*= 0
)
{...}
:
pointer
operator==
(
const mi_stl_allocator<T1>&,const mi_stl_allocator<T2>&
)
{...}
:
bool
operator!=
(
const mi_stl_allocator<T1>&,const mi_stl_allocator<T2>&
)
{...}
:
bool
_mi_heap_stl_allocator_common
size_type
value_type
pointer
_mi_heap_stl_allocator_common
(
mi_heap_t*
)
{...}
allocate
(
size_type,const void*= 0
)
{...}
:
pointer
collect
(
bool
)
{...}
:
void
is_equal
(
const _mi_heap_stl_allocator_common<U, _mi_destroy>&
)
{...}
:
bool
heap
:
std::shared_ptr<mi_heap_t>
_mi_heap_stl_allocator_common
(
)
{...}
_mi_heap_stl_allocator_common
(
const _mi_heap_stl_allocator_common&
)
{...}
_mi_heap_stl_allocator_common
(
const _mi_heap_stl_allocator_common<U, _mi_destroy>&
)
{...}
heap_delete
(
mi_heap_t*
)
{...}
:
void
heap_destroy
(
mi_heap_t*
)
{...}
:
void
mi_heap_stl_allocator
size_type
mi_heap_stl_allocator
(
)
{...}
mi_heap_stl_allocator
(
mi_heap_t*
)
{...}
mi_heap_stl_allocator
(
const mi_heap_stl_allocator<U>&
)
{...}
select_on_container_copy_construction
(
)
{...}
:
mi_heap_stl_allocator
deallocate
(
T*,size_type
)
{...}
:
void
rebind
operator==
(
const mi_heap_stl_allocator<T1>&,const mi_heap_stl_allocator<T2>&
)
{...}
:
bool
operator!=
(
const mi_heap_stl_allocator<T1>&,const mi_heap_stl_allocator<T2>&
)
{...}
:
bool
mi_heap_destroy_stl_allocator
size_type
mi_heap_destroy_stl_allocator
(
)
{...}
mi_heap_destroy_stl_allocator
(
mi_heap_t*
)
{...}
mi_heap_destroy_stl_allocator
(
const mi_heap_destroy_stl_allocator<U>&
)
{...}
select_on_container_copy_construction
(
)
{...}
:
mi_heap_destroy_stl_allocator
deallocate
(
T*,size_type
)
{...}
:
void
rebind
operator==
(
const mi_heap_destroy_stl_allocator<T1>&,const mi_heap_destroy_stl_allocator<T2>&
)
{...}
:
bool
operator!=
(
const mi_heap_destroy_stl_allocator<T1>&,const mi_heap_destroy_stl_allocator<T2>&
)
{...}
:
bool
All occurrences
Please wait...
Page is in error, reload to recover