Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.216.222
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby19 /
share /
ri /
1.9.1 /
system /
DBM /
Delete
Unzip
Name
Size
Permission
Date
Action
%5b%5d%3d-i.ri
327
B
-rw-r--r--
2023-07-26 17:26
%5b%5d-i.ri
326
B
-rw-r--r--
2023-07-26 17:26
cdesc-DBM.ri
4.71
KB
-rw-r--r--
2023-07-26 17:26
clear-i.ri
229
B
-rw-r--r--
2023-07-26 17:26
close-i.ri
214
B
-rw-r--r--
2023-07-26 17:26
closed%3f-i.ri
273
B
-rw-r--r--
2023-07-26 17:26
delete-i.ri
239
B
-rw-r--r--
2023-07-26 17:26
delete_if-i.ri
354
B
-rw-r--r--
2023-07-26 17:26
each-i.ri
308
B
-rw-r--r--
2023-07-26 17:26
each_key-i.ri
296
B
-rw-r--r--
2023-07-26 17:26
each_pair-i.ri
318
B
-rw-r--r--
2023-07-26 17:26
each_value-i.ri
306
B
-rw-r--r--
2023-07-26 17:26
empty%3f-i.ri
252
B
-rw-r--r--
2023-07-26 17:26
fetch-i.ri
399
B
-rw-r--r--
2023-07-26 17:26
has_key%3f-i.ri
294
B
-rw-r--r--
2023-07-26 17:26
has_value%3f-i.ri
317
B
-rw-r--r--
2023-07-26 17:26
include%3f-i.ri
294
B
-rw-r--r--
2023-07-26 17:26
invert-i.ri
341
B
-rw-r--r--
2023-07-26 17:26
key%3f-i.ri
286
B
-rw-r--r--
2023-07-26 17:26
key-i.ri
247
B
-rw-r--r--
2023-07-26 17:26
keys-i.ri
256
B
-rw-r--r--
2023-07-26 17:26
length-i.ri
254
B
-rw-r--r--
2023-07-26 17:26
member%3f-i.ri
292
B
-rw-r--r--
2023-07-26 17:26
new-c.ri
695
B
-rw-r--r--
2023-07-26 17:26
open-c.ri
372
B
-rw-r--r--
2023-07-26 17:26
reject%21-i.ri
350
B
-rw-r--r--
2023-07-26 17:26
reject-i.ri
366
B
-rw-r--r--
2023-07-26 17:26
replace-i.ri
387
B
-rw-r--r--
2023-07-26 17:26
select-i.ri
328
B
-rw-r--r--
2023-07-26 17:26
shift-i.ri
391
B
-rw-r--r--
2023-07-26 17:26
size-i.ri
250
B
-rw-r--r--
2023-07-26 17:26
store-i.ri
331
B
-rw-r--r--
2023-07-26 17:26
to_a-i.ri
295
B
-rw-r--r--
2023-07-26 17:26
to_hash-i.ri
296
B
-rw-r--r--
2023-07-26 17:26
update-i.ri
372
B
-rw-r--r--
2023-07-26 17:26
value%3f-i.ri
309
B
-rw-r--r--
2023-07-26 17:26
values-i.ri
264
B
-rw-r--r--
2023-07-26 17:26
values_at-i.ri
300
B
-rw-r--r--
2023-07-26 17:26
Save
Rename
U:RDoc::NormalClass[iI"DBM:ET@I"Object;Fo:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I")Documented by mathew meta@pobox.com.;TS:RDoc::Markup::Heading: leveli: textI"Introduction;To:RDoc::Markup::BlankLine o; ;[I"5The DBM class provides a wrapper to a Unix-style;TI"I{dbm}[http://en.wikipedia.org/wiki/Dbm] or Database Manager library.;T@o; ;[I"KDbm databases do not have tables or columns; they are simple key-value;TI"Ndata stores, like a Ruby Hash except not resident in RAM. Keys and values;TI"must be strings.;T@o; ;[I"MThe exact library used depends on how Ruby was compiled. It could be any;TI"of the following:;T@o:RDoc::Markup::List: @type:BULLET:@items[ o:RDoc::Markup::ListItem:@label0;[o; ;[I"5The original ndbm library is released in 4.3BSD.;TI"JIt is based on dbm library in Unix Version 7 but has different API to;TI"-support multiple databases in a process.;To;;0;[o; ;[I"E{Berkeley DB}[http://en.wikipedia.org/wiki/Berkeley_DB] versions;TI"F1 thru 5, also known as BDB and Sleepycat DB, now owned by Oracle;TI"Corporation.;To;;0;[o; ;[I"9Berkeley DB 1.x, still found in FreeBSD and OpenBSD.;To;;0;[o; ;[I"N{gdbm}[http://www.gnu.org/software/gdbm/], the GNU implementation of dbm.;To;;0;[o; ;[I"D{qdbm}[http://fallabs.com/qdbm/index.html], another open source;TI"reimplementation of dbm.;T@o; ;[I"DAll of these dbm implementations have their own Ruby interfaces;TI"8available, which provide richer (but varying) APIs.;T@S; ;i;I" Cautions;T@o; ;[I"MBefore you decide to use DBM, there are some issues you should consider:;T@o;;;;[ o;;0;[o; ;[I"GEach implementation of dbm has its own file format. Generally, dbm;TI"Elibraries will not read each other's files. This makes dbm files;TI"$a bad choice for data exchange.;T@o;;0;[o; ;[I"KEven running the same OS and the same dbm implementation, the database;TI"Kfile format may depend on the CPU architecture. For example, files may;TI"Mnot be portable between PowerPC and 386, or between 32 and 64 bit Linux.;T@o;;0;[o; ;[I"NDifferent versions of Berkeley DB use different file formats. A change to;TI"=the OS may therefore break DBM access to existing files.;T@o;;0;[o; ;[ I"LData size limits vary between implementations. Original Berkeley DB was;TI"Ilimited to 2GB of data. Dbm libraries also sometimes limit the total;TI"Ksize of a key/value pair, and the total size of all the keys that hash;TI"Nto the same value. These limits can be as little as 512 bytes. That said,;TI"Ggdbm and recent versions of Berkeley DB do away with these limits.;T@o; ;[I"PGiven the above cautions, DBM is not a good choice for long term storage of;TI"Limportant data. It is probably best used as a fast and easy alternative;TI"4to a Hash for processing large amounts of data.;T@S; ;i;I"Example;T@o:RDoc::Markup::Verbatim;[I"require 'dbm' ;FI".db = DBM.open('rfcs', 666, DBM::CREATRW) ;FI"Jdb['822'] = 'Standard for the Format of ARPA Internet Text Messages' ;FI"Ndb['1123'] = 'Requirements for Internet Hosts - Application and Support' ;FI"=db['3068'] = 'An Anycast Prefix for 6to4 Relay Routers' ;FI"puts db['822'];F: @fileI"ext/dbm/dbm.c;T;0[ [ [I"READER;To;;[o; ;[I"LIndicates that dbm_open() should open the database in read-only mode ;T;0@w[I"WRITER;To;;[o; ;[I"MIndicates that dbm_open() should open the database in read/write mode ;T;0@w[I"WRCREAT;To;;[o; ;[I"KIndicates that dbm_open() should open the database in read/write mode,;TI"/and create it if it does not already exist;T;0@w[I" NEWDB;To;;[o; ;[I"KIndicates that dbm_open() should open the database in read/write mode,;TI"Jcreate it if it does not already exist, and delete all contents if it;TI"does already exist.;T;0@w[I"VERSION;To;;[o; ;[I"<The version of the dbm library, if using Berkeley DB ;T;0@w[[I"Enumerable;Fo;;[ ;0@w[[I" class;F[[:public[[I"new;F@w[I" open;T@w[:protected[ [:private[ [I" instance;F[[;[([I"[];T@w[I"[]=;T@w[I" clear;T@w[I" close;T@w[I"closed?;T@w[I"delete;T@w[I"delete_if;T@w[I" each;T@w[I" each_key;T@w[I"each_pair;T@w[I"each_value;T@w[I"empty?;T@w[I" fetch;T@w[I" has_key?;T@w[I"has_value?;T@w[I" include?;T@w[I"invert;T@w[I"key;T@w[I" key?;T@w[I" keys;T@w[I"length;T@w[I"member?;T@w[I"reject;T@w[I"reject!;T@w[I"replace;T@w[I"select;T@w[I" shift;T@w[I" size;T@w[I" store;T@w[I" to_a;T@w[I"to_hash;T@w[I"update;T@w[I"value?;T@w[I"values;T@w[I"values_at;T@w[;[ [;[