Python 3.6.5 ドキュメント 検索
Results of 1 - 10 of about 17 for PyMem (0.006 sec.)
- メモリ管理 — Python 3.6.5 ドキュメント 15397
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...(1, 1) ) を呼びます。 バージョン 3.4 で追加. void* PyMem_RawMalloc ( size_t n ) ¶ n バイトを割り当て、そのメ...失敗した場合 NULL を返します。 0バイトを要求すると、 PyMem_RawMalloc(1) が呼ばれたときと同じように、可能なら...れたメモリーにはいかなる初期化も行われません。 void* PyMem_RawCalloc ( size_t nelem , size_t elsize ) ¶ 各要素...数か要素のサイズが0バイトの要求に対しては、可能なら PyMem_RawCalloc(1, 1) が呼ばれたのと同じように、ユニーク... - https://man.plustar.jp/python/c-api/memory.html - [similar]
- What's New In Python 3.6 — Python 3.6.5 ドキュメント 8931
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...on メモリアロケータ API の違反を検知します。例えば PyMem_Malloc() で割り当てられたメモリブロックに PyObject...k that the GIL is held when allocator functions of PYMEM_DOMAIN_OBJ (ex: PyObject_Malloc() ) and PYMEM_DOMA...IN_MEM (ex: PyMem_Malloc() ) domains are called. Checking if the GIL...held is also a new feature of Python 3.6. See the PyMem_SetupDebugHooks() function for debug hooks on Pyth... - https://man.plustar.jp/python/whatsnew/3.6.html - [similar]
- 超高水準レイヤ — Python 3.6.5 ドキュメント 8793
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...行編集機能やタブ補完機能を提供しています。 返り値は PyMem_RawMalloc() または PyMem_RawRealloc() でメモリ確保...ければなりません。 バージョン 3.4 で変更: 返り値は、 PyMem_Malloc() や PyMem_Realloc() ではなく、 PyMem_RawMa...lloc() または PyMem_RawRealloc() でメモリ確保したものでなければなりませ... - https://man.plustar.jp/python/c-api/veryhigh.html - [similar]
- 1. コマンドラインと環境 — Python 3.6.5 ドキュメント 8742
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python のセットアッ
...lloc() function of the C library for all domains ( PYMEM_DOMAIN_RAW , PYMEM_DOMAIN_MEM , PYMEM_DOMAIN_OBJ ).... pymalloc : use the pymalloc allocator for PYMEM_DOMAIN_MEM and PYMEM_DOMAIN_OBJ domains and use th...e malloc() function for the PYMEM_DOMAIN_RAW domain. Install debug hooks: debug : in...lease mode and malloc_debug in debug mode. See the PyMem_SetupDebugHooks() function for debug hooks on Pyth... - https://man.plustar.jp/python/using/cmdline.html - [similar]
- オペレーティングシステム関連のユーティリティ — Python 3.6.5 ドキュメント 8207
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...er to a newly allocated wide character string, use PyMem_RawFree() to free the memory. If size is not NULL...へのポインタを返します。 このメモリを解放するのには PyMem_Free() を使ってください。 エンコードエラーかメモリ... - https://man.plustar.jp/python/c-api/sys.html - [similar]
- Python 3 への拡張モジュール移植 — Python 3.6.5 ドキュメント 8207
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Pyth
...) * sizeof ( char ); char * name_dup = ( char * ) PyMem_MALLOC ( name_length ); if ( ! name_dup ) { return...} EXIT : Py_XDECREF ( object ); if ( name_dup ) { PyMem_FREE ( name_dup ); } return return_value ; } #endi... - https://man.plustar.jp/python/howto/cporting.html - [similar]
- Unicode オブジェクトと codec — Python 3.6.5 ドキュメント 8121
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...PyUnicode_AsUCS4Copy ( PyObject *u ) ¶ 文字列 u を PyMem_Malloc() でメモリ確保された新しい UCS4 型のバッファ...たバッファを返します (このバッファを解放するときには PyMem_Free() を使ってください)。 結果の Py_UNICODE 文字列...キャラクター文字の個数を書き込みます。 成功のときは PyMem_Alloc() でメモリ確保されたバッファ (解放するには P... - https://man.plustar.jp/python/c-api/unicode.html - [similar]
- What's New in Python 2.5 — Python 3.6.5 ドキュメント 8121
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...emory that are grouped into families. For example, PyMem_Malloc() , PyMem_Realloc() , and PyMem_Free() are...you got things wrong and allocated memory with the PyMem() function but freed it with the PyObject() functi...を参照して下さい。 C API: obmalloc の変更により、 PyMem_*() 系関数と PyObject_*() 系関数を混ぜて使わないよ... - https://man.plustar.jp/python/whatsnew/2.5.html - [similar]
- 文字列の変換と書式化 — Python 3.6.5 ドキュメント 8069
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...した場合は NULL です。呼び出し側は、返された文字列を PyMem_Free() を使って解放する責任があります。 バージョン... - https://man.plustar.jp/python/c-api/conversion.html - [similar]
- What's New In Python 3.4 — Python 3.6.5 ドキュメント 8069
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...onPointer コールバックは、エラー時に NULL を返すか PyMem_RawMalloc() または PyMem_RawRealloc() でアロケート...した文字列を返さなければなりません。 PyMem_Malloc() や PyMem_Realloc() でアロケートした文字列... - https://man.plustar.jp/python/whatsnew/3.4.html - [similar]
