Linux server64.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
LiteSpeed
: 198.54.115.120 | : 216.73.216.20
Cant Read [ /etc/named.conf ]
5.6.40
midwsfoc
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
opt /
alt /
ruby18 /
share /
ri /
1.8 /
system /
CSV /
StreamBuf /
[ HOME SHELL ]
Name
Size
Permission
Action
%5b%5d-i.yaml
593
B
-rw-r--r--
add_buf-i.yaml
177
B
-rw-r--r--
buf_size-i.yaml
182
B
-rw-r--r--
cdesc-StreamBuf.yaml
2.51
KB
-rw-r--r--
drop-i.yaml
400
B
-rw-r--r--
get-i.yaml
232
B
-rw-r--r--
idx_is_eos%3f-i.yaml
188
B
-rw-r--r--
is_eos%3f-i.yaml
176
B
-rw-r--r--
new-c.yaml
334
B
-rw-r--r--
read-i.yaml
447
B
-rw-r--r--
rel_buf-i.yaml
177
B
-rw-r--r--
terminate-i.yaml
183
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : cdesc-StreamBuf.yaml
--- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Buffered stream. - !ruby/struct:SM::Flow::P body: EXAMPLE 1 -- an IO. - !ruby/struct:SM::Flow::VERB body: " class MyBuf < StreamBuf\n # Do initialize myself before a super class. Super class might call my\n # method 'read'. (Could be awful for C++ user. :-)\n def initialize(s)\n @s = s\n super()\n end\n\n # define my own 'read' method.\n # CAUTION: Returning nil means EnfOfStream.\n def read(size)\n @s.read(size)\n end\n\n # release buffers. in Ruby which has GC, you do not have to call this...\n def terminate\n @s = nil\n super()\n end\n end\n\n buf = MyBuf.new(STDIN)\n my_str = ''\n p buf[0, 0] # => '' (null string)\n p buf[0] # => 97 (char code of 'a')\n p buf[0, 1] # => 'a'\n my_str = buf[0, 5]\n p my_str # => 'abcde' (5 chars)\n p buf[0, 6] # => "abcde\\n" (6 chars)\n p buf[0, 7] # => "abcde\\n" (6 chars)\n p buf.drop(3) # => 3 (dropped chars)\n p buf.get(0, 2) # => 'de' (2 chars)\n p buf.is_eos? # => false (is not EOS here)\n p buf.drop(5) # => 3 (dropped chars)\n p buf.is_eos? # => true (is EOS here)\n p buf[0] # => nil (is EOS here)\n" - !ruby/struct:SM::Flow::P body: EXAMPLE 2 -- String. - !ruby/struct:SM::Flow::VERB body: " This is a conceptual example. No pros with this.\n\n class StrBuf < StreamBuf\n def initialize(s)\n @str = s\n @idx = 0\n super()\n end\n\n def read(size)\n str = @str[@idx, size]\n @idx += str.size\n str\n end\n end\n" constants: - !ruby/object:RI::Constant comment: name: BufSize value: 1024 * 8 full_name: CSV::StreamBuf includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "[]" - !ruby/object:RI::MethodSummary name: add_buf - !ruby/object:RI::MethodSummary name: buf_size - !ruby/object:RI::MethodSummary name: drop - !ruby/object:RI::MethodSummary name: get - !ruby/object:RI::MethodSummary name: idx_is_eos? - !ruby/object:RI::MethodSummary name: is_eos? - !ruby/object:RI::MethodSummary name: read - !ruby/object:RI::MethodSummary name: rel_buf - !ruby/object:RI::MethodSummary name: terminate name: StreamBuf superclass: Object
Close