Commit 207c32cd authored by Stefan van den Oord's avatar Stefan van den Oord

Updated lz4 to 128

parent 979b623d
......@@ -6,7 +6,7 @@ use_frameworks!
pod 'SwiftBytes', '~> 0.1.0'
pod 'CocoaAsyncSocket', '~> 7.4', :inhibit_warnings => true
pod 'lz4', '~> 123', :inhibit_warnings => true
pod 'lz4', '~> 128', :inhibit_warnings => true
pod 'Base32', '~> 1.0.2'
pod 'IGDigest', '~> 1.1.0'
pod 'OpenSSL-Framework', '~> 1.0.201'
......
......@@ -2,7 +2,7 @@ PODS:
- Base32 (1.0.2)
- CocoaAsyncSocket (7.4.1)
- IGDigest (1.1.2)
- lz4 (123)
- lz4 (128)
- Nimble (0.4.2)
- OpenSSL-Framework (1.0.201)
- Quick (0.3.1)
......@@ -12,7 +12,7 @@ DEPENDENCIES:
- Base32 (~> 1.0.2)
- CocoaAsyncSocket (~> 7.4)
- IGDigest (~> 1.1.0)
- lz4 (~> 123)
- lz4 (~> 128)
- Nimble (~> 0.3)
- OpenSSL-Framework (~> 1.0.201)
- Quick (~> 0.2)
......@@ -22,7 +22,7 @@ SPEC CHECKSUMS:
Base32: 4e6b6d6c344b48da363c5268f9c391d37893401f
CocoaAsyncSocket: 7cbf214b27f8e7f7574db6a3fd96352ffaed433d
IGDigest: 066753c10f3f1b593b00037b9ee93dc96b9e7762
lz4: 04eccb717fb91bcc7b22868bdb545fdffa27f053
lz4: 5e066195ca751d552becaa026f8fe213ff738adf
Nimble: 49b7a7da8919f42823d37c6d68cc6d15a7009f32
OpenSSL-Framework: 2d2289869dd1cfd0df0b340398bcf64094ecfe12
Quick: 824572d3d198d51e52cf4aa722cebf7e59952a35
......
../../../lz4/lz4.h
\ No newline at end of file
../../../lz4/lib/lz4.h
\ No newline at end of file
../../../lz4/lz4frame.h
\ No newline at end of file
../../../lz4/lib/lz4frame.h
\ No newline at end of file
../../../lz4/lib/lz4frame_static.h
\ No newline at end of file
../../../lz4/lz4hc.h
\ No newline at end of file
../../../lz4/lib/lz4hc.h
\ No newline at end of file
../../../lz4/xxhash.h
\ No newline at end of file
../../../lz4/lib/xxhash.h
\ No newline at end of file
../../../lz4/lz4.h
\ No newline at end of file
../../../lz4/lib/lz4.h
\ No newline at end of file
../../../lz4/lz4frame.h
\ No newline at end of file
../../../lz4/lib/lz4frame.h
\ No newline at end of file
../../../lz4/lib/lz4frame_static.h
\ No newline at end of file
../../../lz4/lz4hc.h
\ No newline at end of file
../../../lz4/lib/lz4hc.h
\ No newline at end of file
../../../lz4/xxhash.h
\ No newline at end of file
../../../lz4/lib/xxhash.h
\ No newline at end of file
......@@ -2,7 +2,7 @@ PODS:
- Base32 (1.0.2)
- CocoaAsyncSocket (7.4.1)
- IGDigest (1.1.2)
- lz4 (123)
- lz4 (128)
- Nimble (0.4.2)
- OpenSSL-Framework (1.0.201)
- Quick (0.3.1)
......@@ -12,7 +12,7 @@ DEPENDENCIES:
- Base32 (~> 1.0.2)
- CocoaAsyncSocket (~> 7.4)
- IGDigest (~> 1.1.0)
- lz4 (~> 123)
- lz4 (~> 128)
- Nimble (~> 0.3)
- OpenSSL-Framework (~> 1.0.201)
- Quick (~> 0.2)
......@@ -22,7 +22,7 @@ SPEC CHECKSUMS:
Base32: 4e6b6d6c344b48da363c5268f9c391d37893401f
CocoaAsyncSocket: 7cbf214b27f8e7f7574db6a3fd96352ffaed433d
IGDigest: 066753c10f3f1b593b00037b9ee93dc96b9e7762
lz4: 04eccb717fb91bcc7b22868bdb545fdffa27f053
lz4: 5e066195ca751d552becaa026f8fe213ff738adf
Nimble: 49b7a7da8919f42823d37c6d68cc6d15a7009f32
OpenSSL-Framework: 2d2289869dd1cfd0df0b340398bcf64094ecfe12
Quick: 824572d3d198d51e52cf4aa722cebf7e59952a35
......
This diff is collapsed.
......@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>123</string>
<string>128</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
......
......@@ -2,6 +2,7 @@
#import "lz4.h"
#import "lz4frame.h"
#import "lz4frame_static.h"
#import "lz4hc.h"
#import "xxhash.h"
......
......@@ -50,7 +50,7 @@
// lz4
#define COCOAPODS_POD_AVAILABLE_lz4
#define COCOAPODS_VERSION_MAJOR_lz4 123
#define COCOAPODS_VERSION_MAJOR_lz4 128
#define COCOAPODS_VERSION_MINOR_lz4 0
#define COCOAPODS_VERSION_PATCH_lz4 0
......@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>123</string>
<string>128</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
......
......@@ -2,6 +2,7 @@
#import "lz4.h"
#import "lz4frame.h"
#import "lz4frame_static.h"
#import "lz4hc.h"
#import "xxhash.h"
......
......@@ -50,7 +50,7 @@
// lz4
#define COCOAPODS_POD_AVAILABLE_lz4
#define COCOAPODS_VERSION_MAJOR_lz4 123
#define COCOAPODS_VERSION_MAJOR_lz4 128
#define COCOAPODS_VERSION_MINOR_lz4 0
#define COCOAPODS_VERSION_PATCH_lz4 0
......@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>123</string>
<string>128</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
......
......@@ -2,6 +2,7 @@
#import "lz4.h"
#import "lz4frame.h"
#import "lz4frame_static.h"
#import "lz4hc.h"
#import "xxhash.h"
......
......@@ -50,7 +50,7 @@
// lz4
#define COCOAPODS_POD_AVAILABLE_lz4
#define COCOAPODS_VERSION_MAJOR_lz4 123
#define COCOAPODS_VERSION_MAJOR_lz4 128
#define COCOAPODS_VERSION_MINOR_lz4 0
#define COCOAPODS_VERSION_PATCH_lz4 0
......@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>123</string>
<string>128</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
......
......@@ -2,6 +2,7 @@
#import "lz4.h"
#import "lz4frame.h"
#import "lz4frame_static.h"
#import "lz4hc.h"
#import "xxhash.h"
......
......@@ -38,7 +38,7 @@
// lz4
#define COCOAPODS_POD_AVAILABLE_lz4
#define COCOAPODS_VERSION_MAJOR_lz4 123
#define COCOAPODS_VERSION_MAJOR_lz4 128
#define COCOAPODS_VERSION_MINOR_lz4 0
#define COCOAPODS_VERSION_PATCH_lz4 0
......@@ -9,13 +9,13 @@ A high compression derivative, called LZ4_HC, is also provided. It trades CPU ti
|master | [![Build Status](https://travis-ci.org/Cyan4973/lz4.svg?branch=master)](https://travis-ci.org/Cyan4973/lz4) |
|dev | [![Build Status](https://travis-ci.org/Cyan4973/lz4.svg?branch=dev)](https://travis-ci.org/Cyan4973/lz4) |
This is an official mirror of LZ4 project, [hosted on Google Code](http://code.google.com/p/lz4/).
The intention is to offer github's capabilities to lz4 users, such as cloning, branch, pull requests or source download.
The "master" branch will reflect, the status of lz4 at its official homepage.
The "dev" branch is the one where all contributions will be merged. If you plan to propose a patch, please commit into the "dev" branch. Direct commit to "master" are not permitted.
Feature branches will also exist, typically to introduce new requirements, and be temporarily available for testing before merge into "dev" branch.
> **Branch Policy:**
> - The "master" branch is considered stable, at all times.
> - The "dev" branch is the one where all contributions must be merged before being promoted to master.
> - If you plan to propose a patch, please commit into the "dev" branch. Direct commit to "master" are not permitted.
> - Feature branches can also exist, for dedicated testing of larger modifications before merge into "dev" branch.
Benchmarks
-------------------------
......@@ -54,3 +54,7 @@ Benchmark evaluates the compression of reference [Silesia Corpus](http://sun.aei
</tr>
</table>
The LZ4 block compression format is detailed within [lz4_block_format.txt](lz4_block_format.txt).
For streaming unknown amount of data and compress files of any size, a frame format has been published, and can be consulted within the file LZ4_Frame_Format.html .
This diff is collapsed.
This diff is collapsed.
/*
LZ4 auto-framing library
Header File for static linking only
Copyright (C) 2011-2015, Yann Collet.
BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
You can contact the author at :
- LZ4 source repository : https://github.com/Cyan4973/lz4
- LZ4 public forum : https://groups.google.com/forum/#!forum/lz4c
*/
#pragma once
#if defined (__cplusplus)
extern "C" {
#endif
/* lz4frame_static.h should be used solely in the context of static linking.
* */
/**************************************
* Error management
* ************************************/
#define LZ4F_LIST_ERRORS(ITEM) \
ITEM(OK_NoError) ITEM(ERROR_GENERIC) \
ITEM(ERROR_maxBlockSize_invalid) ITEM(ERROR_blockMode_invalid) ITEM(ERROR_contentChecksumFlag_invalid) \
ITEM(ERROR_compressionLevel_invalid) \
ITEM(ERROR_allocation_failed) \
ITEM(ERROR_srcSize_tooLarge) ITEM(ERROR_dstMaxSize_tooSmall) \
ITEM(ERROR_frameSize_wrong) \
ITEM(ERROR_frameType_unknown) \
ITEM(ERROR_wrongSrcPtr) \
ITEM(ERROR_decompressionFailed) \
ITEM(ERROR_checksum_invalid) \
ITEM(ERROR_maxCode)
#define LZ4F_GENERATE_ENUM(ENUM) ENUM,
typedef enum { LZ4F_LIST_ERRORS(LZ4F_GENERATE_ENUM) } LZ4F_errorCodes; /* enum is exposed, to handle specific errors; compare function result to -enum value */
/**************************************
Includes
**************************************/
#include "lz4frame.h"
#if defined (__cplusplus)
}
#endif
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment