Tidied up copyrights.
authorDan Lewis <dan@mono-cvs.ximian.com>
Wed, 15 May 2002 13:31:49 +0000 (13:31 -0000)
committerDan Lewis <dan@mono-cvs.ximian.com>
Wed, 15 May 2002 13:31:49 +0000 (13:31 -0000)
svn path=/trunk/mono/; revision=4661

mono/benchmark/zipmark.cs

index 5e0e2bffef5778c4292cd12290d254e0bbc8fe66..30e7037d6396979c362cc28b0e5e4587e5866439 100644 (file)
@@ -1,3 +1,34 @@
+// zipmark.cs\r
+// (This file is the NZipLib sources with a crude benchmark class attached -\r
+//  2002-15-05 Dan Lewis <dihlewis@yahoo.co.uk>)\r
+// -------------------------------------------------------------------------\r
+//\r
+// NZipLib source:\r
+// Copyright (C) 2001 Mike Krueger\r
+//\r
+// This file was translated from java, it was part of the GNU Classpath\r
+// Copyright (C) 2001 Free Software Foundation, Inc.\r
+//\r
+// This program is free software; you can redistribute it and/or\r
+// modify it under the terms of the GNU General Public License\r
+// as published by the Free Software Foundation; either version 2\r
+// of the License, or (at your option) any later version.\r
+//\r
+// This program is distributed in the hope that it will be useful,\r
+// but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+// GNU General Public License for more details.\r
+//\r
+// You should have received a copy of the GNU General Public License\r
+// along with this program; if not, write to the Free Software\r
+// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\r
+//\r
+// As a special exception, if you link this library with other files to\r
+// produce an executable, this library does not by itself cause the\r
+// resulting executable to be covered by the GNU General Public License.\r
+// This exception does not however invalidate any other reasons why the\r
+// executable file might be covered by the GNU General Public License.\r
+\r
 using System;\r
 using System.IO;\r
 using NZlib.Streams;\r
@@ -110,33 +141,6 @@ class ZipMark {
 \r
 // ----------------------  NZipLib sources from here on --------------------------\r
 \r
-\r
-// Deflater.cs\r
-// Copyright (C) 2001 Mike Krueger\r
-//\r
-// This file was translated from java, it was part of the GNU Classpath\r
-// Copyright (C) 2001 Free Software Foundation, Inc.\r
-//\r
-// This program is free software; you can redistribute it and/or\r
-// modify it under the terms of the GNU General Public License\r
-// as published by the Free Software Foundation; either version 2\r
-// of the License, or (at your option) any later version.\r
-//\r
-// This program is distributed in the hope that it will be useful,\r
-// but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-// GNU General Public License for more details.\r
-//\r
-// You should have received a copy of the GNU General Public License\r
-// along with this program; if not, write to the Free Software\r
-// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\r
-//\r
-// As a special exception, if you link this library with other files to\r
-// produce an executable, this library does not by itself cause the\r
-// resulting executable to be covered by the GNU General Public License.\r
-// This exception does not however invalidate any other reasons why the\r
-// executable file might be covered by the GNU General Public License.\r
-\r
 namespace NZlib.Compression {\r
        \r
        /// <summary>\r
@@ -662,31 +666,6 @@ namespace NZlib.Compression {
                }\r
        }\r
 }\r
-// DeflaterConstants.cs\r
-// Copyright (C) 2001 Mike Krueger\r
-//\r
-// This file was translated from java, it was part of the GNU Classpath\r
-// Copyright (C) 2001 Free Software Foundation, Inc.\r
-//\r
-// This program is free software; you can redistribute it and/or\r
-// modify it under the terms of the GNU General Public License\r
-// as published by the Free Software Foundation; either version 2\r
-// of the License, or (at your option) any later version.\r
-//\r
-// This program is distributed in the hope that it will be useful,\r
-// but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-// GNU General Public License for more details.\r
-//\r
-// You should have received a copy of the GNU General Public License\r
-// along with this program; if not, write to the Free Software\r
-// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\r
-//\r
-// As a special exception, if you link this library with other files to\r
-// produce an executable, this library does not by itself cause the\r
-// resulting executable to be covered by the GNU General Public License.\r
-// This exception does not however invalidate any other reasons why the\r
-// executable file might be covered by the GNU General Public License.\r
 \r
 namespace NZlib.Compression {\r
        \r
@@ -733,32 +712,6 @@ namespace NZlib.Compression {
                public static int[] COMPR_FUNC  = { 0, 1, 1, 1, 1, 2,  2,  2,   2,   2 };\r
        }\r
 }\r
-// DeflaterEngine.cs\r
-// Copyright (C) 2001 Mike Krueger\r
-//\r
-// This file was translated from java, it was part of the GNU Classpath\r
-// Copyright (C) 2001 Free Software Foundation, Inc.\r
-//\r
-// This program is free software; you can redistribute it and/or\r
-// modify it under the terms of the GNU General Public License\r
-// as published by the Free Software Foundation; either version 2\r
-// of the License, or (at your option) any later version.\r
-//\r
-// This program is distributed in the hope that it will be useful,\r
-// but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-// GNU General Public License for more details.\r
-//\r
-// You should have received a copy of the GNU General Public License\r
-// along with this program; if not, write to the Free Software\r
-// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\r
-//\r
-// As a special exception, if you link this library with other files to\r
-// produce an executable, this library does not by itself cause the\r
-// resulting executable to be covered by the GNU General Public License.\r
-// This exception does not however invalidate any other reasons why the\r
-// executable file might be covered by the GNU General Public License.\r
-\r
 \r
 namespace NZlib.Compression {\r
        \r
@@ -1322,31 +1275,6 @@ namespace NZlib.Compression {
                }\r
        }\r
 }\r
-// DeflaterHuffman.cs\r
-// Copyright (C) 2001 Mike Krueger\r
-//\r
-// This file was translated from java, it was part of the GNU Classpath\r
-// Copyright (C) 2001 Free Software Foundation, Inc.\r
-//\r
-// This program is free software; you can redistribute it and/or\r
-// modify it under the terms of the GNU General Public License\r
-// as published by the Free Software Foundation; either version 2\r
-// of the License, or (at your option) any later version.\r
-//\r
-// This program is distributed in the hope that it will be useful,\r
-// but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-// GNU General Public License for more details.\r
-//\r
-// You should have received a copy of the GNU General Public License\r
-// along with this program; if not, write to the Free Software\r
-// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\r
-//\r
-// As a special exception, if you link this library with other files to\r
-// produce an executable, this library does not by itself cause the\r
-// resulting executable to be covered by the GNU General Public License.\r
-// This exception does not however invalidate any other reasons why the\r
-// executable file might be covered by the GNU General Public License.\r
 \r
 namespace NZlib.Compression {\r
        \r
@@ -2087,32 +2015,6 @@ namespace NZlib.Compression {
                }\r
        }\r
 }\r
-// DeflaterPending.cs\r
-// Copyright (C) 2001 Mike Krueger\r
-//\r
-// This file was translated from java, it was part of the GNU Classpath\r
-// Copyright (C) 2001 Free Software Foundation, Inc.\r
-//\r
-// This program is free software; you can redistribute it and/or\r
-// modify it under the terms of the GNU General Public License\r
-// as published by the Free Software Foundation; either version 2\r
-// of the License, or (at your option) any later version.\r
-//\r
-// This program is distributed in the hope that it will be useful,\r
-// but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-// GNU General Public License for more details.\r
-//\r
-// You should have received a copy of the GNU General Public License\r
-// along with this program; if not, write to the Free Software\r
-// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\r
-//\r
-// As a special exception, if you link this library with other files to\r
-// produce an executable, this library does not by itself cause the\r
-// resulting executable to be covered by the GNU General Public License.\r
-// This exception does not however invalidate any other reasons why the\r
-// executable file might be covered by the GNU General Public License.\r
-\r
 \r
 namespace NZlib.Compression {\r
        \r
@@ -2128,31 +2030,6 @@ namespace NZlib.Compression {
                }\r
        }\r
 }\r
-// Inflater.cs\r
-// Copyright (C) 2001 Mike Krueger\r
-//\r
-// This file was translated from java, it was part of the GNU Classpath\r
-// Copyright (C) 2001 Free Software Foundation, Inc.\r
-//\r
-// This program is free software; you can redistribute it and/or\r
-// modify it under the terms of the GNU General Public License\r
-// as published by the Free Software Foundation; either version 2\r
-// of the License, or (at your option) any later version.\r
-//\r
-// This program is distributed in the hope that it will be useful,\r
-// but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-// GNU General Public License for more details.\r
-//\r
-// You should have received a copy of the GNU General Public License\r
-// along with this program; if not, write to the Free Software\r
-// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\r
-//\r
-// As a special exception, if you link this library with other files to\r
-// produce an executable, this library does not by itself cause the\r
-// resulting executable to be covered by the GNU General Public License.\r
-// This exception does not however invalidate any other reasons why the\r
-// executable file might be covered by the GNU General Public License.\r
 \r
 namespace NZlib.Compression {\r
        \r
@@ -2882,31 +2759,6 @@ namespace NZlib.Compression {
                }\r
        }\r
 }\r
-// InflaterDynHeader.cs\r
-// Copyright (C) 2001 Mike Krueger\r
-//\r
-// This file was translated from java, it was part of the GNU Classpath\r
-// Copyright (C) 2001 Free Software Foundation, Inc.\r
-//\r
-// This program is free software; you can redistribute it and/or\r
-// modify it under the terms of the GNU General Public License\r
-// as published by the Free Software Foundation; either version 2\r
-// of the License, or (at your option) any later version.\r
-//\r
-// This program is distributed in the hope that it will be useful,\r
-// but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-// GNU General Public License for more details.\r
-//\r
-// You should have received a copy of the GNU General Public License\r
-// along with this program; if not, write to the Free Software\r
-// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\r
-//\r
-// As a special exception, if you link this library with other files to\r
-// produce an executable, this library does not by itself cause the\r
-// resulting executable to be covered by the GNU General Public License.\r
-// This exception does not however invalidate any other reasons why the\r
-// executable file might be covered by the GNU General Public License.\r
 \r
 namespace NZlib.Compression {\r
        \r
@@ -3153,31 +3005,6 @@ namespace NZlib.Compression {
                }\r
        }\r
 }\r
-// InflaterHuffmanTree.cs\r
-// Copyright (C) 2001 Mike Krueger\r
-//\r
-// This file was translated from java, it was part of the GNU Classpath\r
-// Copyright (C) 2001 Free Software Foundation, Inc.\r
-//\r
-// This program is free software; you can redistribute it and/or\r
-// modify it under the terms of the GNU General Public License\r
-// as published by the Free Software Foundation; either version 2\r
-// of the License, or (at your option) any later version.\r
-//\r
-// This program is distributed in the hope that it will be useful,\r
-// but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-// GNU General Public License for more details.\r
-//\r
-// You should have received a copy of the GNU General Public License\r
-// along with this program; if not, write to the Free Software\r
-// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\r
-//\r
-// As a special exception, if you link this library with other files to\r
-// produce an executable, this library does not by itself cause the\r
-// resulting executable to be covered by the GNU General Public License.\r
-// This exception does not however invalidate any other reasons why the\r
-// executable file might be covered by the GNU General Public License.\r
 \r
 namespace NZlib.Compression {\r
        \r
@@ -3346,32 +3173,6 @@ namespace NZlib.Compression {
        }\r
 }\r
 \r
-// PendingBuffer.cs\r
-// Copyright (C) 2001 Mike Krueger\r
-//\r
-// This file was translated from java, it was part of the GNU Classpath\r
-// Copyright (C) 2001 Free Software Foundation, Inc.\r
-//\r
-// This program is free software; you can redistribute it and/or\r
-// modify it under the terms of the GNU General Public License\r
-// as published by the Free Software Foundation; either version 2\r
-// of the License, or (at your option) any later version.\r
-//\r
-// This program is distributed in the hope that it will be useful,\r
-// but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-// GNU General Public License for more details.\r
-//\r
-// You should have received a copy of the GNU General Public License\r
-// along with this program; if not, write to the Free Software\r
-// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\r
-//\r
-// As a special exception, if you link this library with other files to\r
-// produce an executable, this library does not by itself cause the\r
-// resulting executable to be covered by the GNU General Public License.\r
-// This exception does not however invalidate any other reasons why the\r
-// executable file might be covered by the GNU General Public License.\r
-\r
 namespace NZlib.Compression {\r
        \r
        /// <summary>\r
@@ -3541,31 +3342,6 @@ namespace NZlib.Compression {
                }\r
        }\r
 }      \r
-// Adler32.cs - Computes Adler32 data checksum of a data stream\r
-// Copyright (C) 2001 Mike Krueger\r
-//\r
-// This file was translated from java, it was part of the GNU Classpath\r
-// Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.\r
-//\r
-// This program is free software; you can redistribute it and/or\r
-// modify it under the terms of the GNU General Public License\r
-// as published by the Free Software Foundation; either version 2\r
-// of the License, or (at your option) any later version.\r
-//\r
-// This program is distributed in the hope that it will be useful,\r
-// but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-// GNU General Public License for more details.\r
-//\r
-// You should have received a copy of the GNU General Public License\r
-// along with this program; if not, write to the Free Software\r
-// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\r
-//\r
-// As a special exception, if you link this library with other files to\r
-// produce an executable, this library does not by itself cause the\r
-// resulting executable to be covered by the GNU General Public License.\r
-// This exception does not however invalidate any other reasons why the\r
-// executable file might be covered by the GNU General Public License.\r
 \r
 namespace NZlib.Checksums {\r
        \r
@@ -3727,31 +3503,6 @@ namespace NZlib.Checksums {
                }\r
        }\r
 }\r
-// CRC32.cs - Computes CRC32 data checksum of a data stream\r
-// Copyright (C) 2001 Mike Krueger\r
-//\r
-// This file was translated from java, it was part of the GNU Classpath\r
-// Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.\r
-//\r
-// This program is free software; you can redistribute it and/or\r
-// modify it under the terms of the GNU General Public License\r
-// as published by the Free Software Foundation; either version 2\r
-// of the License, or (at your option) any later version.\r
-//\r
-// This program is distributed in the hope that it will be useful,\r
-// but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-// GNU General Public License for more details.\r
-//\r
-// You should have received a copy of the GNU General Public License\r
-// along with this program; if not, write to the Free Software\r
-// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\r
-//\r
-// As a special exception, if you link this library with other files to\r
-// produce an executable, this library does not by itself cause the\r
-// resulting executable to be covered by the GNU General Public License.\r
-// This exception does not however invalidate any other reasons why the\r
-// executable file might be covered by the GNU General Public License.\r
 \r
 namespace NZlib.Checksums {\r
        \r
@@ -3916,31 +3667,6 @@ namespace NZlib.Checksums {
                }\r
        }\r
 }\r
-// IChecksum.cs - Interface to compute a data checksum\r
-// Copyright (C) 2001 Mike Krueger\r
-//\r
-// This file was translated from java, it was part of the GNU Classpath\r
-// Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.\r
-//\r
-// This program is free software; you can redistribute it and/or\r
-// modify it under the terms of the GNU General Public License\r
-// as published by the Free Software Foundation; either version 2\r
-// of the License, or (at your option) any later version.\r
-//\r
-// This program is distributed in the hope that it will be useful,\r
-// but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-// GNU General Public License for more details.\r
-//\r
-// You should have received a copy of the GNU General Public License\r
-// along with this program; if not, write to the Free Software\r
-// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\r
-//\r
-// As a special exception, if you link this library with other files to\r
-// produce an executable, this library does not by itself cause the\r
-// resulting executable to be covered by the GNU General Public License.\r
-// This exception does not however invalidate any other reasons why the\r
-// executable file might be covered by the GNU General Public License.\r
 \r
 namespace NZlib.Checksums {\r
        \r
@@ -3996,31 +3722,6 @@ namespace NZlib.Checksums {
                void Update(byte[] buf, int off, int len);\r
        }\r
 }\r
-// OutputWindow.cs\r
-// Copyright (C) 2001 Mike Krueger\r
-//\r
-// This file was translated from java, it was part of the GNU Classpath\r
-// Copyright (C) 2001 Free Software Foundation, Inc.\r
-//\r
-// This program is free software; you can redistribute it and/or\r
-// modify it under the terms of the GNU General Public License\r
-// as published by the Free Software Foundation; either version 2\r
-// of the License, or (at your option) any later version.\r
-//\r
-// This program is distributed in the hope that it will be useful,\r
-// but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-// GNU General Public License for more details.\r
-//\r
-// You should have received a copy of the GNU General Public License\r
-// along with this program; if not, write to the Free Software\r
-// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\r
-//\r
-// As a special exception, if you link this library with other files to\r
-// produce an executable, this library does not by itself cause the\r
-// resulting executable to be covered by the GNU General Public License.\r
-// This exception does not however invalidate any other reasons why the\r
-// executable file might be covered by the GNU General Public License.\r
 \r
 namespace NZlib.Streams {\r
        \r
@@ -4159,31 +3860,6 @@ namespace NZlib.Streams {
                }\r
        }\r
 }\r
-// StreamManipulator.cs\r
-// Copyright (C) 2001 Mike Krueger\r
-//\r
-// This file was translated from java, it was part of the GNU Classpath\r
-// Copyright (C) 2001 Free Software Foundation, Inc.\r
-//\r
-// This program is free software; you can redistribute it and/or\r
-// modify it under the terms of the GNU General Public License\r
-// as published by the Free Software Foundation; either version 2\r
-// of the License, or (at your option) any later version.\r
-//\r
-// This program is distributed in the hope that it will be useful,\r
-// but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-// GNU General Public License for more details.\r
-//\r
-// You should have received a copy of the GNU General Public License\r
-// along with this program; if not, write to the Free Software\r
-// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\r
-//\r
-// As a special exception, if you link this library with other files to\r
-// produce an executable, this library does not by itself cause the\r
-// resulting executable to be covered by the GNU General Public License.\r
-// This exception does not however invalidate any other reasons why the\r
-// executable file might be covered by the GNU General Public License.\r
 \r
 namespace NZlib.Streams {\r
        \r