per page, with , order by , clip by
Results of 1 - 10 of about 15 for algorithm (0.010 sec.)
PyHash API 15186
PyHash API PyTypeObject.tp_hash メンバや 数値型のハッシュ化 も参照してください。 type Py_hash_t ハッシュ値型: 符号付き整数。 Added in version 3.2. type Py_uhash_t ハッシュ値型: 符号なし整数。 Added in version 3.2. Py_HASH_ALGORITHM str 、 b ... ytes 、 memoryview のハッシュに使うアルゴリズムを示す数値です。 アルゴリズム名は sys.hash_info.algorithm により公開されます。 Added in version 3.4. Py_HASH_FNV Py_HASH_SIPHASH24 Py_HASH_SIPHASH13 Py_HASH_EXTERNAL Numerical valu ... es to compare to Py_HASH_ALGORITHM to determine which algorithm is used for hashing. The built-in hash algorithm can be configured via the configure --with-h ... ash-algorithm option. Py_HASH_EXTERNAL has value 0 and indicates a hash implementation supplied by the application embedding Python; see ...
https://man.mtool.work/python/3.14/c-api/hash.html
imaplib --- IMAP4 プロトコルクライアント 8586
imaplib --- IMAP4 プロトコルクライアント ソースコード: Lib/imaplib.py このモジュールは、IMAP4 サーバへの接続をカプセル化する IMAP4 、 IMAP4_SSL 、 IMAP4_stream の 3 クラスを定義します。 これらは RFC 3501 で定義された IMAP4rev1 クライアントプ ... た場合も処理します。 IMAP4. subscribe ( mailbox ) 新たなメールボックスを購読 (subscribe) します。 IMAP4. thread ( threading_algorithm , charset , search_criterion [ , ... ] ) thread コマンドは search にスレッドの概念を加えた変形版です。返されるデータは空白 ... ージ番号からなり、空白で区切られており、親子関係を示しています。 thread コマンドは search_criterion 引数より前に、 threading_algorithm と検索用の charset という 2 つの引数を取ります。 search と異なり、検索用の charset 引数は必須です。 uid thread コマンドもあ ...
https://man.mtool.work/python/3.14/library/imaplib.html
Pythonモジュール索引 8464
Pythonモジュール索引 _ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | z _ __future__ Future statement definitions __main__ The environment where top-level code is run. Covers command-line i ... ork. binascii Tools for converting between binary and various ASCII-encoded binary representations. bisect Array bisection algorithms for binary searching. builtins The module that provides the built-in namespace. bz2 Interfaces for bzip2 compression and ... ends). gzip Interfaces for gzip compression and decompression using file objects. h hashlib Secure hash and message digest algorithms. heapq Heap queue algorithm (a.k.a. priority queue). hmac Keyed-Hashing for Message Authentication (HMAC) implementation ...
https://man.mtool.work/python/3.14/py-modindex.html
組み込み型 8324
組み込み型 以下のセクションでは、インタプリタに組み込まれている標準型について記述します。 主要な組み込み型は、数値、シーケンス、マッピング、クラス、インスタンス、および例外です。 コレクションクラスには、ミュータブルなものがあります。コレクシ ... されます。 例えば、次のようになります: >>> 'straße' . lower () 'straße' >>> 'straße' . casefold () 'strasse' The casefolding algorithm is described in section 3.13 'Default Case Folding' of the Unicode Standard . Added in version 3.3. str. center ( width , ... コピーを返します。 例えば、次のようになります: >>> 'Lower Method Example' . lower () 'lower method example' The lowercasing algorithm used is described in section 3.13 'Default Case Folding' of the Unicode Standard . str. lstrip ( chars = None , / ) 文字列 ... 文字の Unicode カテゴリが "Lu" ではなく例えば "Lt" (Letter, titlecase) などであったら、 False になりえます。 The uppercasing algorithm used is described in section 3.13 'Default Case Folding' of the Unicode Standard . str. zfill ( width , / ) 長さが width に ...
https://man.mtool.work/python/3.14/builtins/stdtypes.html
lzma --- LZMA アルゴリズムを使用した圧縮 8324
lzma --- LZMA アルゴリズムを使用した圧縮 Added in version 3.3. ソースコード: Lib/lzma.py このモジュールは LZMA 圧縮アルゴリズムを使用したデータ圧縮および展開のためのクラスや便利な関数を提供しています。また、 xz ユーティリティを使用した .xz ... 。 lzma. CHECK_CRC64 64 ビットの巡回冗長検査です。 FORMAT_XZ のデフォルトです。 lzma. CHECK_SHA256 256 ビットの Secure Hash Algorithm。 lzma. CHECK_UNKNOWN ストリームが使用するインテグリティチェックをまだ判定できていません。 十分な入力をデコードするまで、 L ...
https://man.mtool.work/python/3.14/library/lzma.html
sys --- システム固有のパラメーターと関数 8324
sys --- システム固有のパラメーターと関数 このモジュールは、インタープリタが使用または管理する変数と、インタープリタに密接に関わる関数を提供します。 常に利用できます。 特に明記されていない限り、すべての変数は読み出し専用です。 sys. abiflags ... に対して返すハッシュ値。 hash_info. nan (この属性は現在使われていません) hash_info. imag 複素数の虚部に使う乗数。 hash_info. algorithm str、bytes、memoryview のハッシュに使うアルゴリズムの名前。 hash_info. hash_bits ハッシュアルゴリズムの内部の出力サイズ。 ... cutoff 短い文字列に対する DJBX33A の最適化を適用する範囲 [1, cutoff) の上限。 Added in version 3.2. バージョン 3.4 で変更: algorithm 、 hash_bits 、 seed_bits 、 cutoff が追加されました。 sys. hexversion 一つの整数にエンコードされたバージョン番号。 この値 ...
https://man.mtool.work/python/3.14/library/sys.html
What's New in Python 2.7 8324
What's New in Python 2.7 著者 : A.M. Kuchling (amk at amk.ca) この文書は Python 2.7 の新機能について解説します。Python 2.7 は 2010 年 7 月 3 日にリリースされました。 数値周りの扱いが、浮動小数点数でも Decimal クラスでもいろいろな点で改良され ... ます。(Fixed by Tadek Pietraszek and Brian Curtin; bpo-2846 .) 新属性: hashlib に、対応するアルゴリズム名のタプルを保持する algorithms が加わりました。 Python 2.7 の hashlib.algorithms は ('md5', 'sha1', 'sha224', 'sha256', 'sha384', 'sha512') です。 (Carl ... Antoine Pitrou; bpo-8104 .) The SocketServer module's TCPServer class now supports socket timeouts and disabling the Nagle algorithm. The disable_nagle_algorithm class attribute defaults to False ; if overridden to be true, new request connections will ha ... 正、 bpo-8222 )。 The wrap_socket() constructor function now takes a ciphers argument that's a string listing the encryption algorithms to be allowed; the format of the string is described in the OpenSSL documentation . (Added by Antoine Pitrou; bpo-8322 .) ...
https://man.mtool.work/python/3.14/whatsnew/2.7.html
random --- 疑似乱数を生成する 8202
random --- 疑似乱数を生成する ソースコード: Lib/random.py このモジュールでは様々な分布をもつ擬似乱数生成器を実装しています。 整数用に、ある範囲からの一様な選択があります。 シーケンス用には、シーケンスからのランダムな要素の一様な選択、リスト ... . random () 0.05954861408025609 >>> fr . expovariate ( 0.25 ) 8.87925541791544 The recipe is conceptually equivalent to an algorithm that chooses from all the multiples of 2⁻¹⁰⁷⁴ in the range 0.0 ≤ x < 1.0 . All such numbers are evenly spaced, but most ha ...
https://man.mtool.work/python/3.14/library/random.html
unittest.mock --- 入門 8202
unittest.mock --- 入門 Added in version 3.3. Mock を使う モックでメソッドにパッチを当てる 一般的な Mock の使い方の中には次のものがあります: メソッドにパッチを当てる オブジェクトに対するメソッド呼び出しを記録する システムの他の部分からメソッ ... till return normal dates. Without this you can find yourself having to calculate an expected result using exactly the same algorithm as the code under test, which is a classic testing anti-pattern. dateコンストラクタの呼び出しは、 mock_date の属性( call_c ...
https://man.mtool.work/python/3.14/library/unittest.mock-examples.html
What's New In Python 3.2 8202
What's New In Python 3.2 著者 : Raymond Hettinger この記事では Python 3.1 と比較した Python 3.2 の新機能を説明します。 Python 3.2 は 2011 年 2 月 20 日にリリースされました。 主な変更点をいくつか取り上げ、例を示します。 すべての詳細については ... 障されているハッシュアルゴリズムのリストと、現在の実装で利用可能なそれらリストの 2 つです: >>> import hashlib >>> hashlib . algorithms_guaranteed {'sha1', 'sha224', 'sha384', 'sha256', 'sha512', 'md5'} >>> hashlib . algorithms_available {'md2', 'SHA256', ' ... enSSL の全ての暗号とメッセージダイジェストアルゴリズムをロードします。SSL 証明書の中に検証できないものがある場合、"unknown algorithm" エラーを報告します。 使われている OpenSSL のバージョンを、モジュール属性 ssl.OPENSSL_VERSION (文字列)、 ssl.OPENSSL_VERSI ... (順序に関わらず同じ要素が同じ数だけ出現するかどうか) をテストします: def test_anagram ( self ): self . assertCountEqual ( 'algorithm' , 'logarithm' ) (Contributed by Raymond Hettinger.) unittest モジュールの大事な特長は、テスト失敗時の有意義な診断を生成す ...
https://man.mtool.work/python/3.14/whatsnew/3.2.html
PREV 1 2 NEXT