Debian Codegraph @

po/ru/man3/hash.3.po

raw
1 # Russian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Yuri Kozlov <[email protected]>, 2012-2019.
5 # Иван Павлов <[email protected]>, 2017, 2019.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n\n"
9 "POT-Creation-Date: 2026-06-05 06:27+0200\n"
10 "PO-Revision-Date: 2024-12-21 19:50+0300\n"
11 "Last-Translator: Yuri Kozlov <[email protected]>\n"
12 "Language-Team: Russian <[email protected]>\n"
13 "Language: ru\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
18 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
19 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
20 "X-Generator: Lokalize 2.0\n"
21
22 #. type: TH
23 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
24 #: opensuse-tumbleweed
25 #, no-wrap
26 msgid "hash"
27 msgstr "hash"
28
29 #. type: TH
30 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
31 #: opensuse-tumbleweed
32 #, no-wrap
33 msgid "2025-09-21"
34 msgstr "21 сентября 2025 г."
35
36 #. type: TH
37 #: archlinux debian-unstable
38 #, fuzzy, no-wrap
39 #| msgid "Linux man-pages 6.17"
40 msgid "Linux man-pages 6.18"
41 msgstr "Справочные страницы Linux 6.17"
42
43 #. type: SH
44 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
45 #: opensuse-tumbleweed
46 #, no-wrap
47 msgid "NAME"
48 msgstr "НАИМЕНОВАНИЕ"
49
50 #. type: Plain text
51 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
52 #: opensuse-tumbleweed
53 msgid "hash - hash database access method"
54 msgstr "hash - метод доступа к базе данных ассоциативных массивов"
55
56 #. type: SH
57 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
58 #: opensuse-tumbleweed
59 #, no-wrap
60 msgid "LIBRARY"
61 msgstr "БИБЛИОТЕКА"
62
63 #. type: Plain text
64 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
65 #: opensuse-tumbleweed
66 msgid "Standard C library (I<libc>,\\ I<-lc>)"
67 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
68
69 #. type: SH
70 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
71 #: opensuse-tumbleweed
72 #, no-wrap
73 msgid "SYNOPSIS"
74 msgstr "СИНТАКСИС"
75
76 #. type: Plain text
77 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
78 #: opensuse-tumbleweed
79 #, no-wrap
80 msgid ""
81 "B<#include E<lt>sys/types.hE<gt>\n"
82 "#include E<lt>db.hE<gt>>\n"
83 msgstr ""
84 "B<#include E<lt>sys/types.hE<gt>\n"
85 "#include E<lt>db.hE<gt>>\n"
86
87 #. type: SH
88 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
89 #: opensuse-tumbleweed
90 #, no-wrap
91 msgid "DESCRIPTION"
92 msgstr "ОПИСАНИЕ"
93
94 #. type: Plain text
95 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
96 #: opensuse-tumbleweed
97 msgid ""
98 "I<Note well>: This page documents interfaces provided up until glibc 2.1. "
99 "Since glibc 2.2, glibc no longer provides these interfaces. Probably, you "
100 "are looking for the APIs provided by the I<libdb> library instead."
101 msgstr ""
102 "I<Примечание>: На этой странице описаны интерфейсы, предоставляемые до glibc "
103 "2.1. Начиная с glibc 2.2, glibc больше не поддерживает эти интерфейсы. "
104 "Вероятно, вы ищите API, предоставляемое библиотекой I<libdb>."
105
106 #. type: Plain text
107 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
108 #: opensuse-tumbleweed
109 msgid ""
110 "The routine B<dbopen>(3) is the library interface to database files. One "
111 "of the supported file formats is hash files. The general description of the "
112 "database access methods is in B<dbopen>(3), this manual page describes only "
113 "the hash-specific information."
114 msgstr ""
115 "Функция B<dbopen>(3) — это библиотечный интерфейс к файлам баз данных. Один "
116 "из поддерживаемых форматов файлов — hash. Общее описание методов доступа к "
117 "базам данных находится в B<dbopen>(3). Эта справочная страница содержит "
118 "только информацию, относящуюся к ассоциативным массивам."
119
120 #. type: Plain text
121 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
122 #: opensuse-tumbleweed
123 msgid "The hash data structure is an extensible, dynamic hashing scheme."
124 msgstr "Структура данных ассоциативных массивов (хэш) расширяемая и динамична."
125
126 #. type: Plain text
127 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
128 #: opensuse-tumbleweed
129 msgid ""
130 "The access-method-specific data structure provided to B<dbopen>(3) is "
131 "defined in the I<E<lt>db.hE<gt>> include file as follows:"
132 msgstr ""
133 "Специальная структура метода доступа данных, к которой обращается "
134 "B<dbopen>(3), задана в I<E<lt>db.hE<gt>> следующим образом:"
135
136 #. type: Plain text
137 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
138 #: opensuse-tumbleweed
139 #, no-wrap
140 msgid ""
141 "typedef struct {\n"
142 " unsigned int bsize;\n"
143 " unsigned int ffactor;\n"
144 " unsigned int nelem;\n"
145 " unsigned int cachesize;\n"
146 " uint32_t (*hash)(const void *, size_t);\n"
147 " int lorder;\n"
148 "} HASHINFO;\n"
149 msgstr ""
150 "typedef struct {\n"
151 " unsigned int bsize;\n"
152 " unsigned int ffactor;\n"
153 " unsigned int nelem;\n"
154 " unsigned int cachesize;\n"
155 " uint32_t (*hash)(const void *, size_t);\n"
156 " int lorder;\n"
157 "} HASHINFO;\n"
158
159 #. type: Plain text
160 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
161 #: opensuse-tumbleweed
162 msgid "The elements of this structure are as follows:"
163 msgstr "Элементы этой структуры имеют следующее назначение:"
164
165 #. type: TP
166 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
167 #: opensuse-tumbleweed
168 #, no-wrap
169 msgid "I<bsize>"
170 msgstr "I<bsize>"
171
172 #. type: Plain text
173 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
174 #: opensuse-tumbleweed
175 msgid ""
176 "defines the hash table bucket size, and is, by default, 256 bytes. It may "
177 "be preferable to increase the page size for disk-resident tables and tables "
178 "with large data items."
179 msgstr ""
180 "определяет размер корзины хэш-таблицы, по умолчанию равный 256 байтам. Этот "
181 "параметр может быть изменён, чтобы увеличить размер для таблиц, "
182 "расположенных на диске, или таблиц с элементами большого размера."
183
184 #. type: TP
185 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
186 #: opensuse-tumbleweed
187 #, no-wrap
188 msgid "I<ffactor>"
189 msgstr "I<ffactor>"
190
191 #. type: Plain text
192 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
193 #: opensuse-tumbleweed
194 msgid ""
195 "indicates a desired density within the hash table. It is an approximation "
196 "of the number of keys allowed to accumulate in any one bucket, determining "
197 "when the hash table grows or shrinks. The default value is 8."
198 msgstr ""
199 "указывает на желаемую плотность хэш-таблицы. Плотность — это максимальное "
200 "количество ключей, которые могут находиться в одной корзине, определяющей, "
201 "на какую величину увеличивается или уменьшается таблица. Значение по "
202 "умолчанию — 8."
203
204 #. type: TP
205 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
206 #: opensuse-tumbleweed
207 #, no-wrap
208 msgid "I<nelem>"
209 msgstr "I<nelem>"
210
211 #. type: Plain text
212 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
213 #: opensuse-tumbleweed
214 msgid ""
215 "is an estimate of the final size of the hash table. If not set or set too "
216 "low, hash tables will expand gracefully as keys are entered, although a "
217 "slight performance degradation may be noticed. The default value is 1."
218 msgstr ""
219 "предполагаемый окончательный размер хэш-таблицы. Если значение не указано, "
220 "или установлено слишком маленьким, то размер хэш-таблиц увеличивается каждый "
221 "раз, когда добавляется новый ключ. Это может привести к снижению "
222 "производительности. Значение по умолчанию — 1."
223
224 #. type: TP
225 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
226 #: opensuse-tumbleweed
227 #, no-wrap
228 msgid "I<cachesize>"
229 msgstr "I<cachesize>"
230
231 #. type: Plain text
232 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
233 #: opensuse-tumbleweed
234 msgid ""
235 "is the suggested maximum size, in bytes, of the memory cache. This value is "
236 "I<only advisory>, and the access method will allocate more memory rather "
237 "than fail."
238 msgstr ""
239 "предполагаемый максимальный размер кэша памяти в байтах. Эта величина "
240 "I<только рекомендация>, метод доступа скорее выделит больше памяти, чем "
241 "завершится с ошибкой."
242
243 #. type: TP
244 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
245 #: opensuse-tumbleweed
246 #, no-wrap
247 msgid "I<hash>"
248 msgstr "I<hash>"
249
250 #. type: Plain text
251 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
252 #: opensuse-tumbleweed
253 msgid ""
254 "is a user-defined hash function. Since no hash function performs equally "
255 "well on all possible data, the user may find that the built-in hash function "
256 "does poorly on a particular data set. A user-specified hash functions must "
257 "take two arguments (a pointer to a byte string and a length) and return a 32-"
258 "bit quantity to be used as the hash value."
259 msgstr ""
260 "пользовательская функция хэширования. Так как не существует функции, которая "
261 "подходит для любых данных, пользователю может показаться, что встроенная хэш-"
262 "функция слишком проста для некоторых типов данных. Определяемая "
263 "пользователем функция должна иметь два аргумента (указатель на строку байтов "
264 "и длина) и возвращать 32-битную величину, используемую как хэш-значение."
265
266 #. type: TP
267 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
268 #: opensuse-tumbleweed
269 #, no-wrap
270 msgid "I<lorder>"
271 msgstr "I<lorder>"
272
273 #. type: Plain text
274 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
275 #: opensuse-tumbleweed
276 msgid ""
277 "is the byte order for integers in the stored database metadata. The number "
278 "should represent the order as an integer; for example, big endian order "
279 "would be the number 4,321. If I<lorder> is 0 (no order is specified), the "
280 "current host order is used. If the file already exists, the specified value "
281 "is ignored and the value specified when the tree was created is used."
282 msgstr ""
283 "порядок байт для целых чисел, хранящихся в метаданных базы данных. Значение "
284 "должно представлять порядок байт в виде целом числе, например, для прямого "
285 "порядка (big endian) будет использовано значение 4321. Если I<lorder> равно "
286 "0 (т. е. порядок не определён), то используется порядок байт машины. Если "
287 "файл уже существует, то указываемое значение игнорируется и будет "
288 "использоваться порядок байт, определённый при создании."
289
290 #. type: Plain text
291 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
292 #: opensuse-tumbleweed
293 msgid ""
294 "If the file already exists (and the B<O_TRUNC> flag is not specified), the "
295 "values specified for I<bsize>, I<ffactor>, I<lorder>, and I<nelem> are "
296 "ignored and the values specified when the tree was created are used."
297 msgstr ""
298 "Если файл уже существует (и не задан флаг B<O_TRUNC>), то значения, "
299 "определённые в параметрах I<bsize>, I<ffactor>, I<lorder> и I<nelem>, "
300 "игнорируются, и используются значения, которые были указаны при создании "
301 "дерева."
302
303 #. type: Plain text
304 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
305 #: opensuse-tumbleweed
306 msgid ""
307 "If a hash function is specified, I<hash_open> attempts to determine if the "
308 "hash function specified is the same as the one with which the database was "
309 "created, and fails if it is not."
310 msgstr ""
311 "Если определена хэш-функция, то I<hash_open> пытается определить, совпадает "
312 "ли эта функция с той, что использовалась при создании файла, и завершается "
313 "ошибкой, если это не так."
314
315 #. type: Plain text
316 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
317 #: opensuse-tumbleweed
318 msgid ""
319 "Backward-compatible interfaces to the routines described in B<dbm>(3), and "
320 "B<ndbm>(3) are provided, however these interfaces are not compatible with "
321 "previous file formats."
322 msgstr ""
323 "Обратно совместимый интерфейс, определённый в B<dbm>(3) и B<ndbm>(3), также "
324 "существует, но он не совместим с предыдущими реализациями по формату файлов."
325
326 #. type: SH
327 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
328 #: opensuse-tumbleweed
329 #, no-wrap
330 msgid "ERRORS"
331 msgstr "ОШИБКИ"
332
333 #. type: Plain text
334 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
335 #: opensuse-tumbleweed
336 msgid ""
337 "The I<hash> access method routines may fail and set I<errno> for any of the "
338 "errors specified for the library routine B<dbopen>(3)."
339 msgstr ""
340 "Функции метода доступа I<hash> могут завершиться с ошибкой и присвоить "
341 "I<errno> любое значение из определённых для библиотеки функций B<dbopen>(3)."
342
343 #. type: SH
344 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
345 #: opensuse-tumbleweed
346 #, no-wrap
347 msgid "BUGS"
348 msgstr "ПРОГРАММНЫЕ ОШИБКИ"
349
350 #. type: Plain text
351 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
352 #: opensuse-tumbleweed
353 msgid "Only big and little endian byte order are supported."
354 msgstr "Поддерживаются значения только с прямым и обратным порядком байт."
355
356 #. type: SH
357 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
358 #: opensuse-tumbleweed
359 #, no-wrap
360 msgid "SEE ALSO"
361 msgstr "СМОТРИТЕ ТАКЖЕ"
362
363 #. type: Plain text
364 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
365 #: opensuse-tumbleweed
366 msgid "B<btree>(3), B<dbopen>(3), B<mpool>(3), B<recno>(3)"
367 msgstr "B<btree>(3), B<dbopen>(3), B<mpool>(3), B<recno>(3)"
368
369 #. type: Plain text
370 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
371 #: opensuse-tumbleweed
372 msgid ""
373 "I<Dynamic Hash Tables>, Per-Ake Larson, Communications of the ACM, April "
374 "1988."
375 msgstr ""
376 "I<Dynamic Hash Tables>, Per-Ake Larson, Communications of the ACM, April "
377 "1988."
378
379 #. type: Plain text
380 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
381 #: opensuse-tumbleweed
382 msgid ""
383 "I<A New Hash Package for UNIX>, Margo Seltzer, USENIX Proceedings, Winter "
384 "1991."
385 msgstr ""
386 "I<A New Hash Package for UNIX>, Margo Seltzer, USENIX Proceedings, Winter "
387 "1991."
388
389 #. type: TH
390 #: debian-trixie
391 #, no-wrap
392 msgid "2024-05-02"
393 msgstr "2 мая 2024 г."
394
395 #. type: TH
396 #: debian-trixie
397 #, no-wrap
398 msgid "Linux man-pages 6.9.1"
399 msgstr "Страницы руководства Linux 6.9.1"
400
401 #. type: Plain text
402 #: debian-trixie
403 msgid "Standard C library (I<libc>, I<-lc>)"
404 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
405
406 #. type: TH
407 #: mageia-cauldron
408 #, no-wrap
409 msgid "Linux man-pages 6.17"
410 msgstr "Страницы руководства Linux 6.17"
411
412 #. type: TH
413 #: opensuse-leap-16-1 opensuse-tumbleweed
414 #, no-wrap
415 msgid "Linux man-pages (unreleased)"
416 msgstr "Страницы руководства Linux (не выпущены)"