mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
minor function rename
ZSTD_estimateCStreamSize_advanced_usingCParams -> ZSTD_estimateCStreamSize_usingCParams _usingX is clear. _advanced feels redundant
This commit is contained in:
parent
7c3dea42ce
commit
96f0cde31a
6 changed files with 57 additions and 57 deletions
|
|
@ -85,7 +85,7 @@ int main(int argc, char const *argv[]) {
|
|||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
size_t compressedSize;
|
||||
{ ZSTD_inBuffer inBuff = { dataToCompress, sizeof(dataToCompress), 0 };
|
||||
ZSTD_outBuffer outBuff = { compressedData, sizeof(compressedData), 0 };
|
||||
|
|
@ -133,7 +133,7 @@ int main(int argc, char const *argv[]) {
|
|||
|
||||
size_t const cstreamSize = ZSTD_sizeof_CStream(cstream);
|
||||
size_t const cstreamEstimatedSize = wLog ?
|
||||
ZSTD_estimateCStreamSize_advanced_usingCParams(params.cParams) :
|
||||
ZSTD_estimateCStreamSize_usingCParams(params.cParams) :
|
||||
ZSTD_estimateCStreamSize(compressionLevel);
|
||||
size_t const dstreamSize = ZSTD_sizeof_DStream(dstream);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue