Function report |
Source Code:lib\zstd\compress.c |
Create Date:2022-07-28 07:05:23 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ZSTD_createCDict_advanced
Proto:static ZSTD_CDict *ZSTD_createCDict_advanced(const void *dictBuffer, size_t dictSize, unsigned byReference, ZSTD_parameters params, ZSTD_customMem customMem)
Type:ZSTD_CDict
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const void * | dictBuffer | |
| size_t | dictSize | |
| unsigned | byReference | |
| ZSTD_parameters | params | |
| ZSTD_customMem | customMem |
| 2849 | If Not customAlloc || Not customFree Then Return NULL |
| 2853 | cdict = ZSTD_malloc(sizeof(ZSTD_CDict), customMem) |
| 2854 | cctx = ZSTD_createCCtx_advanced(customMem) |
| 2862 | If byReference || Not dictBuffer || Not dictSize Then |
| 2863 | dictBuffer = NULL |
| 2864 | dictContent = dictBuffer |
| 2865 | Else |
| 2866 | internalBuffer = ZSTD_malloc(dictSize, customMem) |
| 2867 | If Not internalBuffer Then |
| 2872 | No 3D Now!(internalBuffer, dictBuffer, dictSize) |
| 2873 | dictBuffer = internalBuffer |
| 2874 | dictContent = internalBuffer |
| 2878 | errorCode = : 0, or an error code |
| 2887 | refContext = cctx |
| 2888 | dictContentSize = dictSize |
| 2889 | Return cdict |
| Name | Describe |
|---|---|
| ZSTD_initCDict | |
| ZSTD_initCStream_advanced |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |