per page, with , order by , clip by
Results of 1 - 10 of about 39 for pointers (0.005 sec.)
Curses C API — Python 3.14.8 ドキュメント 12530
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Curses C API テーマ 自動 ライト ダーク | Curses C API ¶ curses exposes a small C inte ... succeeds. PyCurses_API[0] corresponds to PyCursesWindow_Type . PyCurses_API[1] , PyCurses_API[2] , and PyCurses_API[3] are pointers to predicate functions of type int (*)(void) . When called, these predicates return whether curses.setupterm() , curses.in ... PyCursesInitialisedColor . 注釈 The number of entries in this structure is subject to changes. Consider using PyCurses_API_pointers to check if new fields are available or not. PyCurses_API_pointers ¶ The number of accessible fields ( 4 ) in PyCurses_API ... 連キーワード curses PyCurses called predicate macro import void int return setupterm initscr start color but PyCursesWindow pointers macros number fields Macro 目次 Curses C API Internal data 前のトピックへ 型ヒントのためのオブジェクト 次のトピックへ Date ...
https://man.mtool.work/python/3.14/c-api/curses.html
Curses C API — Python 3.14.8 ドキュメント 12530
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » Curses C API テーマ 自動 ライト ダーク | Curses C API ¶ curses exposes a small C inte ... succeeds. PyCurses_API[0] corresponds to PyCursesWindow_Type . PyCurses_API[1] , PyCurses_API[2] , and PyCurses_API[3] are pointers to predicate functions of type int (*)(void) . When called, these predicates return whether curses.setupterm() , curses.in ... PyCursesInitialisedColor . 注釈 The number of entries in this structure is subject to changes. Consider using PyCurses_API_pointers to check if new fields are available or not. PyCurses_API_pointers ¶ The number of accessible fields ( 4 ) in PyCurses_API ... instead. 関連キーワード curses PyCurses called predicate macro import return setupterm initscr start color PyCursesWindow pointers macros number fields Macro checking expansion roughly equivalent typedef module populate Import 目次 Curses C API Internal ...
https://man.mtool.work/python/3.14/c-api/curses.html
Python support for the Linux perf profiler — Python 3.14.8 ドキュメント 11731
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Python support for the Linux perf profiler テーマ 自動 ライト ダーク | Python support for the Linux perf profiler ¶ author : Pablo Galindo The Lin ... | grep 'no-omit-frame-pointer' If you don't see any output it means that your interpreter has not been compiled with frame pointers and therefore it may not be able to show Python functions in the output of perf . How to work without frame pointers ¶ If ... you are working with a Python interpreter that has been compiled without frame pointers, you can still use the perf profiler, but the overhead will be a bit higher because Python needs to generate unwinding inf ... ger stack frames than those with -O1 or higher Adding optimizations ( -O1 , -O2 , etc.) typically reduces stack size Frame pointers ( -fno-omit-frame-pointer ) generally provide more reliable stack unwinding 関連キーワード perf data Python PyEval py pyth ...
https://man.mtool.work/python/3.14/howto/perf_profiling.html
Python support for the Linux perf profiler — Python 3.14.8 ドキュメント 11731
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Python support for the Linux perf profiler テーマ 自動 ライト ダーク | Python support for the Linux perf profiler ¶ author : Pablo Galindo The Lin ... | grep 'no-omit-frame-pointer' If you don't see any output it means that your interpreter has not been compiled with frame pointers and therefore it may not be able to show Python functions in the output of perf . How to work without frame pointers ¶ If ... you are working with a Python interpreter that has been compiled without frame pointers, you can still use the perf profiler, but the overhead will be a bit higher because Python needs to generate unwinding inf ... ger stack frames than those with -O1 or higher Adding optimizations ( -O1 , -O2 , etc.) typically reduces stack size Frame pointers ( -fno-omit-frame-pointer ) generally provide more reliable stack unwinding 関連キーワード perf PyEval using script stack ...
https://man.mtool.work/python/3.14/howto/perf_profiling.html
同期プリミティブ — Python 3.14.8 ドキュメント 8692
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 同期プリミティブ テーマ 自動 ライト ダーク | 同期プリミティブ ¶ The C-API provides a basic mutual exclusion lock. type PyMutex ¶ ... ng the per-object lock, so other threads can acquire the per-object lock for the same object. Variants that accept PyMutex pointers rather than Python objects are also available. Use these variants to start a critical section in a situation where there i ... m2 ) Note that unlike Py_BEGIN_CRITICAL_SECTION2 , there is no cast for the arguments of the macro - they must be PyMutex pointers. On the default build, this macro expands to { . Added in version 3.14. Py_END_CRITICAL_SECTION2 ( ) ¶ Ends the critical s ...
https://man.mtool.work/python/3.14/c-api/synchronization.html
同期プリミティブ — Python 3.14.8 ドキュメント 8692
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 同期プリミティブ テーマ 自動 ライト ダーク | 同期プリミティブ ¶ The C-API provides a basic mutual exclusion lock. type PyMutex ¶ ... ng the per-object lock, so other threads can acquire the per-object lock for the same object. Variants that accept PyMutex pointers rather than Python objects are also available. Use these variants to start a critical section in a situation where there i ... m2 ) Note that unlike Py_BEGIN_CRITICAL_SECTION2 , there is no cast for the arguments of the macro - they must be PyMutex pointers. On the default build, this macro expands to { . Added in version 3.14. Py_END_CRITICAL_SECTION2 ( ) ¶ Ends the critical s ...
https://man.mtool.work/python/3.14/c-api/synchronization.html
1. Extending Python with C or C++ — Python 3.14.8 ドキュメント 8097
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 1. Extending Python with C or C++ テーマ 自動 ライト ダーク | 1. Extending Python with C or C++ ¶ It is quite easy to add n ... g_ParseTuple ( args , "s" , & command )) return NULL ; It returns NULL (the error indicator for functions returning object pointers) if an error is detected in the argument list, relying on the exception set by PyArg_ParseTuple() . Otherwise the string v ... initializing the C API pointer array: static int spam_module_exec ( PyObject * m ) { static void * PySpam_API [ PySpam_API_pointers ]; PyObject * c_api_object ; /* Initialize the C API pointer array */ PySpam_API [ PySpam_System_NUM ] = ( void * ) PySpam ... m_System_NUM 0 #define PySpam_System_RETURN int #define PySpam_System_PROTO (const char *command) /* Total number of C API pointers */ #define PySpam_API_pointers 1 #ifdef SPAM_MODULE /* This section is used when compiling spammodule.c */ static PySpam_S ...
https://man.mtool.work/python/3.14/extending/extending.html
拡張モジュールを分離する — Python 3.14.8 ドキュメント 8097
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » 拡張モジュールを分離する テーマ 自動 ライト ダーク | 拡張モジュールを分離する ¶ 概要 Traditionally, state belonging to Python extension modules wa ... some module-specific struct , which can store all of the module's C-level state. In particular, it is where you should put pointers to classes (including exceptions, but excluding static types) and settings (e.g. csv 's field_size_limit ) which the C cod ... if module state is not needed in C code, storing it in __dict__ only is a good idea. If the module state includes PyObject pointers, the module object must hold references to those objects and implement the module-level hooks m_traverse , m_clear and m_f ...
https://man.mtool.work/python/3.14/howto/isolating-extensions.html
ctypes --- Python 用の外部関数ライブラリ — Python 3.14.8 ドキュメント 8097
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » ctypes --- Python 用の外部関数ライブラリ テーマ 自動 ライト ダーク | ctypes --- Python 用の外 ... す。: >>> null_ptr = POINTER ( c_int )() >>> print ( bool ( null_ptr )) False >>> ctypes checks for NULL when dereferencing pointers (but dereferencing invalid non- NULL pointers would crash Python): >>> null_ptr [ 0 ] Traceback (most recent call last): . ... types provides a cast() function which can be used in the same way. The Bar structure defined above accepts POINTER(c_int) pointers or c_int arrays for its values field, but not instances of other types: >>> bar . values = ( c_byte * 4 )() Traceback (mos ... . p = p . next [ 0 ] ... foo bar foo bar foo bar foo bar >>> コールバック関数 ¶ ctypes allows creating C callable function pointers from Python callables. These are sometimes called callback functions . 最初に、コールバック関数のためのクラスを作る必要があ ...
https://man.mtool.work/python/3.14/library/ctypes.html
1. Extending Python with C or C++ — Python 3.14.8 ドキュメント 8097
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python インタプリタの拡張と埋め込み » 1. Extending Python with C or C++ テーマ 自動 ライト ダーク | 1. Extending Python with C or C++ ¶ It is quite easy to add n ... g_ParseTuple ( args , "s" , & command )) return NULL ; It returns NULL (the error indicator for functions returning object pointers) if an error is detected in the argument list, relying on the exception set by PyArg_ParseTuple() . Otherwise the string v ... initializing the C API pointer array: static int spam_module_exec ( PyObject * m ) { static void * PySpam_API [ PySpam_API_pointers ]; PyObject * c_api_object ; /* Initialize the C API pointer array */ PySpam_API [ PySpam_System_NUM ] = ( void * ) PySpam ... m_System_NUM 0 #define PySpam_System_RETURN int #define PySpam_System_PROTO (const char *command) /* Total number of C API pointers */ #define PySpam_API_pointers 1 #ifdef SPAM_MODULE /* This section is used when compiling spammodule.c */ static PySpam_S ...
https://man.mtool.work/python/3.14/extending/extending.html
PREV 1 2 3 4 NEXT