ACIL FM
Dark
Refresh
Current DIR:
/home/.cpan/build/NetAddr-IP-4.079-0/blib/lib/auto/NetAddr/IP
/
home
.cpan
build
NetAddr-IP-4.079-0
blib
lib
auto
NetAddr
IP
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
InetBase
-
chmod
Open
Rename
Delete
Lite
-
chmod
Open
Rename
Delete
Util
-
chmod
Open
Rename
Delete
UtilPP
-
chmod
Open
Rename
Delete
.exists
0 B
chmod
View
DL
Edit
Rename
Delete
autosplit.ix
388 B
chmod
View
DL
Edit
Rename
Delete
canon.al
362 B
chmod
View
DL
Edit
Rename
Delete
coalesce.al
1.35 MB
chmod
View
DL
Edit
Rename
Delete
compactref.al
1.67 MB
chmod
View
DL
Edit
Rename
Delete
do_prefix.al
891 B
chmod
View
DL
Edit
Rename
Delete
hostenum.al
329 B
chmod
View
DL
Edit
Rename
Delete
mod_version.al
427 B
chmod
View
DL
Edit
Rename
Delete
nprefix.al
603 B
chmod
View
DL
Edit
Rename
Delete
prefix.al
605 B
chmod
View
DL
Edit
Rename
Delete
re.al
1.4 MB
chmod
View
DL
Edit
Rename
Delete
re6.al
1.83 MB
chmod
View
DL
Edit
Rename
Delete
short.al
500 B
chmod
View
DL
Edit
Rename
Delete
wildcard.al
485 B
chmod
View
DL
Edit
Rename
Delete
_compact_v6.al
1.01 MB
chmod
View
DL
Edit
Rename
Delete
_compV6.al
1 MB
chmod
View
DL
Edit
Rename
Delete
_splitplan.al
2.91 MB
chmod
View
DL
Edit
Rename
Delete
_splitref.al
936 B
chmod
View
DL
Edit
Rename
Delete
Edit file: /home/.cpan/build/NetAddr-IP-4.079-0/blib/lib/auto/NetAddr/IP/_compact_v6.al
# NOTE: Derived from blib/lib/NetAddr/IP.pm. # Changes made here will be lost when autosplit is run again. # See AutoSplit.pm. package NetAddr::IP; #line 789 "blib/lib/NetAddr/IP.pm (autosplit into blib/lib/auto/NetAddr/IP/_compact_v6.al)" sub _compact_v6 ($) { my $addr = shift; my @o = split /:/, $addr; return $addr unless @o and grep { $_ =~ m/^0+$/ } @o; my @candidates = (); my $start = undef; for my $i (0 .. $#o) { if (defined $start) { if ($o[$i] !~ m/^0+$/) { push @candidates, [ $start, $i - $start ]; $start = undef; } } else { $start = $i if $o[$i] =~ m/^0+$/; } } push @candidates, [$start, 8 - $start] if defined $start; my $l = (sort { $b->[1] <=> $a->[1] } @candidates)[0]; return $addr unless defined $l; $addr = $l->[0] == 0 ? '' : join ':', @o[0 .. $l->[0] - 1]; $addr .= '::'; $addr .= join ':', @o[$l->[0] + $l->[1] .. $#o]; $addr =~ s/(^|:)0{1,3}/$1/g; return $addr; } # end of NetAddr::IP::_compact_v6 1;
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply