Linux cpanel2.daytoncreative.net 2.6.32-754.29.2.el6.x86_64 #1 SMP Tue May 12 17:39:04 UTC 2020 x86_64
Apache/2.4.43 (cPanel) OpenSSL/1.1.1g mod_bwlimited/1.4
Server IP : 70.62.220.67 & Your IP : 216.73.216.193
Domains :
Cant Read [ /etc/named.conf ]
User : michaelgreg
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
log /
perl-5.20.2 /
dist /
Tie-File /
t /
Delete
Unzip
Name
Size
Permission
Date
Action
00_version.t
356
B
-r--r--r--
2014-12-27 11:49
01_gen.t
3.83
KB
-r--r--r--
2014-12-27 11:48
02_fetchsize.t
828
B
-r--r--r--
2014-12-27 11:48
03_longfetch.t
906
B
-r--r--r--
2014-12-27 11:48
04_splice.t
7.52
KB
-r--r--r--
2014-12-27 11:48
05_size.t
2.38
KB
-r--r--r--
2014-12-27 11:48
06_fixrec.t
882
B
-r--r--r--
2014-12-27 11:48
07_rv_splice.t
5.31
KB
-r--r--r--
2014-12-27 11:48
08_ro.t
1.85
KB
-r--r--r--
2014-12-27 11:48
09_gen_rs.t
5.5
KB
-r--r--r--
2014-12-27 11:48
10_splice_rs.t
6.4
KB
-r--r--r--
2014-12-27 11:48
11_rv_splice_rs.t
4.85
KB
-r--r--r--
2014-12-27 11:48
12_longfetch_rs.t
650
B
-r--r--r--
2014-12-27 11:48
13_size_rs.t
1.51
KB
-r--r--r--
2014-12-27 11:48
14_lock.t
1007
B
-r--r--r--
2014-12-27 11:48
15_pushpop.t
3.08
KB
-r--r--r--
2014-12-27 11:48
16_handle.t
3.33
KB
-r--r--r--
2014-12-27 11:48
17_misc_meth.t
3.41
KB
-r--r--r--
2014-12-27 11:48
18_rs_fixrec.t
880
B
-r--r--r--
2014-12-27 11:48
19_cache.t
4.49
KB
-r--r--r--
2014-12-27 11:48
20_cache_full.t
5.35
KB
-r--r--r--
2014-12-27 11:48
21_win32.t
1.08
KB
-r--r--r--
2014-12-27 11:48
22_autochomp.t
3.94
KB
-r--r--r--
2014-12-27 11:48
23_rv_ac_splice.t
4.9
KB
-r--r--r--
2014-12-27 11:48
24_cache_loop.t
1.23
KB
-r--r--r--
2014-12-27 11:48
25_gen_nocache.t
3.02
KB
-r--r--r--
2014-12-27 11:48
26_twrite.t
16.82
KB
-r--r--r--
2014-12-27 11:48
27_iwrite.t
10.41
KB
-r--r--r--
2014-12-27 11:48
28_mtwrite.t
11.97
KB
-r--r--r--
2014-12-27 11:48
29_downcopy.t
16.81
KB
-r--r--r--
2014-12-27 11:48
29a_upcopy.t
4.78
KB
-r--r--r--
2014-12-27 11:48
30_defer.t
9.58
KB
-r--r--r--
2014-12-27 11:48
31_autodefer.t
4.58
KB
-r--r--r--
2014-12-27 11:48
32_defer_misc.t
4.99
KB
-r--r--r--
2014-12-27 11:48
33_defer_vs.t
2.76
KB
-r--r--r--
2014-12-27 11:48
40_abs_cache.t
5.33
KB
-r--r--r--
2014-12-27 11:48
41_heap.t
4.94
KB
-r--r--r--
2014-12-27 11:48
42_offset.t
1.51
KB
-r--r--r--
2014-12-27 11:48
Save
Rename
#!/usr/bin/perl # # Tests for various caching errors # $|=1; my $file = "tf$$.txt"; $: = Tie::File::_default_recsep(); my $data = join $:, "rec0" .. "rec9", ""; my $V = $ENV{INTEGRITY}; # Verbose integrity checking? print "1..55\n"; my $N = 1; use Tie::File; print "ok $N\n"; $N++; open F, "> $file" or die $!; binmode F; print F $data; close F; my $o = tie @a, 'Tie::File', $file; print $o ? "ok $N\n" : "not ok $N\n"; $N++; # (3) Through 0.18, this 'splice' call would corrupt the cache. my @z = @a; # force cache to contain all ten records splice @a, 0, 0, "x"; print $o->_check_integrity($file, $V) ? "ok $N\n" : "not ok $N\n"; $N++; # Here we redo *all* the splice tests, with populate() # calls before each one, to make sure that splice() does not botch the cache. # (4-14) splicing at the beginning check(); splice(@a, 0, 0, "rec4"); check(); splice(@a, 0, 1, "rec5"); # same length check(); splice(@a, 0, 1, "record5"); # longer check(); splice(@a, 0, 1, "r5"); # shorter check(); splice(@a, 0, 1); # removal check(); splice(@a, 0, 0); # no-op check(); splice(@a, 0, 0, 'r7', 'rec8'); # insert more than one check(); splice(@a, 0, 2, 'rec7', 'record8', 'rec9'); # insert more than delete check(); splice(@a, 0, 3, 'record9', 'rec10'); # delete more than insert check(); splice(@a, 0, 2); # delete more than one check(); # (15-24) splicing in the middle splice(@a, 1, 0, "rec4"); check(); splice(@a, 1, 1, "rec5"); # same length check(); splice(@a, 1, 1, "record5"); # longer check(); splice(@a, 1, 1, "r5"); # shorter check(); splice(@a, 1, 1); # removal check(); splice(@a, 1, 0); # no-op check(); splice(@a, 1, 0, 'r7', 'rec8'); # insert more than one check(); splice(@a, 1, 2, 'rec7', 'record8', 'rec9'); # insert more than delete check(); splice(@a, 1, 3, 'record9', 'rec10'); # delete more than insert check(); splice(@a, 1, 2); # delete more than one check(); # (25-34) splicing at the end splice(@a, 3, 0, "rec4"); check(); splice(@a, 3, 1, "rec5"); # same length check(); splice(@a, 3, 1, "record5"); # longer check(); splice(@a, 3, 1, "r5"); # shorter check(); splice(@a, 3, 1); # removal check(); splice(@a, 3, 0); # no-op check(); splice(@a, 3, 0, 'r7', 'rec8'); # insert more than one check(); splice(@a, 3, 2, 'rec7', 'record8', 'rec9'); # insert more than delete check(); splice(@a, 3, 3, 'record9', 'rec10'); # delete more than insert check(); splice(@a, 3, 2); # delete more than one check(); # (35-44) splicing with negative subscript splice(@a, -1, 0, "rec4"); check(); splice(@a, -1, 1, "rec5"); # same length check(); splice(@a, -1, 1, "record5"); # longer check(); splice(@a, -1, 1, "r5"); # shorter check(); splice(@a, -1, 1); # removal check(); splice(@a, -1, 0); # no-op check(); splice(@a, -1, 0, 'r7', 'rec8'); # insert more than one check(); splice(@a, -1, 2, 'rec7', 'record8', 'rec9'); # insert more than delete check(); splice(@a, -3, 3, 'record9', 'rec10'); # delete more than insert check(); splice(@a, -4, 3); # delete more than one check(); # (45) scrub it all out splice(@a, 0, 3); check(); # (46) put some back in splice(@a, 0, 0, "rec0", "rec1"); check(); # (47) what if we remove too many records? splice(@a, 0, 17); check(); # (48-49) In the past, splicing past the end was not correctly detected # (1.14) splice(@a, 89, 3); check(); splice(@a, @a, 3); check(); # (50-51) Also we did not emulate splice's freaky behavior when inserting # past the end of the array (1.14) splice(@a, 89, 0, "I", "like", "pie"); check(); splice(@a, 89, 0, "pie pie pie"); check(); # (52-54) Test default arguments splice @a, 0, 0, (0..11); check(); splice @a, 4; check(); splice @a; check(); # (55) This was broken on 20030507 when you moved the cache management # stuff out of _oadjust back into _splice without also putting it back # into _store. @a = (0..11); check(); sub init_file { my $data = shift; open F, "> $file" or die $!; binmode F; print F $data; close F; } sub check { my $integrity = $o->_check_integrity($file, $ENV{INTEGRITY}); print $integrity ? "ok $N\n" : "not ok $N\n"; $N++; repopulate(); } sub ctrlfix { for (@_) { s/\n/\\n/g; s/\r/\\r/g; } } sub repopulate { $o->{cache}->empty; my @z = @a; # refill the cache with correct data } END { undef $o; untie @a; 1 while unlink $file; }