-
Notifications
You must be signed in to change notification settings - Fork 30k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deps: update zlib to upstream 8bbd6c31
Updated as described in doc/contributing/maintaining-zlib.md.
- Loading branch information
Showing
110 changed files
with
18,311 additions
and
3,454 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
monorail: { | ||
component: "Internals" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
[email protected] | ||
[email protected] | ||
[email protected] | ||
[email protected] | ||
[email protected] | ||
|
||
# COMPONENT: Internals | ||
[email protected] | ||
[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#!/bin/bash | ||
# | ||
# Copyright 2022 The Chromium Authors | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the chromium source repository LICENSE file. | ||
# | ||
# Given a zlib_bench executable and some data files, run zlib_bench --check | ||
# over those data files, for all zlib types (gzip|zlib|raw) and compression | ||
# levels 1..9 for each type. Example: | ||
# | ||
# check.sh ./out/Release/zlib_bench [--check-binary] ~/snappy/testdata/* | ||
# | ||
# The --check-binary option modifies --check output: the compressed data is | ||
# also written to the program output. | ||
|
||
ZLIB_BENCH="$1" && shift | ||
|
||
CHECK_TYPE="--check" | ||
if [[ "${1}" == "--check-binary" ]]; then | ||
CHECK_TYPE="$1" && shift # output compressed data too | ||
fi | ||
|
||
DATA_FILES="$*" | ||
|
||
echo ${ZLIB_BENCH} | grep -E "/(zlib_bench|a.out)$" > /dev/null | ||
if [[ $? != 0 ]] || [[ -z "${DATA_FILES}" ]]; then | ||
echo "usage: check.sh zlib_bench [--check-binary] files ..." >&2 | ||
exit 1; | ||
fi | ||
|
||
for type in gzip zlib raw; do | ||
for level in $(seq 1 9); do | ||
${ZLIB_BENCH} $type --compression $level ${CHECK_TYPE} ${DATA_FILES} | ||
done | ||
done |
Oops, something went wrong.