Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ Instruments.
* You will want a benchmark that runs for at least a few seconds (5 seconds will
usually be long enough). This way the profiler will have something to work with
and you will have ample time to attach your profiler to this process:)
* I will just use benchzstd as my benchmarmking script for this example:
* I will just use benchzstd as my benchmarking script for this example:
```
$ zstd -b1 -i5 <my-data> # this will run for 5 seconds
```
Expand Down
2 changes: 1 addition & 1 deletion lib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ The file structure is designed to make this selection manually achievable for an
`ZSTDLIB_STATIC_API` and `ZDICTLIB_STATIC_API` can be overridden to control the visibility
of zstd's static API. Specifically, it can be set to `ZSTDLIB_HIDDEN` to hide the symbols
from the shared library. These macros default to `ZSTDLIB_VISIBILITY`,
`ZSTDERRORLIB_VSIBILITY`, and `ZDICTLIB_VISIBILITY` if unset, for backwards compatibility
`ZSTDERRORLIB_VISIBILITY`, and `ZDICTLIB_VISIBILITY` if unset, for backwards compatibility
with the old macro names.

- The C compiler macro `HUF_DISABLE_FAST_DECODE` disables the newer Huffman fast C
Expand Down
2 changes: 1 addition & 1 deletion lib/common/compiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ MEM_STATIC int ZSTD_isPower2(size_t u) {
#ifndef ZSTD_ALLOW_POINTER_OVERFLOW_ATTR
# if __has_attribute(no_sanitize)
# if !defined(__clang__) && defined(__GNUC__) && __GNUC__ < 8
/* gcc < 8 only has signed-integer-overlow which triggers on pointer overflow */
/* gcc < 8 only has signed-integer-overflow which triggers on pointer overflow */
# define ZSTD_ALLOW_POINTER_OVERFLOW_ATTR __attribute__((no_sanitize("signed-integer-overflow")))
# else
/* older versions of clang [3.7, 5.0) will warn that pointer-overflow is ignored. */
Expand Down
2 changes: 1 addition & 1 deletion lib/common/xxhash.h
Original file line number Diff line number Diff line change
Expand Up @@ -5760,7 +5760,7 @@ XXH3_initCustomSecret_scalar(void* XXH_RESTRICT customSecret, xxh_u64 seed64)
* SUB STR
* STR
*
* See XXH3_NEON_LANES for details on the pipsline.
* See XXH3_NEON_LANES for details on the pipeline.
*
* XXH3_64bits_withSeed, len == 256, Snapdragon 835
* without hack: 2654.4 MB/s
Expand Down
4 changes: 2 additions & 2 deletions lib/compress/zstd_compress.c
Original file line number Diff line number Diff line change
Expand Up @@ -7150,7 +7150,7 @@ size_t ZSTD_compressSequences(ZSTD_CCtx* cctx,
* we use _mm256_permute4x64_epi64(..., 0xE8) to move lane2 into lane1,
* then store the lower 16 bytes in one go.
*
* @returns 0 on succes, with no long length detected
* @returns 0 on success, with no long length detected
* @returns > 0 if there is one long length (> 65535),
* indicating the position, and type.
*/
Expand Down Expand Up @@ -7310,7 +7310,7 @@ size_t convertSequences_noRepcodes(
* - rep is ignored
* Store only 8 bytes per SeqDef (offBase[4], litLength[2], mlBase[2]).
*
* @returns 0 on succes, with no long length detected
* @returns 0 on success, with no long length detected
* @returns > 0 if there is one long length (> 65535),
* indicating the position, and type.
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/legacy/zstd_v04.c
Original file line number Diff line number Diff line change
Expand Up @@ -2342,7 +2342,7 @@ static size_t HUF_decompress (void* dst, size_t dstSize, const void* cSrc, size_


/*
zstd - decompression module fo v0.4 legacy format
zstd - decompression module for v0.4 legacy format
Copyright (C) 2015-2016, Yann Collet.

BSD 2-Clause License (https://opensource.org/licenses/bsd-license.php)
Expand Down
4 changes: 2 additions & 2 deletions programs/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ cxx_binary(
'-DZSTD_GZCOMPRESS',
'-DZSTD_GZDECOMPRESS',
'-DZSTD_LZMACOMPRESS',
'-DZSTD_LZMADECOMPRES',
'-DZSTD_LZMADECOMPRESS',
'-DZSTD_LZ4COMPRESS',
'-DZSTD_LZ4DECOMPRES',
'-DZSTD_LZ4DECOMPRESS',
],
linker_flags=[
'-lz',
Expand Down
2 changes: 1 addition & 1 deletion tests/DEPRECATED-test-zstd-speed.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#! /usr/bin/env python3
# THIS BENCHMARK IS BEING REPLACED BY automated-bencmarking.py
# THIS BENCHMARK IS BEING REPLACED BY automated-benchmarking.py

# ################################################################
# Copyright (c) Meta Platforms, Inc. and affiliates.
Expand Down
Loading