Results of 1 - 10 of about 62 for hash (0.007 sec.)
- PyHash API 15879
- 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 values to compare to Py_HASH_ALGORITHM to determine which algorithm is used for hashing. The built-in hash algorithm can be configured via the configur...e --with-hash-algorithm option. Py_HASH_EXTERNAL has value 0 and indicates a hash implementation supplied by the application embedding P... - https://man.mtool.work/python/3.14/c-api/hash.html
- dataclasses --- データクラス 10894
- dataclasses --- データクラス ソースコード: Lib/dataclasses.py このモジュールは、 __init__() や __repr__() のような 特殊メソッド を生成し、ユーザー定義のクラスに自動的に追加するデコレーターや関数を提供します。このモジュールは元々、 PEP 557 で
...ersion 3.7. モジュールの内容 @ dataclasses. dataclass ( * , init = True , repr = True , eq = True , order = False , unsafe_hash = False , frozen = False , match_args = True , kw_only = False , slots = False , weakref_slot = False ) この関数は、後述す...lass class C : ... @dataclass () class C : ... @dataclass ( init = True , repr = True , eq = True , order = False , unsafe_hash = False , frozen = False , match_args = True , kw_only = False , slots = False , weakref_slot = False ) class C : ... @dat...クラスがすでに __lt__() 、 __le__() 、 __gt__() 、 __ge__() のいずれかを定義している場合は、 TypeError を送出します。 unsafe_hash : 真の場合、安全でない可能性があっても、 dataclasses に __hash__() メソッドを強制的に作成させます。 それ以外の場合、 eq と... - https://man.mtool.work/python/3.14/library/dataclasses.html
- hashlib --- セキュアハッシュとメッセージダイジェスト 10663
- hashlib --- セキュアハッシュとメッセージダイジェスト ソースコード: Lib/hashlib.py このモジュールは、多くの異なるハッシュアルゴリズムに共通のインターフェースを実装しています。 FIPS のセキュアハッシュアルゴリズム SHA224、SHA256、SHA384、SHA51
...21 で定義) が含まれます。 注釈 adler32 や crc32 ハッシュ関数は zlib モジュールで提供されています。 ハッシュアルゴリズム 各 hash の名前が付いたコンストラクタがあります。いずれも同一で簡単なインターフェイスのあるハッシュオブジェクトを返します。例えば、...pdate メソッドに一度に 2047 バイトを超えるデータを渡すと、ハッシュの計算中は Python の GIL を解放します。 Constructors for hash algorithms that are always present in this module are sha1() , sha224() , sha256() , sha384() , sha512() , sha3_224() , sh..."FIPS compliant" build of Python. These correspond to algorithms_guaranteed . 使用している Python ディストリビューションの hashlib が、ほかのアルゴリズムを提供する OpenSSL ビルドにリンクされている場合は、それらも利用できることがあります。 これらは す... - https://man.mtool.work/python/3.14/library/hashlib.html
- 組み込み型 9522
- 組み込み型 以下のセクションでは、インタプリタに組み込まれている標準型について記述します。 主要な組み込み型は、数値、シーケンス、マッピング、クラス、インスタンス、および例外です。 コレクションクラスには、ミュータブルなものがあります。コレクシ
...バックします。 Added in version 3.14. 数値型のハッシュ化 数 x と y に対して、型が異なっていたとしても、 x == y であれば必ず hash(x) == hash(y) であることが要請されます (詳細は __hash__() メソッドドキュメントを参照してください)。実装の簡単さと 複数の数...ンスタンスに 対して適用されます。本質的には、この関数は定数の素数 P に対して P を法とする還元で与えられます。 値 P は、 sys.hash_info の modulus 属性として Python で利用できます。 現在使われている素数は、32 bit C long のマシンでは P = 2**31 - 1 、 64-...の有理数で、 n が P で割り切れないなら、 invmod(n, P) を n を P で割った剰余の (剰余演算の意味での) 逆数を与えるものとして、 hash(x) を m * invmod(n, P) % P と定義します。 x = m / n が非負の有理数で、 n が P で割り切れる (が m は割り切れない) なら、 n... - https://man.mtool.work/python/3.14/builtins/stdtypes.html
- 型オブジェクトの構造体 8452
- 型オブジェクトの構造体 新しい型を定義する PyTypeObject 構造体は、Python のオブジェクトシステムで特に重要な構造体の 1 つです。 型オブジェクトは PyObject_* 関数や PyType_* 関数で扱えますが、ほとんどの Python アプリケーションにとって関心のある
...NumberMethods * sub-slots % tp_as_sequence PySequenceMethods * sub-slots % tp_as_mapping PyMappingMethods * sub-slots % tp_hash hashfunc __hash__ X G tp_call ternaryfunc __call__ X X tp_str reprfunc __str__ X X tp_getattro getattrofunc __getattribute...PyObject * int descrgetfunc PyObject * PyObject * PyObject * PyObject * descrsetfunc PyObject * PyObject * PyObject * int hashfunc PyObject * Py_hash_t richcmpfunc PyObject * PyObject * int PyObject * getiterfunc PyObject * PyObject * iternextfunc P...ethods * tp_as_sequence ; PyMappingMethods * tp_as_mapping ; /* その他の標準の操作 (バイナリ互換性のためこの位置に配置) */ hashfunc tp_hash ; ternaryfunc tp_call ; reprfunc tp_str ; getattrofunc tp_getattro ; setattrofunc tp_setattro ; /* オブジェクト... - https://man.mtool.work/python/3.14/c-api/typeobj.html
- 3. データモデル 8337
- 3. データモデル 3.1. オブジェクト、値、および型 オブジェクト は、Python がデータを抽象化したものです。 Python プログラム内のすべてのデータは、オブジェクトまたはオブジェクト間の関係として表されます。 コードもオブジェクトで表されます。 すべて
...タムの比較演算をサポートしていて、辞書のキーに使うことができる ハッシュ可能 オブジェクトを作るときの重要な注意点について、 __hash__() のドキュメント内に書かれているので参照してください。 これらのメソッドには、左右の引数を入れ替えた版 (左の引数が演算をサ...ッドがどれも NotImplemented 以外の値を返さない場合、 == と != 演算子はそれぞれ is と is not による比較を行います。 object. __hash__ ( self ) Called by built-in function hash() and for operations on members of hashed collections including set , frozense...t , and dict . The __hash__() method should return an integer. The only required property is that objects which compare equal have the same hash val... - https://man.mtool.work/python/3.14/reference/datamodel.html
- 暗号関連のサービス 8279
- 暗号関連のサービス この章で説明するモジュールは、暗号に関するさまざまなアルゴリズムを実装しています。 利用できるかどうかはインストール環境によります。 概要を以下に示します: hashlib --- セキュアハッシュとメッセージダイジェスト ハッシュアルゴ
...る 乱数 トークンの生成 トークンは何バイト使うべきか? その他の関数 レシピとベストプラクティス 他のマニュアルの関連ページ PHP hash_hmac() PHP hash_hmac_file() PHP book.hash PHP md5() PHP openssl.signature-algos PHP md5_file()... - https://man.mtool.work/python/3.14/library/crypto.html
- Python 3.15 で削除予定 8163
- Python 3.15 で削除予定 The PyImport_ImportModuleNoBlock() : Use PyImport_ImportModule() instead. PyWeakref_GetObject() and PyWeakref_GET_OBJECT() : Use PyWeakref_GetRef() instead. The pythoncapi-compat project can be used to get PyWeakref_G
...さい。 Py_UnbufferedStdioFlag :代わりに PyConfig.buffered_stdio または PyConfig_Get("buffered_stdio") を使ってください。 Py_HashRandomizationFlag :代わりに PyConfig.use_hash_seed と PyConfig.hash_seed または PyConfig_Get("hash_seed") を使ってください。...izeFromConfig() API を使ってください。 実行時に値を取得するには PyConfig_Get() を使えます。 他のマニュアルの関連ページ PHP hash() PHP exec() Linux JM hash(3) Linux JM exec(3) Linux JM stdio(3) PHP phpdbg_get_executable()... - https://man.mtool.work/python/3.14/deprecations/c-api-pending-removal-in-3.15.ht...
- Python 初期化設定 7889
- Python 初期化設定 PyInitConfig C API Added in version 3.14. Python は Py_InitializeFromInitConfig() で初期化できます。 Py_RunMain() 関数は、カスタマイズされた Python プログラムを書くために使用できます。 Initialization, Finalization, and Thr
...efix" base_prefix str 公開 "buffered_stdio" buffered_stdio bool 読み出し専用 "bytes_warning" bytes_warning int 公開 "check_hash_pycs_mode" check_hash_pycs_mode str 読み出し専用 "code_debug_ranges" code_debug_ranges bool 読み出し専用 "coerce_c_locale"...出し専用 "filesystem_encoding" filesystem_encoding str 読み出し専用 "filesystem_errors" filesystem_errors str 読み出し専用 "hash_seed" hash_seed int 読み出し専用 "home" home str 読み出し専用 "import_time" import_time int 読み出し専用 "inspect" inspect...nt 読み出し専用 "use_environment" use_environment bool 公開 "use_frozen_modules" use_frozen_modules bool 読み出し専用 "use_hash_seed" use_hash_seed bool 読み出し専用 "use_system_logger" use_system_logger bool 読み出し専用 "user_site_directory" user_s... - https://man.mtool.work/python/3.14/c-api/init_config.html
- GDB による C API 拡張と CPython 内部のデバッグ 7889
- GDB による C API 拡張と CPython 内部のデバッグ このドキュメントでは、Python の GDB 拡張 python-gdb.py を GDB デバッガと組み合わせて、CPython 拡張や CPython インタープリタ自体をデバッグする方法を説明します。 クラッシュやデッドロックなどの低レ
..._fill = 5, ma_used = 5, ma_mask = 7, ma_table = 0x63d0f8, ma_lookup = 0x3dbdc7ea70 <lookdict_string>, ma_smalltable = {{me_hash = 7065186196740147912, me_key = '__builtins__', me_value = <module at remote 0x7ffff7fb1868>}, {me_hash = -368181376027291...943, me_key = '__name__', me_value ='__main__'}, {me_hash = 0, me_key = 0x0, me_value = 0x0}, {me_hash = 0, me_key = 0x0, me_value = 0x0}, {me_hash = -9177857982131165996, me_key =...'ctypes', me_value = <module at remote 0x7ffff7f14360>}, {me_hash = -8518757509529533123, me_key = '__doc__', me_value = None}, {me_hash = 0, me_key = 0x0, me_value = 0x0}, { me_hash = 661... - https://man.mtool.work/python/3.14/howto/gdb_helpers.html