Function report |
Source Code:lib\zstd\fse_compress.c |
Create Date:2022-07-28 07:02:00 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:FSE_count_parallel_wksp() :* Same as FSE_count_parallel(), but using an externally provided scratch buffer.* `workSpace` size must be a minimum of `1024 * sizeof(unsigned)``
Proto:static size_t FSE_count_parallel_wksp(unsigned *count, unsigned *maxSymbolValuePtr, const void *source, size_t sourceSize, unsigned checkMax, unsigned *const workSpace)
Type:size_t
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned * | count | |
unsigned * | maxSymbolValuePtr | |
const void * | source | |
size_t | sourceSize | |
unsigned | checkMax | |
unsigned *const | workSpace |
361 | iend = ip + sourceSize |
363 | max = 0 |
372 | If Not sourceSize Then |
377 | If Not maxSymbolValue Then maxSymbolValue = 255 |
382 | cached = ZSTD_read32(ip) |
383 | ip += 4 |
386 | cached = ZSTD_read32(ip) |
387 | ip += 4 |
393 | cached = ZSTD_read32(ip) |
394 | ip += 4 |
400 | cached = ZSTD_read32(ip) |
401 | ip += 4 |
407 | cached = ZSTD_read32(ip) |
408 | ip += 4 |
414 | ip -= 4 |
421 | If checkMax Then |
423 | When s > maxSymbolValue cycle |
425 | If Counting1[s] Then Return -***************************************** Error codes handling(maxSymbolValue_tooSmall) |
432 | When s <= maxSymbolValue cycle |
439 | When Not count[maxSymbolValue] cycle |
440 | maxSymbolValue-- |
442 | Return max |
Name | Describe |
---|---|
FSE_countFast_wksp | FSE_countFast_wksp() :* Same as FSE_countFast(), but using an externally provided scratch buffer.* `workSpace` size must be table of >= `1024` unsigned |
FSE_count_wksp | FSE_count_wksp() :* Same as FSE_count(), but using an externally provided scratch buffer.* `workSpace` size must be table of >= `1024` unsigned |
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 |