per page, with , order by , clip by
Results of 1 - 10 of about 108 for blocks (0.035 sec.)
tracemalloc --- メモリ割り当ての追跡 — Python 3.14.8 ドキュメント 13204
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » tracemalloc --- メモリ割り当ての追跡 テーマ 自動 ライト ダーク | tracemalloc --- メモリ割り当ての追跡 ¶ A ... ... snapshot = tracemalloc . take_snapshot () top_stats = snapshot . statistics ( 'traceback' ) # pick the biggest memory block stat = top_stats [ 0 ] print ( " %s memory blocks: %.1f KiB" % ( stat . count , stat . size / 1024 )) for line in stat . tr ... . format (): print ( line ) Python テストスイートの出力例です (トレースバックは 25 フレームに制限されています): 903 memory blocks : 870.1 KiB File "<frozen importlib._bootstrap>" , line 716 File "<frozen importlib._bootstrap>" , line 1036 File "<frozen ... オプションの詳細については Snapshot.statistics() を参照してください。 Record the current and peak size of all traced memory blocks ¶ The following code computes two sums like 0 + 1 + 2 + ... inefficiently, by creating a list of those numbers. This list ...
https://man.mtool.work/python/3.14/library/tracemalloc.html
tracemalloc --- メモリ割り当ての追跡 — Python 3.14.8 ドキュメント 13204
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » tracemalloc --- メモリ割り当ての追跡 テーマ 自動 ライト ダーク | tracemalloc --- メモリ割り当ての追跡 ¶ A ... ... snapshot = tracemalloc . take_snapshot () top_stats = snapshot . statistics ( 'traceback' ) # pick the biggest memory block stat = top_stats [ 0 ] print ( " %s memory blocks: %.1f KiB" % ( stat . count , stat . size / 1024 )) for line in stat . tr ... . format (): print ( line ) Python テストスイートの出力例です (トレースバックは 25 フレームに制限されています): 903 memory blocks : 870.1 KiB File "<frozen importlib._bootstrap>" , line 716 File "<frozen importlib._bootstrap>" , line 1036 File "<frozen ... オプションの詳細については Snapshot.statistics() を参照してください。 Record the current and peak size of all traced memory blocks ¶ The following code computes two sums like 0 + 1 + 2 + ... inefficiently, by creating a list of those numbers. This list ...
https://man.mtool.work/python/3.14/library/tracemalloc.html
multiprocessing.shared_memory --- プロセス間で直接アクセス可能な共有メモリ — Py... 11801
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » multiprocessing.shared_memory --- プロセス間で直接アクセス可能な共有メモリ テーマ 自動 ライト ダーク | multiprocessing.s ... ager のサブクラス SharedMemoryManager も提供されます。 In this module, shared memory refers to "POSIX style" shared memory blocks (though is not necessarily implemented explicitly as such) and does not refer to "distributed shared memory". This style o ... tach to that same shared memory block using that same name. As a resource for sharing data across processes, shared memory blocks may outlive the original process that created them. When one process no longer needs access to a shared memory block that ... , authkey ] ] ) ¶ A subclass of multiprocessing.managers.BaseManager which can be used for the management of shared memory blocks across processes. A call to start() on a SharedMemoryManager instance causes a new process to be started. This new process ...
https://man.mtool.work/python/3.14/library/multiprocessing.shared_memory.html
multiprocessing.shared_memory --- プロセス間で直接アクセス可能な共有メモリ — Py... 11086
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 並行実行 » multiprocessing.shared_memory --- プロセス間で直接アクセス可能な共有メモリ テーマ 自動 ライト ダーク | multiprocessing.s ... ager のサブクラス SharedMemoryManager も提供されます。 In this module, shared memory refers to "POSIX style" shared memory blocks (though is not necessarily implemented explicitly as such) and does not refer to "distributed shared memory". This style o ... tach to that same shared memory block using that same name. As a resource for sharing data across processes, shared memory blocks may outlive the original process that created them. When one process no longer needs access to a shared memory block that ... , authkey ] ] ) ¶ A subclass of multiprocessing.managers.BaseManager which can be used for the management of shared memory blocks across processes. A call to start() on a SharedMemoryManager instance causes a new process to be started. This new process ...
https://man.mtool.work/python/3.14/library/multiprocessing.shared_memory.html
変更履歴 — Python 3.14.8 ドキュメント 8101
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac ... from 8k to 128k and adjust open() on platforms where os.fstat() provides a st_blksize field (such as Linux) to use max(min(blocksize, 8 MiB), io.DEFAULT_BUFFER_SIZE) rather than always using the device block size. This should improve I/O performance. P ... de. gh-122697 : Fixed memory leaks at interpreter shutdown in the free-threaded build, and also reporting of leaked memory blocks via -X showrefcount . gh-116622 : Fix Android stdout and stderr messages being truncated or lost. gh-122527 : Fix a crash ... else statements not matching any valid statements, which made in hard to locate the syntax errors inside those elif / else blocks. gh-119879 : String search is now slightly faster for certain cases. It now utilizes last character gap (good suffix rule) ...
https://man.mtool.work/python/3.14/whatsnew/changelog.html
difflib --- 差分の計算の補助 — Python 3.14.8 ドキュメント 7922
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » テキスト処理サービス » difflib --- 差分の計算の補助 テーマ 自動 ライト ダーク | difflib --- 差分の計算の補助 ¶ ソースコード: Lib/di ... のメソッドは named tuple Match(a, b, size) を返します。 バージョン 3.9 で変更: デフォルト引数が追加されました。 get_matching_blocks ( ) ¶ マッチした互いに重複の無いシーケンスを表す、3つ組の値のリストを返します。 それぞれの値は (i, j, n) という形式で表され ... 組は常に隣接していない同じブロックを表しています。 >>> s = SequenceMatcher ( None , "abxcd" , "abcd" ) >>> s . get_matching_blocks () [Match(a=0, b=0, size=2), Match(a=3, b=2, size=2), Match(a=5, b=4, size=0)] get_opcodes ( ) ¶ a を b にするための方法を ... ます。もしシーケンスがまったく同じ場合、値は 1.0 となり、まったく異なる場合には 0.0 となります。 このメソッドは get_matching_blocks() または get_opcodes() がまだ呼び出されていない場合には非常にコストが高いです。この場合、上限を素早く計算するために、 quic ...
https://man.mtool.work/python/3.14/library/difflib.html
difflib --- 差分の計算の補助 — Python 3.14.8 ドキュメント 7922
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » テキスト処理サービス » difflib --- 差分の計算の補助 テーマ 自動 ライト ダーク | difflib --- 差分の計算の補助 ¶ ソースコード: Lib/di ... のメソッドは named tuple Match(a, b, size) を返します。 バージョン 3.9 で変更: デフォルト引数が追加されました。 get_matching_blocks ( ) ¶ マッチした互いに重複の無いシーケンスを表す、3つ組の値のリストを返します。 それぞれの値は (i, j, n) という形式で表され ... 組は常に隣接していない同じブロックを表しています。 >>> s = SequenceMatcher ( None , "abxcd" , "abcd" ) >>> s . get_matching_blocks () [Match(a=0, b=0, size=2), Match(a=3, b=2, size=2), Match(a=5, b=4, size=0)] get_opcodes ( ) ¶ a を b にするための方法を ... ます。もしシーケンスがまったく同じ場合、値は 1.0 となり、まったく異なる場合には 0.0 となります。 このメソッドは get_matching_blocks() または get_opcodes() がまだ呼び出されていない場合には非常にコストが高いです。この場合、上限を素早く計算するために、 quic ...
https://man.mtool.work/python/3.14/library/difflib.html
os --- 雑多なオペレーティングシステムインターフェース — Python 3.14.8 ドキュメ... 7221
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 汎用オペレーティングシステムサービス » os --- 雑多なオペレーティングシステムインターフェース テーマ 自動 ライト ダーク | os --- 雑多 ... ra optimizations, such as the use of reflinks (i.e., two or more inodes that share pointers to the same copy-on-write disk blocks; supported file systems include btrfs and XFS) and server-side copy (in the case of NFS). The function copies bytes betwee ... , st_ctime_ns and st_birthtime_ns . (Linux のような ) 一部の Unix システムでは、以下の属性が利用できる場合があります : st_blocks ¶ ファイルに対して割り当てられている 512 バイトのブロックの数です。ファイルにホール (hole) が含まれている場合、 st_size /5 ... vfs_result ¶ Filesystem statistics returned by os.statvfs() and os.fstatvfs() . See statvfs(3) for more details. f_bsize ¶ Block size. f_frsize ¶ Fragment size. f_blocks ¶ Number of f_frsize sized blocks the filesystem can contain. f_bfree ¶ Number of ...
https://man.mtool.work/python/3.14/library/os.html
What's New in Python 2.5 — Python 3.14.8 ドキュメント 7042
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New in Python 2.5 テーマ 自動 ライト ダーク | What's New in Python 2.5 ¶ 著者 : A.M. Kuchling This article explains the new feature ... tatement came in two flavours. You could use a finally block to ensure that code is always executed, or one or more except blocks to catch specific exceptions. You couldn't combine both except blocks and a finally block, because generating the right by ... else - block finally : final - block The code in block-1 is executed. If the code raises an exception, the various except blocks are tested: if the exception is of class Exception1 , handler-1 is executed; otherwise if it's of class Exception2 , handl ... t ts = dt . datetime . strptime ( '10:13:15 2006-03-07' , '%H:%M:%S %Y-%m- %d ' ) The difflib.SequenceMatcher.get_matching_blocks() method in the difflib module now guarantees to return a minimal list of blocks describing matching subsequences. Previou ...
https://man.mtool.work/python/3.14/whatsnew/2.5.html
What's New in Python 2.5 — Python 3.14.8 ドキュメント 7042
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New in Python 2.5 テーマ 自動 ライト ダーク | What's New in Python 2.5 ¶ 著者 : A.M. Kuchling This article explains the new feature ... tatement came in two flavours. You could use a finally block to ensure that code is always executed, or one or more except blocks to catch specific exceptions. You couldn't combine both except blocks and a finally block, because generating the right by ... else - block finally : final - block The code in block-1 is executed. If the code raises an exception, the various except blocks are tested: if the exception is of class Exception1 , handler-1 is executed; otherwise if it's of class Exception2 , handl ... t ts = dt . datetime . strptime ( '10:13:15 2006-03-07' , '%H:%M:%S %Y-%m- %d ' ) The difflib.SequenceMatcher.get_matching_blocks() method in the difflib module now guarantees to return a minimal list of blocks describing matching subsequences. Previou ...
https://man.mtool.work/python/3.14/whatsnew/2.5.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT