diff options
author | Parménides GV <parmegv@sdf.org> | 2015-06-16 11:28:05 +0200 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2015-06-16 11:28:05 +0200 |
commit | 66c79953db6876ec17a7ebf50dc4fd07d24fae37 (patch) | |
tree | 67075abe6ea28f7fc7213f654b86464b13507058 /app/lzo/util/uncompr.pl | |
parent | 1f41fec6765e49838141ad29151713c7ac3dd17c (diff) | |
parent | e533cf6939e3ea4233aa8a82812f8ce5fcb565ca (diff) |
Merge branch 'develop'0.9.4
Diffstat (limited to 'app/lzo/util/uncompr.pl')
-rw-r--r-- | app/lzo/util/uncompr.pl | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/app/lzo/util/uncompr.pl b/app/lzo/util/uncompr.pl deleted file mode 100644 index 54ec9e06..00000000 --- a/app/lzo/util/uncompr.pl +++ /dev/null @@ -1,32 +0,0 @@ -#! /usr/bin/perl -## -## vi:ts=4 -## -##---------------------------------------------------------------------------## -## -## Author: -## Markus F.X.J. Oberhumer <markus@oberhumer.com> -## -## Description: -## Create incompressible files for compression test -## -## Copyright (C) 1996-2014 Markus Franz Xaver Johannes Oberhumer -## -##---------------------------------------------------------------------------## - -$x = ' ' x 65536; -$i = 0; -while ($i < 65536) { - substr($x,$i,1) = pack('C',rand(256)); - $i++; -} - -for $i (1,2,4,8,16,32,64) { - $name = sprintf("u%04d.dat",$i); - open(OUTFILE,">$name") || die "$0: cannot open '$name': $!"; - binmode(OUTFILE); - print OUTFILE substr($x,0,$i*1024); - close(OUTFILE); -} - -exit(0); |