Results of 1 - 10 of about 268 for count (0.005 sec.)
- tracemalloc --- メモリ割り当ての追跡 — Python 3.14.8 ドキュメント 10199
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » tracemalloc --- メモリ割り当ての追跡 テーマ 自動 ライト ダーク | tracemalloc --- メモリ割り当ての追跡 ¶ A
...: print ( stat ) Python テストスイートの出力例です: [ Top 10 ] < frozen importlib . _bootstrap > : 716 : size = 4855 KiB , count = 39328 , average = 126 B < frozen importlib . _bootstrap > : 284 : size = 521 KiB , count = 3199 , average = 167 B / usr.../ lib / python3 .4 / collections / __init__ . py : 368 : size = 244 KiB , count = 2315 , average = 108 B / usr / lib / python3 .4 / unittest / case . py : 381 : size = 185 KiB , count = 779 , average =...243 B / usr / lib / python3 .4 / unittest / case . py : 402 : size = 154 KiB , count = 378 , average = 416 B / usr / lib / python3 .4 / abc . py : 133 : size = 88.7 KiB , count = 347 , average = 262 B < froz... - https://man.mtool.work/python/3.14/library/tracemalloc.html
- tracemalloc --- メモリ割り当ての追跡 — Python 3.14.8 ドキュメント 10199
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » tracemalloc --- メモリ割り当ての追跡 テーマ 自動 ライト ダーク | tracemalloc --- メモリ割り当ての追跡 ¶ A
...: print ( stat ) Python テストスイートの出力例です: [ Top 10 ] < frozen importlib . _bootstrap > : 716 : size = 4855 KiB , count = 39328 , average = 126 B < frozen importlib . _bootstrap > : 284 : size = 521 KiB , count = 3199 , average = 167 B / usr.../ lib / python3 .4 / collections / __init__ . py : 368 : size = 244 KiB , count = 2315 , average = 108 B / usr / lib / python3 .4 / unittest / case . py : 381 : size = 185 KiB , count = 779 , average =...243 B / usr / lib / python3 .4 / unittest / case . py : 402 : size = 154 KiB , count = 378 , average = 416 B / usr / lib / python3 .4 / abc . py : 133 : size = 88.7 KiB , count = 347 , average = 262 B < froz... - https://man.mtool.work/python/3.14/library/tracemalloc.html
- trace --- Python 文実行のトレースと追跡 — Python 3.14.8 ドキュメント 9257
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » trace --- Python 文実行のトレースと追跡 テーマ 自動 ライト ダーク | trace --- Python 文実行のトレースと追
...コマンドラインからの使用 ¶ The trace module can be invoked from the command line. It can be as simple as python - m trace -- count - C . somefile . py ... これで、 somefile.py の実行中に import された Python モジュールの注釈付きリストがカレントディレクト...lowing options must be specified when invoking trace . The --listfuncs option is mutually exclusive with the --trace and --count options. When --listfuncs is provided, neither --count nor --trace are accepted, and vice versa. -c , --count ¶ プログラム...e ¶ 実行された通りに行を表示します。 -l , --listfuncs ¶ プログラム実行の際に実行された関数を表示します。 -r , --report ¶ --count と --file 引数を使った過去のプログラム実行結果から、注釈付きリストのファイルを生成します。コードを実行するわけではありませ... - https://man.mtool.work/python/3.14/library/trace.html
- trace --- Python 文実行のトレースと追跡 — Python 3.14.8 ドキュメント 9257
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » trace --- Python 文実行のトレースと追跡 テーマ 自動 ライト ダーク | trace --- Python 文実行のトレースと追
...コマンドラインからの使用 ¶ The trace module can be invoked from the command line. It can be as simple as python - m trace -- count - C . somefile . py ... これで、 somefile.py の実行中に import された Python モジュールの注釈付きリストがカレントディレクト...lowing options must be specified when invoking trace . The --listfuncs option is mutually exclusive with the --trace and --count options. When --listfuncs is provided, neither --count nor --trace are accepted, and vice versa. -c , --count ¶ プログラム...e ¶ 実行された通りに行を表示します。 -l , --listfuncs ¶ プログラム実行の際に実行された関数を表示します。 -r , --report ¶ --count と --file 引数を使った過去のプログラム実行結果から、注釈付きリストのファイルを生成します。コードを実行するわけではありませ... - https://man.mtool.work/python/3.14/library/trace.html
- Python support for free threading — Python 3.14.8 ドキュメント 7894
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Python support for free threading テーマ 自動 ライト ダーク | Python support for free threading ¶ Starting with the 3.13 release, CPython has supp
...lization ¶ In the free-threaded build, some objects are immortal . Immortal objects are not deallocated and have reference counts that are never modified. This is done to avoid reference count contention that would prevent efficient multi-threaded sca...le MIMALLOC_PURGE_DELAY to 0 . Note that this will likely reduce the performance of the allocator. Free-threaded reference counting can cause objects to live longer ¶ In the default build, when an object's reference count reaches zero, it is normally...deallocated. The free-threaded build uses "biased reference counting", with a fast-path for objects "owned" by the current thread and a slow path for other objects. See PEP 703 for additio... - https://man.mtool.work/python/3.14/howto/free-threading-python.html
- Python support for free threading — Python 3.14.8 ドキュメント 7894
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Python support for free threading テーマ 自動 ライト ダーク | Python support for free threading ¶ Starting with the 3.13 release, CPython has supp
...lization ¶ In the free-threaded build, some objects are immortal . Immortal objects are not deallocated and have reference counts that are never modified. This is done to avoid reference count contention that would prevent efficient multi-threaded sca...le MIMALLOC_PURGE_DELAY to 0 . Note that this will likely reduce the performance of the allocator. Free-threaded reference counting can cause objects to live longer ¶ In the default build, when an object's reference count reaches zero, it is normally...deallocated. The free-threaded build uses "biased reference counting", with a fast-path for objects "owned" by the current thread and a slow path for other objects. See PEP 703 for additio... - https://man.mtool.work/python/3.14/howto/free-threading-python.html
- atexit --- 終了ハンドラー — Python 3.14.8 ドキュメント 7316
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » atexit --- 終了ハンドラー テーマ 自動 ライト ダーク | atexit --- 終了ハンドラー ¶ The atexit module def
...リケーションがこのモジュールを明示的に呼び出さなくてもカウンタが更新されるようにする方法を示しています。 try : with open ( 'counterfile' ) as infile : _count = int ( infile . read ()) except FileNotFoundError : _count = 0 def incrcounter ( n ): global..._count _count = _count + n def savecounter (): with open ( 'counterfile' , 'w' ) as outfile : outfile . write ( ' %d ' % _count )...import atexit atexit . register ( savecounter ) register() に指定した位置引数とキーワード引数は登録した関数を呼び出す際に渡されます: def goodbye ( name , adjective ):... - https://man.mtool.work/python/3.14/library/atexit.html
- dis --- Python バイトコードの逆アセンブラー — Python 3.14.8 ドキュメント 7316
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » dis --- Python バイトコードの逆アセンブラー テーマ 自動 ライト ダーク | dis --- Python バイトコードの逆アセンブ
...es. As a consequence, the presence of the CACHE instructions is transparent for forward jumps but needs to be taken into account when reasoning about backward jumps. バージョン 3.13 で変更: The output shows logical labels rather than instruction offse...( namei ) ¶ Implements del name , where namei is the index into co_names attribute of the code object . UNPACK_SEQUENCE ( count ) ¶ Unpacks STACK[-1] into count individual values, which are put onto the stack right-to-left. Require there to be exactl...y count values.: assert ( len ( STACK [ - 1 ]) == count ) STACK . extend ( STACK . pop ()[: - count - 1 : - 1 ]) UNPACK_EX ( count... - https://man.mtool.work/python/3.14/library/dis.html
- atexit --- 終了ハンドラー — Python 3.14.8 ドキュメント 7316
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » atexit --- 終了ハンドラー テーマ 自動 ライト ダーク | atexit --- 終了ハンドラー ¶ The atexit module def
...リケーションがこのモジュールを明示的に呼び出さなくてもカウンタが更新されるようにする方法を示しています。 try : with open ( 'counterfile' ) as infile : _count = int ( infile . read ()) except FileNotFoundError : _count = 0 def incrcounter ( n ): global..._count _count = _count + n def savecounter (): with open ( 'counterfile' , 'w' ) as outfile : outfile . write ( ' %d ' % _count )...import atexit atexit . register ( savecounter ) register() に指定した位置引数とキーワード引数は登録した関数を呼び出す際に渡されます: def goodbye ( name , adjective ):... - https://man.mtool.work/python/3.14/library/atexit.html
- dis --- Python バイトコードの逆アセンブラー — Python 3.14.8 ドキュメント 7316
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » dis --- Python バイトコードの逆アセンブラー テーマ 自動 ライト ダーク | dis --- Python バイトコードの逆アセンブ
...es. As a consequence, the presence of the CACHE instructions is transparent for forward jumps but needs to be taken into account when reasoning about backward jumps. バージョン 3.13 で変更: The output shows logical labels rather than instruction offse...( namei ) ¶ Implements del name , where namei is the index into co_names attribute of the code object . UNPACK_SEQUENCE ( count ) ¶ Unpacks STACK[-1] into count individual values, which are put onto the stack right-to-left. Require there to be exactl...y count values.: assert ( len ( STACK [ - 1 ]) == count ) STACK . extend ( STACK . pop ()[: - count - 1 : - 1 ]) UNPACK_EX ( count... - https://man.mtool.work/python/3.14/library/dis.html