-
-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathallocation.po
More file actions
260 lines (220 loc) · 9.87 KB
/
allocation.po
File metadata and controls
260 lines (220 loc) · 9.87 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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# Hengky Kurniawan, 2025
# python-doc bot, 2025
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-02-19 14:43+0000\n"
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
"Last-Translator: python-doc bot, 2025\n"
"Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/"
"id/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: id\n"
"Plural-Forms: nplurals=1; plural=0;\n"
msgid "Allocating Objects on the Heap"
msgstr "Mengalokasikan Objek pada Heap"
msgid ""
"Initialize a newly allocated object *op* with its type and initial "
"reference. Returns the initialized object. Other fields of the object are "
"not initialized. Despite its name, this function is unrelated to the "
"object's :meth:`~object.__init__` method (:c:member:`~PyTypeObject.tp_init` "
"slot). Specifically, this function does **not** call the object's :meth:`!"
"__init__` method."
msgstr ""
"Menginisialisasi objek *op* yang baru dialokasikan dengan tipe dan referensi "
"awalnya. Mengembalikan objek yang telah diinisialisasi. Bidang lain dari "
"objek tidak diinisialisasi. Terlepas dari namanya, fungsi ini tidak terkait "
"dengan metode :meth:`~object.__init__` objek (slot:c:member:`~PyTypeObject."
"tp_init` ). Secara khusus, fungsi ini tidak **tidak** memanggil metode :"
"meth:`!__init__` objek."
msgid ""
"In general, consider this function to be a low-level routine. Use :c:member:"
"`~PyTypeObject.tp_alloc` where possible. For implementing :c:member:`!"
"tp_alloc` for your type, prefer :c:func:`PyType_GenericAlloc` or :c:func:"
"`PyObject_New`."
msgstr ""
"Secara umum, anggaplah fungsi ini sebagai rutinitas tingkat rendah. Gunakan :"
"c:member:`~PyTypeObject.tp_alloc` jika memungkinkan. Untuk "
"mengimplementasikan :c:member:`!tp_alloc` untuk tipe Anda, pilih :c:func:"
"`PyType_GenericAlloc` atau :c:func:`PyObject_New`."
msgid ""
"This function only initializes the object's memory corresponding to the "
"initial :c:type:`PyObject` structure. It does not zero the rest."
msgstr ""
"Fungsi ini hanya menginisialisasi memori objek yang sesuai dengan struktur "
"awal :c:type:`PyObject`. Fungsi ini tidak mengosongkan sisanya."
msgid ""
"This does everything :c:func:`PyObject_Init` does, and also initializes the "
"length information for a variable-size object."
msgstr ""
"Ini melakukan segalanya :c:func:`PyObject_Init`, dan juga menginisialiasi "
"panjang informasi pada sebuah ukuran object variabel."
msgid ""
"This function only initializes some of the object's memory. It does not "
"zero the rest."
msgstr ""
"Fungsi ini hanya menginisialisasi sebagian memori objek. Fungsi ini tidak "
"mengosongkan sisanya."
msgid ""
"Allocates a new Python object using the C structure type *TYPE* and the "
"Python type object *typeobj* (``PyTypeObject*``) by calling :c:func:"
"`PyObject_Malloc` to allocate memory and initializing it like :c:func:"
"`PyObject_Init`. The caller will own the only reference to the object (i.e. "
"its reference count will be one)."
msgstr ""
"Mengalokasikan objek Python baru menggunakan tipe struktur C *TYPE* dan "
"objek tipe Python *typeobj* (``PyTypeObject*``) dengan memanggil :c:func:"
"`PyObject_Malloc` untuk mengalokasikan memori dan menginisialisasinya "
"sebagai :c:func:`PyObject_Init`. Pemanggil akan memiliki satu-satunya "
"referensi ke objek tersebut (misal: jumlah referensinya adalah satu)."
msgid ""
"Avoid calling this directly to allocate memory for an object; call the "
"type's :c:member:`~PyTypeObject.tp_alloc` slot instead."
msgstr ""
"Hindari memanggil ini secara langsung untuk mengalokasikan memori untuk "
"sebuah objek; panggil slot :c:member:`~PyTypeObject.tp_alloc` dari tipe "
"sebagai gantinya."
msgid ""
"When populating a type's :c:member:`~PyTypeObject.tp_alloc` slot, :c:func:"
"`PyType_GenericAlloc` is preferred over a custom function that simply calls "
"this macro."
msgstr ""
"Ketika mengisi slot tipe :c:member:`~PyTypeObject.tp_alloc` , :c:func:"
"`PyType_GenericAlloc` lebih direkomendasikan daripada fungsi kustom yang "
"hanya memanggil makro ini."
msgid ""
"This macro does not call :c:member:`~PyTypeObject.tp_alloc`, :c:member:"
"`~PyTypeObject.tp_new` (:meth:`~object.__new__`), or :c:member:"
"`~PyTypeObject.tp_init` (:meth:`~object.__init__`)."
msgstr ""
"Makro ini tidak memanggil :c:member:`~PyTypeObject.tp_alloc`, :c:member:"
"`~PyTypeObject.tp_new` (:meth:`~object.__new__`), atau :c:member:"
"`~PyTypeObject.tp_init` (:meth:`~object.__init__`)."
msgid ""
"This cannot be used for objects with :c:macro:`Py_TPFLAGS_HAVE_GC` set in :c:"
"member:`~PyTypeObject.tp_flags`; use :c:macro:`PyObject_GC_New` instead."
msgstr ""
"Ini tidak dapat digunakan untuk objek dengan :c:macro:`Py_TPFLAGS_HAVE_GC` "
"yang diatur di :c:member:`~PyTypeObject.tp_flags`; gunakan :c:macro:"
"`PyObject_GC_New` sebagai gantinya."
msgid ""
"Memory allocated by this macro must be freed with :c:func:`PyObject_Free` "
"(usually called via the object's :c:member:`~PyTypeObject.tp_free` slot)."
msgstr ""
"Memori yang dialokasikan oleh makro ini harus dibebaskan dengan :c:func:"
"`PyObject_Free` (biasanya dipanggil melalui slot objek :c:member:"
"`~PyTypeObject.tp_free` )."
msgid ""
"The returned memory is not guaranteed to have been completely zeroed before "
"it was initialized."
msgstr ""
"Memori yang dikembalikan tidak dijamin telah di-nol-kan sepenuhnya sebelum "
"diinisialisasi."
msgid ""
"This macro does not construct a fully initialized object of the given type; "
"it merely allocates memory and prepares it for further initialization by :c:"
"member:`~PyTypeObject.tp_init`. To construct a fully initialized object, "
"call *typeobj* instead. For example::"
msgstr ""
"Makro ini tidak membuat objek yang diinisialisasi penuh dari tipe yang "
"diberikan; makro ini hanya mengalokasikan memori dan mempersiapkannya untuk "
"inisialisasi lebih lanjut oleh :c:member:`~PyTypeObject.tp_init`. Untuk "
"membuat objek yang diinisialisasi secara penuh, panggil *typeobj* sebagai "
"gantinya. Sebagai contoh::"
msgid "PyObject *foo = PyObject_CallNoArgs((PyObject *)&PyFoo_Type);"
msgstr "PyObject * foo = PyObject_CallNoArgs((PyObject *) & PyFoo_Type);"
msgid ":c:func:`PyObject_Free`"
msgstr ":c:func:`PyObject_Free`"
msgid ":c:macro:`PyObject_GC_New`"
msgstr ":c:macro:`PyObject_GC_New`"
msgid ":c:func:`PyType_GenericAlloc`"
msgstr ":c:func:`PyType_GenericAlloc`"
msgid ":c:member:`~PyTypeObject.tp_alloc`"
msgstr ":c:member:`~PyTypeObject.tp_alloc`"
msgid "Like :c:macro:`PyObject_New` except:"
msgstr "Seperti :c:macro:`PyObject_New` kecuali:"
msgid ""
"It allocates enough memory for the *TYPE* structure plus *size* "
"(``Py_ssize_t``) fields of the size given by the :c:member:`~PyTypeObject."
"tp_itemsize` field of *typeobj*."
msgstr ""
"Ini mengalokasikan cukup memori untuk struktur *TYPE* ditambah bidang *size* "
"(``Py_ssize_t``) dengan ukuran yang diberikan oleh bidang :c:member:"
"`~PyTypeObject.tp_itemsize` dari *typeobj*."
msgid "The memory is initialized like :c:func:`PyObject_InitVar`."
msgstr "Memori diinisialisasi seperti :c:func:`PyObject_InitVar`."
msgid ""
"This is useful for implementing objects like tuples, which are able to "
"determine their size at construction time. Embedding the array of fields "
"into the same allocation decreases the number of allocations, improving the "
"memory management efficiency."
msgstr ""
"Hal ini berguna untuk mengimplementasikan objek seperti tuple, yang dapat "
"menentukan ukurannya pada saat konstruksi. Menanamkan array of fields ke "
"dalam alokasi yang sama akan mengurangi jumlah alokasi, sehingga "
"meningkatkan efisiensi manajemen memori."
msgid ""
"This cannot be used for objects with :c:macro:`Py_TPFLAGS_HAVE_GC` set in :c:"
"member:`~PyTypeObject.tp_flags`; use :c:macro:`PyObject_GC_NewVar` instead."
msgstr ""
"Ini tidak dapat digunakan untuk objek dengan :c:macro:`Py_TPFLAGS_HAVE_GC` "
"yang diatur di :c:member:`~PyTypeObject.tp_flags`; gunakan :c:macro:"
"`PyObject_GC_NewVar` sebagai gantinya."
msgid ""
"Memory allocated by this function must be freed with :c:func:`PyObject_Free` "
"(usually called via the object's :c:member:`~PyTypeObject.tp_free` slot)."
msgstr ""
"Memori yang dialokasikan oleh fungsi ini harus dibebaskan dengan :c:func:"
"`PyObject_Free` (biasanya dipanggil melalui slot :c:member:`~PyTypeObject."
"tp_free` objek)."
msgid ""
"PyObject *list_instance = PyObject_CallNoArgs((PyObject *)&PyList_Type);"
msgstr ""
"PyObject * list_instance = PyObject_CallNoArgs((PyObject *) & PyList_Type);"
msgid ":c:macro:`PyObject_GC_NewVar`"
msgstr ":c:macro:`PyObject_GC_NewVar`"
msgid ""
"Object which is visible in Python as ``None``. This should only be accessed "
"using the :c:macro:`Py_None` macro, which evaluates to a pointer to this "
"object."
msgstr ""
"Object yang terlihat di Python sebagai ``None``. Ini seharusnya hanya dapat "
"diakses menggunakan makro :c:macro:`Py_None`, yang mengevaluasi ke sebuah "
"pointer ke object ini."
msgid ":ref:`moduleobjects`"
msgstr ":ref:`moduleobjects`"
msgid "To allocate and create extension modules."
msgstr "Untuk mengalokasikan dan membuat modul ekstensi."
msgid "Deprecated aliases"
msgstr ""
msgid ""
"These are :term:`soft deprecated` aliases to existing functions and macros. "
"They exist solely for backwards compatibility."
msgstr ""
msgid "Deprecated alias"
msgstr ""
msgid "Function"
msgstr "Fungsi"
msgid ":c:macro:`PyObject_New`"
msgstr ":c:macro:`PyObject_New`"
msgid ":c:macro:`PyObject_NewVar`"
msgstr ":c:macro:`PyObject_NewVar`"
msgid ":c:func:`PyObject_Init`"
msgstr ""
msgid ":c:func:`PyObject_InitVar`"
msgstr ""
msgid ":c:func:`PyObject_Malloc`"
msgstr ":c:func:`PyObject_Malloc`"
msgid ":c:func:`PyObject_Realloc`"
msgstr ":c:func:`PyObject_Realloc`"