per page, with , order by , clip by
Results of 1 - 10 of about 46 for PyMem (0.009 sec.)
メモリ管理 — Python 3.14.8 ドキュメント 14432
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » メモリ管理 テーマ 自動 ライト ダーク | メモリ管理 ¶ 概要 ¶ Python におけるメモリ管理には、全ての Python オブジェクトとデータ構造が ... の統計情報を表示できます。 Allocator Domains ¶ All allocating functions belong to one of three different "domains" (see also PyMemAllocatorDomain ). These domains represent different allocation strategies and are optimized for different purposes. The sp ... efault Memory Allocators . The APIs used to allocate and free a block of memory must be from the same domain. For example, PyMem_Free() must be used to free memory allocated using PyMem_Malloc() . The three allocation domains are: Raw domain: intended ... s was only a best practice and not a hard requirement. For example, buffers (non-Python objects) should be allocated using PyMem_Malloc() , PyMem_RawMalloc() , or malloc() , but not PyObject_Malloc() . See Memory Allocation APIs . 生メモリインターフェ ...
https://man.mtool.work/python/3.14/c-api/memory.html
メモリ管理 — Python 3.14.8 ドキュメント 14432
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » メモリ管理 テーマ 自動 ライト ダーク | メモリ管理 ¶ 概要 ¶ Python におけるメモリ管理には、全ての Python オブジェクトとデータ構造が ... の統計情報を表示できます。 Allocator Domains ¶ All allocating functions belong to one of three different "domains" (see also PyMemAllocatorDomain ). These domains represent different allocation strategies and are optimized for different purposes. The sp ... efault Memory Allocators . The APIs used to allocate and free a block of memory must be from the same domain. For example, PyMem_Free() must be used to free memory allocated using PyMem_Malloc() . The three allocation domains are: Raw domain: intended ... s was only a best practice and not a hard requirement. For example, buffers (non-Python objects) should be allocated using PyMem_Malloc() , PyMem_RawMalloc() , or malloc() , but not PyObject_Malloc() . See Memory Allocation APIs . 生メモリインターフェ ...
https://man.mtool.work/python/3.14/c-api/memory.html
Python 初期化設定 — Python 3.14.8 ドキュメント 8665
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Python 初期化設定 テーマ 自動 ライト ダーク | Python 初期化設定 ¶ PyInitConfig C API ¶ Added in version 3.14. Python は Py_Initia ... tions to create a status set func to NULL . 以下はプログラム例です: PyStatus alloc ( void ** ptr , size_t size ) { * ptr = PyMem_RawMalloc ( size ); if ( * ptr == NULL ) { return PyStatus_NoMemory (); } return PyStatus_Ok (); } int main ( int argc , c ... * ptr ; PyStatus status = alloc ( & ptr , 16 ); if ( PyStatus_Exception ( status )) { Py_ExitStatusException ( status ); } PyMem_Free ( ptr ); return 0 ; } PyPreConfig ¶ type PyPreConfig ¶ Structure used to preinitialize Python. Function to initialize ... the preconfiguration with Isolated Configuration . 構造体フィールド: int allocator ¶ Name of the Python memory allocators: PYMEM_ALLOCATOR_NOT_SET ( 0 ): don't change memory allocators (use defaults). PYMEM_ALLOCATOR_DEFAULT ( 1 ): default memory allo ...
https://man.mtool.work/python/3.14/c-api/init_config.html
Python 初期化設定 — Python 3.14.8 ドキュメント 8665
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » Python 初期化設定 テーマ 自動 ライト ダーク | Python 初期化設定 ¶ PyInitConfig C API ¶ Added in version 3.14. Python は Py_Initia ... tions to create a status set func to NULL . 以下はプログラム例です: PyStatus alloc ( void ** ptr , size_t size ) { * ptr = PyMem_RawMalloc ( size ); if ( * ptr == NULL ) { return PyStatus_NoMemory (); } return PyStatus_Ok (); } int main ( int argc , c ... * ptr ; PyStatus status = alloc ( & ptr , 16 ); if ( PyStatus_Exception ( status )) { Py_ExitStatusException ( status ); } PyMem_Free ( ptr ); return 0 ; } PyPreConfig ¶ type PyPreConfig ¶ Structure used to preinitialize Python. Function to initialize ... the preconfiguration with Isolated Configuration . 構造体フィールド: int allocator ¶ Name of the Python memory allocators: PYMEM_ALLOCATOR_NOT_SET ( 0 ): don't change memory allocators (use defaults). PYMEM_ALLOCATOR_DEFAULT ( 1 ): default memory allo ...
https://man.mtool.work/python/3.14/c-api/init_config.html
索引 — Python 3.14.8 ドキュメント 8192
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – P p (pdb command) P_ALL (os モジュール) P_DETACH (os モジュール) P_NOWAIT (os モジュール) P_NOWAITO (os モジュール) P_OVERLAY (os モジ ... PyMarshal_WriteLongToFile (C function) PyMarshal_WriteObjectToFile (C function) PyMarshal_WriteObjectToString (C function) PyMem_Calloc (C function) PyMem_Del (C function) PyMem_DEL (C macro) PYMEM_DOMAIN_MEM (C macro) PYMEM_DOMAIN_OBJ (C macro) PYMEM ... _DOMAIN_RAW (C macro) PyMem_Free (C function) PyMem_FREE (C macro) PyMem_GetAllocator (C function) PyMem_Malloc (C function) PyMem_MALLOC (C macro) Py ... Mem_NEW (C macro) PyMem_New (C macro) PyMem_RawCalloc (C function) PyMem_RawFree (C function) PyMem_RawMalloc (C function) PyMem_RawRealloc (C fun ...
https://man.mtool.work/python/3.14/genindex-P.html
索引 — Python 3.14.8 ドキュメント 8192
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – P p (pdb command) P_ALL (os モジュール) P_DETACH (os モジュール) P_NOWAIT (os モジュール) P_NOWAITO (os モジュール) P_OVERLAY (os モジ ... PyMarshal_WriteLongToFile (C function) PyMarshal_WriteObjectToFile (C function) PyMarshal_WriteObjectToString (C function) PyMem_Calloc (C function) PyMem_Del (C function) PyMem_DEL (C macro) PYMEM_DOMAIN_MEM (C macro) PYMEM_DOMAIN_OBJ (C macro) PYMEM ... _DOMAIN_RAW (C macro) PyMem_Free (C function) PyMem_FREE (C macro) PyMem_GetAllocator (C function) PyMem_Malloc (C function) PyMem_MALLOC (C macro) Py ... Mem_NEW (C macro) PyMem_New (C macro) PyMem_RawCalloc (C function) PyMem_RawFree (C function) PyMem_RawMalloc (C function) PyMem_RawRealloc (C fun ...
https://man.mtool.work/python/3.14/genindex-P.html
C API Stability — Python 3.14.8 ドキュメント 7887
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » C API Stability テーマ 自動 ライト ダーク | C API Stability ¶ Unless documented otherwise, Python's C API is covered by the Backw ... rror() PyMapping_Items() PyMapping_Keys() PyMapping_Length() PyMapping_SetItemString() PyMapping_Size() PyMapping_Values() PyMem_Calloc() PyMem_Free() PyMem_Malloc() PyMem_RawCalloc() PyMem_RawFree() PyMem_RawMalloc() PyMem_RawRealloc() PyMem_Realloc( ... ) PyMemberDef PyMemberDescr_Type PyMember_GetOne() PyMember_SetOne() PyMemoryView_FromBuffer() PyMemoryView_FromMemory() PyMemoryV ... iew_FromObject() PyMemoryView_GetContiguous() PyMemoryView_Type PyMethodDef PyMethodDescr_Type PyModuleDef PyModuleDef_Base PyModuleDef_Init() Py ...
https://man.mtool.work/python/3.14/c-api/stable.html
C API Stability — Python 3.14.8 ドキュメント 7887
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » C API Stability テーマ 自動 ライト ダーク | C API Stability ¶ Unless documented otherwise, Python's C API is covered by the Backw ... rror() PyMapping_Items() PyMapping_Keys() PyMapping_Length() PyMapping_SetItemString() PyMapping_Size() PyMapping_Values() PyMem_Calloc() PyMem_Free() PyMem_Malloc() PyMem_RawCalloc() PyMem_RawFree() PyMem_RawMalloc() PyMem_RawRealloc() PyMem_Realloc( ... ) PyMemberDef PyMemberDescr_Type PyMember_GetOne() PyMember_SetOne() PyMemoryView_FromBuffer() PyMemoryView_FromMemory() PyMemoryV ... iew_FromObject() PyMemoryView_GetContiguous() PyMemoryView_Type PyMethodDef PyMethodDescr_Type PyModuleDef PyModuleDef_Base PyModuleDef_Init() Py ...
https://man.mtool.work/python/3.14/c-api/stable.html
超高水準レイヤ — Python 3.14.8 ドキュメント 7795
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 超高水準レイヤ テーマ 自動 ライト ダーク | 超高水準レイヤ ¶ この章の関数を使うとファイルまたはバッファにある Python ソースコードを ... が期待されています。 例えば、 readline モジュールはこのフックを設定して、行編集機能やタブ補完機能を提供しています。 返り値は PyMem_RawMalloc() または PyMem_RawRealloc() でメモリ確保した文字列、あるいはエラーが起きた場合には NULL でなければなりません。 バ ... ージョン 3.4 で変更: 返り値は、 PyMem_Malloc() や PyMem_Realloc() ではなく、 PyMem_RawMalloc() または PyMem_RawRealloc() でメモリ確保したものでなければなりません ... 関連キーワード PyRun filename flags PyObject start 下記 closeit 単純化 インターフェース PyCompilerFlags globals locals code PyMem input SimpleFileExFlags prompt FileExFlags ソースコード functions AnyFileExFlags ファイルシステム エンコーディング デコード ...
https://man.mtool.work/python/3.14/c-api/veryhigh.html
What's New In Python 3.6 — Python 3.14.8 ドキュメント 7750
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.6 テーマ 自動 ライト ダーク | What's New In Python 3.6 ¶ エディタ : Elvis Pranskevichus < elvis @ magic . io >, Yur ... モリを 0xCB バイトで埋めます 解放されたメモリを 0xDB バイトで埋めます Python メモリアロケータ API の違反を検知します。例えば PyMem_Malloc() で割り当てられたメモリブロックに PyObject_Free() を呼ぶこと。 バッファ開始前の書き込み (バッファアンダーフロー) を ... します バッファ終端後の書き込み (バッファオーバーフロー) を検知します Check that the GIL is held when allocator functions of PYMEM_DOMAIN_OBJ (ex: PyObject_Malloc() ) and PYMEM_DOMAIN_MEM (ex: PyMem_Malloc() ) domains are called. Checking if the GIL is ... held is also a new feature of Python 3.6. See the PyMem_SetupDebugHooks() function for debug hooks on Python memory allocators. It is now also possible to force the usage of the ...
https://man.mtool.work/python/3.14/whatsnew/3.6.html
PREV 1 2 3 4 5 NEXT