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)
project(libdeflate C)

View File

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

View File

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

View File

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

View File

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

View File

@ -2,6 +2,8 @@
* compiler-gcc.h
*
* 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

View File

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

View File

@ -2,6 +2,8 @@
* crc32.c
*
* 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
*
* CRC-32 checksum computation for the gzip format.
*
* This file has no copyright assigned and is placed in the Public Domain.
*/
#pragma once

View File

@ -1,5 +1,7 @@
/*
* deflate_compress.c
*
* This file has no copyright assigned and is placed in the Public Domain.
*/
#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
/* 'struct deflate_compressor' is private to deflate_compress.c, but zlib header

View File

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

View File

@ -1,6 +1,10 @@
/*
* 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
* 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.

View File

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

View File

@ -2,6 +2,8 @@
* gzip_compress.c
*
* 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"

View File

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

View File

@ -2,6 +2,8 @@
* gzip_decompress.c
*
* 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"

View File

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

View File

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

View File

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

View File

@ -2,6 +2,8 @@
* matchfinder_avx2.h
*
* 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>

View File

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

View File

@ -4,6 +4,8 @@
* Definitions for nonsliding window matchfinders.
*
* "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

View File

@ -5,6 +5,8 @@
*
* "Sliding window" means that only sequences beginning in the most recent
* 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

View File

@ -2,6 +2,8 @@
* matchfinder_sse2.h
*
* 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>

View File

@ -2,6 +2,8 @@
* types.h
*
* 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

View File

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

View File

@ -2,6 +2,8 @@
* zlib_compress.c
*
* 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"

View File

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

View File

@ -2,6 +2,8 @@
* zlib_decompress.c
*
* 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"

View File

@ -1,7 +1,9 @@
/*
* 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.
*/