mirror of
https://github.com/facebook/zstd.git
synced 2025-07-02 20:22:31 +03:00
Fix typos found by codespell
This commit is contained in:
2
.github/workflows/dev-short-tests.yml
vendored
2
.github/workflows/dev-short-tests.yml
vendored
@ -318,7 +318,7 @@ jobs:
|
|||||||
/t:Clean,Build /p:Platform=${{matrix.platform}} /p:Configuration=${{matrix.configuration}} /warnaserror
|
/t:Clean,Build /p:Platform=${{matrix.platform}} /p:Configuration=${{matrix.configuration}} /warnaserror
|
||||||
/p:InstructionSet=${{matrix.arch}}
|
/p:InstructionSet=${{matrix.arch}}
|
||||||
|
|
||||||
# This tests that we don't accidently grow the size too much.
|
# This tests that we don't accidentally grow the size too much.
|
||||||
# If the size grows intentionally, you can raise these numbers.
|
# If the size grows intentionally, you can raise these numbers.
|
||||||
# But we do need to think about binary size, since it is a concern.
|
# But we do need to think about binary size, since it is a concern.
|
||||||
libzstd-size:
|
libzstd-size:
|
||||||
|
@ -47,7 +47,7 @@ static unsigned __stdcall worker(void *arg)
|
|||||||
void* (*start_routine)(void*);
|
void* (*start_routine)(void*);
|
||||||
void* thread_arg;
|
void* thread_arg;
|
||||||
|
|
||||||
/* Inialized thread_arg and start_routine and signal main thread that we don't need it
|
/* Initialized thread_arg and start_routine and signal main thread that we don't need it
|
||||||
* to wait any longer.
|
* to wait any longer.
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
|
@ -1987,7 +1987,7 @@ ZSTD_decompressSequencesLong(ZSTD_DCtx* dctx,
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @returns The total size of the history referencable by zstd, including
|
* @returns The total size of the history referenceable by zstd, including
|
||||||
* both the prefix and the extDict. At @p op any offset larger than this
|
* both the prefix and the extDict. At @p op any offset larger than this
|
||||||
* is invalid.
|
* is invalid.
|
||||||
*/
|
*/
|
||||||
|
@ -2134,7 +2134,7 @@ ZSTDLIB_STATIC_API size_t ZSTD_CCtx_refPrefix_advanced(ZSTD_CCtx* cctx, const vo
|
|||||||
* This parameter can be used to set an upper bound on the blocksize
|
* This parameter can be used to set an upper bound on the blocksize
|
||||||
* that overrides the default ZSTD_BLOCKSIZE_MAX. It cannot be used to set upper
|
* that overrides the default ZSTD_BLOCKSIZE_MAX. It cannot be used to set upper
|
||||||
* bounds greater than ZSTD_BLOCKSIZE_MAX or bounds lower than 1KB (will make
|
* bounds greater than ZSTD_BLOCKSIZE_MAX or bounds lower than 1KB (will make
|
||||||
* compressBound() innacurate). Only currently meant to be used for testing.
|
* compressBound() inaccurate). Only currently meant to be used for testing.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#define ZSTD_c_maxBlockSize ZSTD_c_experimentalParam18
|
#define ZSTD_c_maxBlockSize ZSTD_c_experimentalParam18
|
||||||
|
@ -88,7 +88,7 @@ UTIL_time_t UTIL_getTime(void)
|
|||||||
/* C11 requires support of timespec_get().
|
/* C11 requires support of timespec_get().
|
||||||
* However, FreeBSD 11 claims C11 compliance while lacking timespec_get().
|
* However, FreeBSD 11 claims C11 compliance while lacking timespec_get().
|
||||||
* Double confirm timespec_get() support by checking the definition of TIME_UTC.
|
* Double confirm timespec_get() support by checking the definition of TIME_UTC.
|
||||||
* However, some versions of Android manage to simultanously define TIME_UTC
|
* However, some versions of Android manage to simultaneously define TIME_UTC
|
||||||
* and lack timespec_get() support... */
|
* and lack timespec_get() support... */
|
||||||
#elif (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) /* C11 */) \
|
#elif (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) /* C11 */) \
|
||||||
&& defined(TIME_UTC) && !defined(__ANDROID__)
|
&& defined(TIME_UTC) && !defined(__ANDROID__)
|
||||||
|
@ -165,7 +165,7 @@ static void usage(FILE* f, const char* programName)
|
|||||||
#endif
|
#endif
|
||||||
DISPLAY_F(f, " -D DICT Use DICT as the dictionary for compression or decompression.\n\n");
|
DISPLAY_F(f, " -D DICT Use DICT as the dictionary for compression or decompression.\n\n");
|
||||||
DISPLAY_F(f, " -f, --force Disable input and output checks. Allows overwriting existing files,\n");
|
DISPLAY_F(f, " -f, --force Disable input and output checks. Allows overwriting existing files,\n");
|
||||||
DISPLAY_F(f, " receiving input from the console, printing ouput to STDOUT, and\n");
|
DISPLAY_F(f, " receiving input from the console, printing output to STDOUT, and\n");
|
||||||
DISPLAY_F(f, " operating on links, block devices, etc. Unrecognized formats will be\n");
|
DISPLAY_F(f, " operating on links, block devices, etc. Unrecognized formats will be\n");
|
||||||
DISPLAY_F(f, " passed-through through as-is.\n\n");
|
DISPLAY_F(f, " passed-through through as-is.\n\n");
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ Options:
|
|||||||
-D DICT Use DICT as the dictionary for compression or decompression.
|
-D DICT Use DICT as the dictionary for compression or decompression.
|
||||||
|
|
||||||
-f, --force Disable input and output checks. Allows overwriting existing files,
|
-f, --force Disable input and output checks. Allows overwriting existing files,
|
||||||
receiving input from the console, printing ouput to STDOUT, and
|
receiving input from the console, printing output to STDOUT, and
|
||||||
operating on links, block devices, etc. Unrecognized formats will be
|
operating on links, block devices, etc. Unrecognized formats will be
|
||||||
passed-through through as-is.
|
passed-through through as-is.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user