mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
Fix typos
This commit is contained in:
parent
3ae099b48d
commit
2c57038684
8 changed files with 10 additions and 10 deletions
|
|
@ -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
|
||||
```
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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. */
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
*/
|
||||
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue