-
-
Notifications
You must be signed in to change notification settings - Fork 224
Expand file tree
/
Copy pathhash.po
More file actions
135 lines (111 loc) · 4.57 KB
/
hash.po
File metadata and controls
135 lines (111 loc) · 4.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
#
# Translators:
# Matt Wang <mattwang44@gmail.com>, 2024
msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-12 00:14+0000\n"
"PO-Revision-Date: 2024-04-30 00:20+0800\n"
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../../c-api/hash.rst:4
msgid "PyHash API"
msgstr "PyHash API"
#: ../../c-api/hash.rst:6
msgid ""
"See also the :c:member:`PyTypeObject.tp_hash` member and :ref:`numeric-hash`."
msgstr "另請參閱 :c:member:`PyTypeObject.tp_hash` 成員和 :ref:`numeric-hash`。"
#: ../../c-api/hash.rst:10
msgid "Hash value type: signed integer."
msgstr "雜湊值型別:有符號整數。"
#: ../../c-api/hash.rst:16
msgid "Hash value type: unsigned integer."
msgstr "雜湊值型別:無符號整數。"
#: ../../c-api/hash.rst:22
msgid ""
"The `Mersenne prime <https://en.wikipedia.org/wiki/Mersenne_prime>`_ ``P = "
"2**n -1``, used for numeric hash scheme."
msgstr ""
"用於數值雜湊方案的\\ `梅森質數 (Mersenne prime) <https://en.wikipedia.org/"
"wiki/Mersenne_prime>`_ ``P = 2**n -1``。"
#: ../../c-api/hash.rst:28
msgid "The exponent ``n`` of ``P`` in :c:macro:`PyHASH_MODULUS`."
msgstr ":c:macro:`PyHASH_MODULUS` 中 ``P`` 的指數 ``n``。"
#: ../../c-api/hash.rst:34
msgid "Prime multiplier used in string and various other hashes."
msgstr "用於字串和其他各種雜湊的質數乘數 (prime multiplier)。"
#: ../../c-api/hash.rst:40
msgid "The hash value returned for a positive infinity."
msgstr "正無窮大回傳的雜湊值。"
#: ../../c-api/hash.rst:46
msgid "The multiplier used for the imaginary part of a complex number."
msgstr "用於複數虛數部分的乘數。"
#: ../../c-api/hash.rst:52
msgid "Hash function definition used by :c:func:`PyHash_GetFuncDef`."
msgstr ":c:func:`PyHash_GetFuncDef` 所使用的雜湊函式定義。"
#: ../../c-api/hash.rst:56
msgid "Hash function."
msgstr "雜湊函式。"
#: ../../c-api/hash.rst:60
msgid "Hash function name (UTF-8 encoded string)."
msgstr "雜湊函式名稱(UTF-8 編碼字串)。"
#: ../../c-api/hash.rst:64
msgid "Internal size of the hash value in bits."
msgstr "雜湊值的內部大小(以位元為單位)。"
#: ../../c-api/hash.rst:68
msgid "Size of seed input in bits."
msgstr "Seed 輸入的大小(以位元為單位)。"
#: ../../c-api/hash.rst:75
msgid "Get the hash function definition."
msgstr "取得雜湊函式定義。"
#: ../../c-api/hash.rst:78
msgid ":pep:`456` \"Secure and interchangeable hash algorithm\"."
msgstr ""
":pep:`456`\\ 「安全且可交替使用的雜湊演算法 (Secure and interchangeable hash "
"algorithm)」。"
#: ../../c-api/hash.rst:85
msgid ""
"Hash a pointer value: process the pointer value as an integer (cast it to "
"``uintptr_t`` internally). The pointer is not dereferenced."
msgstr ""
"雜湊指標值:將指標值作為整數處理(在內部轉型為 ``uintptr_t``)。指標不會被取"
"值 (dereference)。"
#: ../../c-api/hash.rst:88
msgid "The function cannot fail: it cannot return ``-1``."
msgstr "此函式不會失敗:它不會回傳 ``-1``。"
#: ../../c-api/hash.rst:95
msgid ""
"Compute and return the hash value of a buffer of *len* bytes starting at "
"address *ptr*. The hash is guaranteed to match that of :class:`bytes`, :"
"class:`memoryview`, and other built-in objects that implement the :ref:"
"`buffer protocol <bufferobjects>`."
msgstr ""
#: ../../c-api/hash.rst:100
msgid ""
"Use this function to implement hashing for immutable objects whose :c:member:"
"`~PyTypeObject.tp_richcompare` function compares to another object's buffer."
msgstr ""
#: ../../c-api/hash.rst:104
msgid "*len* must be greater than or equal to ``0``."
msgstr "*len* 必須大於或等於 ``0``。"
#: ../../c-api/hash.rst:106
msgid "This function always succeeds."
msgstr "此函式總是會成功執行。"
#: ../../c-api/hash.rst:113
msgid ""
"Generic hashing function that is meant to be put into a type object's "
"``tp_hash`` slot. Its result only depends on the object's identity."
msgstr ""
"泛用雜湊函式,旨在放入型別物件的 ``tp_hash`` 插槽中。其結果僅取決於物件的識別"
"性。"
#: ../../c-api/hash.rst:118
msgid "In CPython, it is equivalent to :c:func:`Py_HashPointer`."
msgstr "在 CPython 中,它等價於 :c:func:`Py_HashPointer`。"