Update file headers

This commit is contained in:
Eric Biggers 2015-01-22 19:50:35 -06:00
parent 5f3208e788
commit 7b955dadc7
31 changed files with 75 additions and 3 deletions

View File

@ -1,3 +1,11 @@
#
# CMakeLists.txt
#
# This is the build file for libdeflate.
#
# This file has no copyright assigned and is placed in the Public Domain.
#
cmake_minimum_required(VERSION 2.6) cmake_minimum_required(VERSION 2.6)
project(libdeflate C) project(libdeflate C)

View File

@ -2,6 +2,8 @@
* adler32.c * adler32.c
* *
* Adler-32 checksum algorithm. * Adler-32 checksum algorithm.
*
* This file has no copyright assigned and is placed in the Public Domain.
*/ */
#include "adler32.h" #include "adler32.h"

View File

@ -2,6 +2,8 @@
* adler32.h * adler32.h
* *
* Adler-32 checksum algorithm. * Adler-32 checksum algorithm.
*
* This file has no copyright assigned and is placed in the Public Domain.
*/ */
#pragma once #pragma once

View File

@ -2,6 +2,8 @@
* bitops.h * bitops.h
* *
* Inline functions for bit manipulation. * Inline functions for bit manipulation.
*
* This file has no copyright assigned and is placed in the Public Domain.
*/ */
#pragma once #pragma once

View File

@ -1,7 +1,9 @@
/* /*
* bt_matchfinder.h * bt_matchfinder.h
* *
* ---------------------------------------------------------------------------- * This file has no copyright assigned and is placed in the Public Domain.
*
* ---------------------------------------------------------------------------
* *
* This is a Binary Trees (bt) based matchfinder. * This is a Binary Trees (bt) based matchfinder.
* *

View File

@ -2,6 +2,8 @@
* compiler-gcc.h * compiler-gcc.h
* *
* Compiler and platform-specific definitions for the GNU C compiler. * Compiler and platform-specific definitions for the GNU C compiler.
*
* This file has no copyright assigned and is placed in the Public Domain.
*/ */
#pragma once #pragma once

View File

@ -2,6 +2,8 @@
* compiler.h * compiler.h
* *
* Compiler and platform-specific definitions. * Compiler and platform-specific definitions.
*
* This file has no copyright assigned and is placed in the Public Domain.
*/ */
#pragma once #pragma once

View File

@ -2,6 +2,8 @@
* crc32.c * crc32.c
* *
* CRC-32 checksum computation for the gzip format. * CRC-32 checksum computation for the gzip format.
*
* This file has no copyright assigned and is placed in the Public Domain.
*/ */
/* /*

View File

@ -2,6 +2,8 @@
* crc32.h * crc32.h
* *
* CRC-32 checksum computation for the gzip format. * CRC-32 checksum computation for the gzip format.
*
* This file has no copyright assigned and is placed in the Public Domain.
*/ */
#pragma once #pragma once

View File

@ -1,5 +1,7 @@
/* /*
* deflate_compress.c * deflate_compress.c
*
* This file has no copyright assigned and is placed in the Public Domain.
*/ */
#include <assert.h> #include <assert.h>

View File

@ -1,3 +1,9 @@
/*
* deflate_compress.h
*
* This file has no copyright assigned and is placed in the Public Domain.
*/
#pragma once #pragma once
/* 'struct deflate_compressor' is private to deflate_compress.c, but zlib header /* 'struct deflate_compressor' is private to deflate_compress.c, but zlib header

View File

@ -2,6 +2,8 @@
* deflate_constants.h * deflate_constants.h
* *
* Constants for the DEFLATE compression format. * Constants for the DEFLATE compression format.
*
* This file has no copyright assigned and is placed in the Public Domain.
*/ */
#pragma once #pragma once

View File

@ -1,6 +1,10 @@
/* /*
* deflate_decompress.c * deflate_decompress.c
* *
* This file has no copyright assigned and is placed in the Public Domain.
*
* ---------------------------------------------------------------------------
*
* This is a highly optimized DEFLATE decompressor. On x86_64 it decompresses * This is a highly optimized DEFLATE decompressor. On x86_64 it decompresses
* data in about 59% of the time of zlib. On other architectures it should * data in about 59% of the time of zlib. On other architectures it should
* still be significantly faster than zlib, but the difference may be smaller. * still be significantly faster than zlib, but the difference may be smaller.

View File

@ -2,6 +2,8 @@
* endianness.h * endianness.h
* *
* Macros and inline functions for endianness conversion. * Macros and inline functions for endianness conversion.
*
* This file has no copyright assigned and is placed in the Public Domain.
*/ */
#pragma once #pragma once

View File

@ -2,6 +2,8 @@
* gzip_compress.c * gzip_compress.c
* *
* Generate DEFLATE-compressed data in the gzip wrapper format. * Generate DEFLATE-compressed data in the gzip wrapper format.
*
* This file has no copyright assigned and is placed in the Public Domain.
*/ */
#include "libdeflate.h" #include "libdeflate.h"

View File

@ -2,6 +2,8 @@
* gzip_constants.h * gzip_constants.h
* *
* Constants for the gzip wrapper format. * Constants for the gzip wrapper format.
*
* This file has no copyright assigned and is placed in the Public Domain.
*/ */
#pragma once #pragma once

View File

@ -2,6 +2,8 @@
* gzip_decompress.c * gzip_decompress.c
* *
* Decompress DEFLATE-compressed data wrapped in the gzip format. * Decompress DEFLATE-compressed data wrapped in the gzip format.
*
* This file has no copyright assigned and is placed in the Public Domain.
*/ */
#include "libdeflate.h" #include "libdeflate.h"

View File

@ -1,6 +1,8 @@
/* /*
* hc_matchfinder.h * hc_matchfinder.h
* *
* This file has no copyright assigned and is placed in the Public Domain.
*
* --------------------------------------------------------------------------- * ---------------------------------------------------------------------------
* *
* Algorithm * Algorithm

View File

@ -2,6 +2,8 @@
* lz_extend.h * lz_extend.h
* *
* Fast match extension for Lempel-Ziv matchfinding. * Fast match extension for Lempel-Ziv matchfinding.
*
* This file has no copyright assigned and is placed in the Public Domain.
*/ */
#pragma once #pragma once

View File

@ -2,6 +2,8 @@
* lz_hash.h * lz_hash.h
* *
* Hashing for Lempel-Ziv matchfinding. * Hashing for Lempel-Ziv matchfinding.
*
* This file has no copyright assigned and is placed in the Public Domain.
*/ */
#ifndef _LZ_HASH_H #ifndef _LZ_HASH_H

View File

@ -2,6 +2,8 @@
* matchfinder_avx2.h * matchfinder_avx2.h
* *
* Matchfinding routines optimized for Intel AVX2 (Advanced Vector Extensions). * Matchfinding routines optimized for Intel AVX2 (Advanced Vector Extensions).
*
* This file has no copyright assigned and is placed in the Public Domain.
*/ */
#include <immintrin.h> #include <immintrin.h>

View File

@ -2,6 +2,8 @@
* matchfinder_common.h * matchfinder_common.h
* *
* Common code for Lempel-Ziv matchfinding. * Common code for Lempel-Ziv matchfinding.
*
* This file has no copyright assigned and is placed in the Public Domain.
*/ */
#pragma once #pragma once

View File

@ -4,6 +4,8 @@
* Definitions for nonsliding window matchfinders. * Definitions for nonsliding window matchfinders.
* *
* "Nonsliding window" means that any prior sequence can be matched. * "Nonsliding window" means that any prior sequence can be matched.
*
* This file has no copyright assigned and is placed in the Public Domain.
*/ */
#if MATCHFINDER_WINDOW_ORDER <= 16 #if MATCHFINDER_WINDOW_ORDER <= 16

View File

@ -5,6 +5,8 @@
* *
* "Sliding window" means that only sequences beginning in the most recent * "Sliding window" means that only sequences beginning in the most recent
* MATCHFINDER_WINDOW_SIZE bytes can be matched. * MATCHFINDER_WINDOW_SIZE bytes can be matched.
*
* This file has no copyright assigned and is placed in the Public Domain.
*/ */
#if MATCHFINDER_WINDOW_ORDER <= 15 #if MATCHFINDER_WINDOW_ORDER <= 15

View File

@ -2,6 +2,8 @@
* matchfinder_sse2.h * matchfinder_sse2.h
* *
* Matchfinding routines optimized for Intel SSE2 (Streaming SIMD Extensions). * Matchfinding routines optimized for Intel SSE2 (Streaming SIMD Extensions).
*
* This file has no copyright assigned and is placed in the Public Domain.
*/ */
#include <emmintrin.h> #include <emmintrin.h>

View File

@ -2,6 +2,8 @@
* types.h * types.h
* *
* Definitions of fixed-width integers, 'bool', 'size_t', and 'machine_word_t'. * Definitions of fixed-width integers, 'bool', 'size_t', and 'machine_word_t'.
*
* This file has no copyright assigned and is placed in the Public Domain.
*/ */
#pragma once #pragma once

View File

@ -2,6 +2,8 @@
* unaligned.h * unaligned.h
* *
* Inline functions for unaligned memory accesses. * Inline functions for unaligned memory accesses.
*
* This file has no copyright assigned and is placed in the Public Domain.
*/ */
#pragma once #pragma once

View File

@ -2,6 +2,8 @@
* zlib_compress.c * zlib_compress.c
* *
* Generate DEFLATE-compressed data in the zlib wrapper format. * Generate DEFLATE-compressed data in the zlib wrapper format.
*
* This file has no copyright assigned and is placed in the Public Domain.
*/ */
#include "libdeflate.h" #include "libdeflate.h"

View File

@ -1,7 +1,7 @@
/* /*
* zlib_constants.h * zlib_constants.h
* *
* Constants for the zlib wrapper format. * This file has no copyright assigned and is placed in the Public Domain.
*/ */
#pragma once #pragma once

View File

@ -2,6 +2,8 @@
* zlib_decompress.c * zlib_decompress.c
* *
* Decompress DEFLATE-compressed data wrapped in the zlib format. * Decompress DEFLATE-compressed data wrapped in the zlib format.
*
* This file has no copyright assigned and is placed in the Public Domain.
*/ */
#include "libdeflate.h" #include "libdeflate.h"

View File

@ -1,7 +1,9 @@
/* /*
* gen_crc32_table.c * gen_crc32_table.c
* *
* A program for CRC-32 table generation. * This file has no copyright assigned and is placed in the Public Domain.
*
* This is a program for CRC-32 table generation.
* *
* See crc32.c for more details about CRC computation. * See crc32.c for more details about CRC computation.
*/ */