mirror of
https://github.com/facebook/zstd.git
synced 2025-10-09 00:05:28 -04:00
change method name for consistency
This commit is contained in:
parent
b30f71becf
commit
5d5507788d
@ -2893,7 +2893,7 @@ static size_t ZSTD_loadDictionaryContent(ZSTD_matchState_t* ms,
|
|||||||
case ZSTD_lazy:
|
case ZSTD_lazy:
|
||||||
case ZSTD_lazy2:
|
case ZSTD_lazy2:
|
||||||
if (chunk >= HASH_READ_SIZE && params->enableDedicatedDictSearch)
|
if (chunk >= HASH_READ_SIZE && params->enableDedicatedDictSearch)
|
||||||
ZSTD_lazy_loadDictionary(ms, ichunk-HASH_READ_SIZE);
|
ZSTD_dedicatedDictSearch_lazy_loadDictionary(ms, ichunk-HASH_READ_SIZE);
|
||||||
else if (chunk >= HASH_READ_SIZE)
|
else if (chunk >= HASH_READ_SIZE)
|
||||||
ZSTD_insertAndFindFirstIndex(ms, ichunk-HASH_READ_SIZE);
|
ZSTD_insertAndFindFirstIndex(ms, ichunk-HASH_READ_SIZE);
|
||||||
break;
|
break;
|
||||||
|
@ -475,7 +475,7 @@ U32 ZSTD_insertAndFindFirstIndex(ZSTD_matchState_t* ms, const BYTE* ip) {
|
|||||||
return ZSTD_insertAndFindFirstIndex_internal(ms, cParams, ip, ms->cParams.minMatch);
|
return ZSTD_insertAndFindFirstIndex_internal(ms, cParams, ip, ms->cParams.minMatch);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ZSTD_lazy_loadDictionary(ZSTD_matchState_t* ms, const BYTE* const ip)
|
void ZSTD_dedicatedDictSearch_lazy_loadDictionary(ZSTD_matchState_t* ms, const BYTE* const ip)
|
||||||
{
|
{
|
||||||
U32 const target = (U32)(ip - ms->window.base);
|
U32 const target = (U32)(ip - ms->window.base);
|
||||||
U32* const chainTable = ms->chainTable;
|
U32* const chainTable = ms->chainTable;
|
||||||
|
@ -19,7 +19,7 @@ extern "C" {
|
|||||||
|
|
||||||
U32 ZSTD_insertAndFindFirstIndex(ZSTD_matchState_t* ms, const BYTE* ip);
|
U32 ZSTD_insertAndFindFirstIndex(ZSTD_matchState_t* ms, const BYTE* ip);
|
||||||
|
|
||||||
void ZSTD_lazy_loadDictionary(ZSTD_matchState_t* ms, const BYTE* const ip);
|
void ZSTD_dedicatedDictSearch_lazy_loadDictionary(ZSTD_matchState_t* ms, const BYTE* const ip);
|
||||||
|
|
||||||
void ZSTD_preserveUnsortedMark (U32* const table, U32 const size, U32 const reducerValue); /*! used in ZSTD_reduceIndex(). preemptively increase value of ZSTD_DUBT_UNSORTED_MARK */
|
void ZSTD_preserveUnsortedMark (U32* const table, U32 const size, U32 const reducerValue); /*! used in ZSTD_reduceIndex(). preemptively increase value of ZSTD_DUBT_UNSORTED_MARK */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user