From: inikep Date: Thu, 4 Aug 2016 08:41:49 +0000 (+0200) Subject: .travis.yml: joined 7 smaller tests into 2 bigger X-Git-Tag: v0.8.1^2~22^2~1^2~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d003c1d4c13e2acea70fa018f136933fb0b66db;p=thirdparty%2Fzstd.git .travis.yml: joined 7 smaller tests into 2 bigger --- diff --git a/.travis.yml b/.travis.yml index 6cd3f5f62..d160e36a2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,16 +31,7 @@ matrix: env: PLATFORM="Ubuntu 12.04" CMD="make libc6install clangtest" - os: linux sudo: required - env: PLATFORM="Ubuntu 12.04" CMD="make gppinstall gpptest" - - os: linux - sudo: required - env: PLATFORM="Ubuntu 12.04" CMD="make libc6install gnu90test" - - os: linux - sudo: required - env: PLATFORM="Ubuntu 12.04" CMD="make libc6install c99test" - - os: linux - sudo: required - env: PLATFORM="Ubuntu 12.04" CMD="make libc6install gnu99test" + env: PLATFORM="Ubuntu 12.04" CMD="make gppinstall gpptest && make clean && make libc6install gnu90test && make clean && make libc6install c99test && make clean && make libc6install gnu99test" - os: linux sudo: required env: PLATFORM="Ubuntu 12.04" CMD="make arminstall armtest" @@ -75,11 +66,7 @@ matrix: env: PLATFORM="Ubuntu 14.04" CMD="make zlibwrapper" # OS X Mavericks - os: osx - env: PLATFORM="OS X Mavericks" CMD="make travis-install" - - os: osx - env: PLATFORM="OS X Mavericks" CMD="make gnu90test" - - os: osx - env: PLATFORM="OS X Mavericks" CMD="make test" + env: PLATFORM="OS X Mavericks" CMD="make gnu90test && make clean && make gnu90test && make clean && make travis-install" exclude: - compiler: gcc diff --git a/zstd_compression_format.md b/zstd_compression_format.md index 7357e56f0..f35e8711a 100644 --- a/zstd_compression_format.md +++ b/zstd_compression_format.md @@ -442,13 +442,13 @@ using little-endian convention. In this representation, bits on the left are smallest bits. -__`Literals_Block_Type`__ : +__`Literals_Block_Type`__ This field uses 2 lowest bits of first byte, describing 4 different block types : -| Value | 0 | 1 | 2 | 3 | -| --------------------- | --- | --- | ---------- | ----------- | -| `Literals_Block_Type` | Raw | RLE | Compressed | RepeatStats | +| Value | 0 | 1 | 2 | 3 | +| --------------------- | -------------------- | -------------------- | --------------------------- | ----------------------------- | +| `Literals_Block_Type` | `Raw_Literals_Block` | `RLE_Literals_Block` | `Compressed_Literals_Block` | `Repeat_Stats_Literals_Block` | - `Raw_Literals_Block` - Literals are stored uncompressed. - `RLE_Literals_Block` - Literals consist of a single byte value repeated N times. @@ -459,7 +459,7 @@ This field uses 2 lowest bits of first byte, describing 4 different block types using Huffman tree _from previous Huffman-compressed literals block_. Huffman tree description will be skipped. -__`Size_Format`__ : +__`Size_Format`__ `Size_Format` is divided into 2 families : @@ -469,7 +469,7 @@ __`Size_Format`__ : For values spanning several bytes, convention is Little-endian. -__Sizes format for `Raw_Literals_Block` and `RLE_Literals_Block`__ : +__`Size_Format` for `Raw_Literals_Block` and `RLE_Literals_Block`__ : - Value : x0 : `Regenerated_Size` uses 5 bits (0-31). Total literal header size is 1 byte. @@ -484,7 +484,7 @@ __Sizes format for `Raw_Literals_Block` and `RLE_Literals_Block`__ : Note : it's allowed to represent a short value (ex : `13`) using a long format, accepting the reduced compacity. -__Sizes format for `Compressed_Literals_Block` and `Repeat_Stats_Literals_Block`__ : +__`Size_Format` for `Compressed_Literals_Block` and `Repeat_Stats_Literals_Block`__ : - Value : 00 : _Single stream_. `Compressed_Size` and `Regenerated_Size` use 10 bits (0-1023).