/freebsd/sys/contrib/zstd/lib/compress/ |
H A D | zstd_cwksp.h | 27 /* Since the workspace is effectively its own little malloc implementation / 29 * each internal element of the workspace, so ASAN will catch overruns that 30 * reach outside an object but that stay inside the workspace. 52 * Used to describe whether the workspace is statically allocated (and will not 65 * is called the workspace. 68 * from this workspace for each internal datastructure: 88 * - We would like to reuse the objects in the workspace for multiple 92 * - We would like to be able to efficiently reuse the workspace across 99 * Workspace Layout: 101 * [ ... workspace ... ] [all …]
|
H A D | hist.c | 62 * But it needs some additional workspace for intermediate tables. 63 * `workSpace` must be a U32 table of size >= HIST_WKSP_SIZE_U32. 70 U32* const workSpace) in HIST_count_parallel_wksp() argument 76 U32* const Counting1 = workSpace; in HIST_count_parallel_wksp() 88 ZSTD_memset(workSpace, 0, 4*256*sizeof(unsigned)); in HIST_count_parallel_wksp() 137 * `workSpace` is a writable buffer which must be 4-bytes aligned, 142 void* workSpace, size_t workSpaceSize) in HIST_countFast_wksp() argument 146 if ((size_t)workSpace & 3) return ERROR(GENERIC); /* must be aligned on 4-bytes boundaries */ in HIST_countFast_wksp() 148 …IST_count_parallel_wksp(count, maxSymbolValuePtr, source, sourceSize, trustInput, (U32*)workSpace); in HIST_countFast_wksp() 153 * `workSpace` size must be table of >= HIST_WKSP_SIZE_U32 unsigned */ [all …]
|
H A D | zstd_compress_superblock.c | 305 void* workspace, size_t wkspSize, in ZSTD_estimateSubBlockSize_literal() argument 308 unsigned* const countWksp = (unsigned*)workspace; in ZSTD_estimateSubBlockSize_literal() 315 … HIST_count_wksp (countWksp, &maxSymbolValue, (const BYTE*)literals, litSize, workspace, wkspSize); in ZSTD_estimateSubBlockSize_literal() 330 void* workspace, size_t wkspSize) in ZSTD_estimateSubBlockSize_symbolType() argument 332 unsigned* const countWksp = (unsigned*)workspace; in ZSTD_estimateSubBlockSize_symbolType() 339 HIST_countFast_wksp(countWksp, &max, codeTable, nbSeq, workspace, wkspSize); /* can't fail */ in ZSTD_estimateSubBlockSize_symbolType() 366 void* workspace, size_t wkspSize, in ZSTD_estimateSubBlockSize_sequences() argument 375 workspace, wkspSize); in ZSTD_estimateSubBlockSize_sequences() 379 workspace, wkspSize); in ZSTD_estimateSubBlockSize_sequences() 383 workspace, wkspSize); in ZSTD_estimateSubBlockSize_sequences() [all …]
|
H A D | huf_compress.c | 58 static void* HUF_alignUpWorkspace(void* workspace, size_t* workspaceSizePtr, size_t align) in HUF_alignUpWorkspace() argument 61 size_t const rem = (size_t)workspace & mask; in HUF_alignUpWorkspace() 63 BYTE* const aligned = (BYTE*)workspace + add; in HUF_alignUpWorkspace() 92 …oid* dst, size_t dstSize, const void* weightTable, size_t wtSize, void* workspace, size_t workspac… in HUF_compressWeights() argument 100 …HUF_CompressWeightsWksp* wksp = (HUF_CompressWeightsWksp*)HUF_alignUpWorkspace(workspace, &workspa… in HUF_compressWeights() 174 void* workspace, size_t workspaceSize) in HUF_writeCTable_wksp() argument 179 …HUF_WriteCTableWksp* wksp = (HUF_WriteCTableWksp*)HUF_alignUpWorkspace(workspace, &workspaceSize, … in HUF_writeCTable_wksp() 548 …* @param rankPosition This is a scratch workspace. Must have RANK_POSITION_TABLE_SIZE entri… 599 …* `workSpace` must be aligned on 4-bytes boundaries, and be at least as large as sizeof(HUF_build… 680 …CTable, const unsigned* count, U32 maxSymbolValue, U32 maxNbBits, void* workSpace, size_t wkspSize) in HUF_buildCTable_wksp() argument [all …]
|
H A D | hist.h | 43 * `workSpace` is a writable buffer which must be 4-bytes aligned, 48 void* workSpace, size_t workSpaceSize); 59 * `workSpace` is a writable buffer which must be 4-bytes aligned, 64 void* workSpace, size_t workSpaceSize);
|
H A D | zstd_compress.c | 79 U32* entropyWorkspace; /* entropy workspace of HUF_WORKSPACE_SIZE bytes */ 80 ZSTD_cwksp workspace; member 121 ZSTD_CCtx* ZSTD_initStaticCCtx(void* workspace, size_t workspaceSize) in ZSTD_initStaticCCtx() argument 126 if ((size_t)workspace & 7) return NULL; /* must be 8-aligned */ in ZSTD_initStaticCCtx() 127 ZSTD_cwksp_init(&ws, workspace, workspaceSize, ZSTD_cwksp_static_alloc); in ZSTD_initStaticCCtx() 133 ZSTD_cwksp_move(&cctx->workspace, &ws); in ZSTD_initStaticCCtx() 137 …if (!ZSTD_cwksp_check_available(&cctx->workspace, ENTROPY_WORKSPACE_SIZE + 2 * sizeof(ZSTD_compres… in ZSTD_initStaticCCtx() 138 …CBlock = (ZSTD_compressedBlockState_t*)ZSTD_cwksp_reserve_object(&cctx->workspace, sizeof(ZSTD_com… in ZSTD_initStaticCCtx() 139 …CBlock = (ZSTD_compressedBlockState_t*)ZSTD_cwksp_reserve_object(&cctx->workspace, sizeof(ZSTD_com… in ZSTD_initStaticCCtx() 140 …cctx->entropyWorkspace = (U32*)ZSTD_cwksp_reserve_object(&cctx->workspace, ENTROPY_WORKSPACE_SIZE); in ZSTD_initStaticCCtx() [all …]
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_cwksp.h | 28 /* Since the workspace is effectively its own little malloc implementation / 30 * each internal element of the workspace, so ASAN will catch overruns that 31 * reach outside an object but that stay inside the workspace. 52 * is called the workspace. 55 * from this workspace for each internal datastructure: 75 * - We would like to reuse the objects in the workspace for multiple 79 * - We would like to be able to efficiently reuse the workspace across 86 * Workspace Layout: 88 * [ ... workspace ... ] 91 * The various objects that live in the workspace are divided into the [all …]
|
H A D | hist.c | 63 * But it needs some additional workspace for intermediate tables. 64 * `workSpace` size must be a table of size >= HIST_WKSP_SIZE_U32. 71 U32* const workSpace) in HIST_count_parallel_wksp() argument 77 U32* const Counting1 = workSpace; in HIST_count_parallel_wksp() 82 memset(workSpace, 0, 4*256*sizeof(unsigned)); in HIST_count_parallel_wksp() 142 * `workSpace` is a writable buffer which must be 4-bytes aligned, 147 void* workSpace, size_t workSpaceSize) in HIST_countFast_wksp() argument 151 if ((size_t)workSpace & 3) return ERROR(GENERIC); /* must be aligned on 4-bytes boundaries */ in HIST_countFast_wksp() 153 …IST_count_parallel_wksp(count, maxSymbolValuePtr, source, sourceSize, trustInput, (U32*)workSpace); in HIST_countFast_wksp() 166 * `workSpace` size must be table of >= HIST_WKSP_SIZE_U32 unsigned */ [all …]
|
H A D | zstd_compress_superblock.c | 67 void* workspace, size_t wkspSize) in ZSTD_buildSuperBlockEntropy_literal() argument 69 BYTE* const wkspStart = (BYTE*)workspace; in ZSTD_buildSuperBlockEntropy_literal() 72 unsigned* const countWksp = (unsigned*)workspace; in ZSTD_buildSuperBlockEntropy_literal() 102 …est = HIST_count_wksp (countWksp, &maxSymbolValue, (const BYTE*)src, srcSize, workspace, wkspSize); in ZSTD_buildSuperBlockEntropy_literal() 169 void* workspace, size_t wkspSize) in ZSTD_buildSuperBlockEntropy_sequences() argument 171 BYTE* const wkspStart = (BYTE*)workspace; in ZSTD_buildSuperBlockEntropy_sequences() 174 unsigned* const countWksp = (unsigned*)workspace; in ZSTD_buildSuperBlockEntropy_sequences() 192 memset(workspace, 0, wkspSize); in ZSTD_buildSuperBlockEntropy_sequences() 200 …mostFrequent = HIST_countFast_wksp(countWksp, &max, llCodeTable, nbSeq, workspace, wkspSize); /* … in ZSTD_buildSuperBlockEntropy_sequences() 223 …mostFrequent = HIST_countFast_wksp(countWksp, &max, ofCodeTable, nbSeq, workspace, wkspSize); /* … in ZSTD_buildSuperBlockEntropy_sequences() [all …]
|
H A D | huf_compress.c | 335 …* `workSpace` must be aligned on 4-bytes boundaries, and be at least as large as sizeof(HUF_build… 339 …* tree, const unsigned* count, U32 maxSymbolValue, U32 maxNbBits, void* workSpace, size_t wkspSize) in HUF_buildCTable_wksp() argument 341 HUF_buildCTable_wksp_tables* const wksp_tables = (HUF_buildCTable_wksp_tables*)workSpace; in HUF_buildCTable_wksp() 350 …if (((size_t)workSpace & 3) != 0) return ERROR(GENERIC); /* must be aligned on 4-bytes boundaries… in HUF_buildCTable_wksp() 419 HUF_buildCTable_wksp_tables workspace; in HUF_buildCTable() local 420 …return HUF_buildCTable_wksp(tree, count, maxSymbolValue, maxNbBits, &workspace, sizeof(workspace)); in HUF_buildCTable() 637 * `workSpace` must a table of at least HUF_WORKSPACE_SIZE_U32 unsigned */ 643 void* workSpace, size_t wkspSize, in HUF_compress_internal() argument 647 HUF_compress_tables_t* const table = (HUF_compress_tables_t*)workSpace; in HUF_compress_internal() 655 …if (((size_t)workSpace & 3) != 0) return ERROR(GENERIC); /* must be aligned on 4-bytes boundaries… in HUF_compress_internal() [all …]
|
H A D | hist.h | 44 * `workSpace` is a writable buffer which must be 4-bytes aligned, 49 void* workSpace, size_t workSpaceSize); 60 * `workSpace` is a writable buffer which must be 4-bytes aligned, 65 void* workSpace, size_t workSpaceSize);
|
/freebsd/sys/contrib/zstd/lib/common/ |
H A D | huf.h | 91 * Same as HUF_compress2(), but uses externally allocated `workSpace`. 92 * `workspace` must be at least as large as HUF_WORKSPACE_SIZE */ 98 void* workSpace, size_t wkspSize); 164 …tx, void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize, void* workSpace, size_t wkspSize… 166 …tx, void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize, void* workSpace, size_t wkspSize… 169 …tx, void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize, void* workSpace, size_t wkspSize… 191 …onst HUF_CElt* CTable, unsigned maxSymbolValue, unsigned huffLog, void* workspace, size_t workspac… 211 …void* workSpace, size_t wkspSize, /**< `workSpace` must be aligned on 4-bytes boundaries, `wksp… 216 …* `workSpace` must be aligned on 4-bytes boundaries, and its size must be >= HUF_CTABLE_WORKSPACE_… 222 void* workSpace, size_t wkspSize); [all …]
|
H A D | fse_decompress.c | 71 …t* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize) in FSE_buildDTable_internal() argument 75 U16* symbolNext = (U16*)workSpace; in FSE_buildDTable_internal() 176 …t* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize) in FSE_buildDTable_wksp() argument 178 …return FSE_buildDTable_internal(dt, normalizedCounter, maxSymbolValue, tableLog, workSpace, wkspSi… in FSE_buildDTable_wksp() 308 … dstCapacity, const void* cSrc, size_t cSrcSize, unsigned maxLog, void* workSpace, size_t wkspSize) in FSE_decompress_wksp() argument 310 …return FSE_decompress_wksp_bmi2(dst, dstCapacity, cSrc, cSrcSize, maxLog, workSpace, wkspSize, /* … in FSE_decompress_wksp() 322 unsigned maxLog, void* workSpace, size_t wkspSize, in FSE_decompress_wksp_body() argument 329 FSE_DecompressWksp* const wksp = (FSE_DecompressWksp*)workSpace; in FSE_decompress_wksp_body() 345 workSpace = wksp->dtable + FSE_DTABLE_SIZE_U32(tableLog); in FSE_decompress_wksp_body() 348 …_buildDTable_internal(wksp->dtable, wksp->ncount, maxSymbolValue, tableLog, workSpace, wkspSize) ); in FSE_decompress_wksp_body() [all …]
|
H A D | entropy_common.c | 274 void* workSpace, size_t wkspSize, in HUF_readStats_body() argument 300 … oSize = FSE_decompress_wksp_bmi2(huffWeight, hwSize-1, ip+1, iSize, 6, workSpace, wkspSize, bmi2); in HUF_readStats_body() 340 void* workSpace, size_t wkspSize) in HUF_readStats_body_default() argument 342 …dy(huffWeight, hwSize, rankStats, nbSymbolsPtr, tableLogPtr, src, srcSize, workSpace, wkspSize, 0); in HUF_readStats_body_default() 349 void* workSpace, size_t wkspSize) in HUF_readStats_body_bmi2() argument 351 …dy(huffWeight, hwSize, rankStats, nbSymbolsPtr, tableLogPtr, src, srcSize, workSpace, wkspSize, 1); in HUF_readStats_body_bmi2() 358 void* workSpace, size_t wkspSize, in HUF_readStats_wksp() argument 363 …_bmi2(huffWeight, hwSize, rankStats, nbSymbolsPtr, tableLogPtr, src, srcSize, workSpace, wkspSize); in HUF_readStats_wksp() 367 …fault(huffWeight, hwSize, rankStats, nbSymbolsPtr, tableLogPtr, src, srcSize, workSpace, wkspSize); in HUF_readStats_wksp()
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/ |
H A D | huf_decompress.c | 48 * Byte alignment for workSpace management 119 size_t HUF_readDTableX1_wksp(HUF_DTable* DTable, const void* src, size_t srcSize, void* workSpace, … in HUF_readDTableX1_wksp() argument 131 rankVal = (U32 *)workSpace + spaceUsed32; in HUF_readDTableX1_wksp() 133 huffWeight = (BYTE *)((U32 *)workSpace + spaceUsed32); in HUF_readDTableX1_wksp() 190 U32 workSpace[HUF_DECOMPRESS_WORKSPACE_SIZE_U32]; in HUF_readDTableX1() local 192 workSpace, sizeof(workSpace)); in HUF_readDTableX1() 380 void* workSpace, size_t wkspSize) in HUF_decompress1X1_DCtx_wksp() argument 384 size_t const hSize = HUF_readDTableX1_wksp(DCtx, cSrc, cSrcSize, workSpace, wkspSize); in HUF_decompress1X1_DCtx_wksp() 396 U32 workSpace[HUF_DECOMPRESS_WORKSPACE_SIZE_U32]; in HUF_decompress1X1_DCtx() local 398 workSpace, sizeof(workSpace)); in HUF_decompress1X1_DCtx() [all …]
|
/freebsd/sys/contrib/openzfs/module/os/linux/spl/ |
H A D | spl-zlib.c | 68 * workspace for use. This would take some additional care because we then 79 zlib_workspace_free(void *workspace) in zlib_workspace_free() argument 81 kmem_cache_free(zlib_workspace_cache, workspace); in zlib_workspace_free() 110 stream.workspace = zlib_workspace_alloc(KM_SLEEP); in z_compress_level() 111 if (!stream.workspace) in z_compress_level() 116 zlib_workspace_free(stream.workspace); in z_compress_level() 123 zlib_workspace_free(stream.workspace); in z_compress_level() 129 zlib_workspace_free(stream.workspace); in z_compress_level() 164 stream.workspace = zlib_workspace_alloc(KM_SLEEP); in z_uncompress() 165 if (!stream.workspace) in z_uncompress() [all …]
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/common/ |
H A D | huf.h | 92 * Same as HUF_compress2(), but uses externally allocated `workSpace`. 93 * `workspace` must have minimum alignment of 4, and be at least as large as HUF_WORKSPACE_SIZE */ 99 void* workSpace, size_t wkspSize); 163 …tx, void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize, void* workSpace, size_t wkspSize… 165 …tx, void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize, void* workSpace, size_t wkspSize… 168 …tx, void* dst, size_t dstSize, const void* cSrc, size_t cSrcSize, void* workSpace, size_t wkspSize… 208 …void* workSpace, size_t wkspSize, /**< `workSpace` must be aligned on 4-bytes boundaries, `wksp… 213 …* `workSpace` must be aligned on 4-bytes boundaries, and its size must be >= HUF_CTABLE_WORKSPACE_… 219 void* workSpace, size_t wkspSize); 255 * The minimum workspace size for the `workSpace` used in [all …]
|
/freebsd/contrib/googletest/docs/ |
H A D | quickstart-bazel.md | 25 ## Set up a Bazel workspace 28 [Bazel workspace](https://docs.bazel.build/versions/main/build-ref.html#workspace) 30 software you want to build. Each workspace directory has a text file named 31 `WORKSPACE` which may be empty, or may contain references to external 34 First, create a directory for your workspace: 40 Next, you’ll create the `WORKSPACE` file to specify dependencies. A common and 45 To do this, in the root directory of your workspace (`my_workspace/`), create a 46 file named `WORKSPACE` with the following contents: 68 With your Bazel workspace set up, you can now use GoogleTest code within your 103 GoogleTest (`//:gtest_main`) using the prefix you specified in the `WORKSPACE`
|
/freebsd/sys/contrib/zstd/lib/decompress/ |
H A D | huf_decompress.c | 78 * Byte alignment for workSpace management 337 size_t HUF_readDTableX1_wksp(HUF_DTable* DTable, const void* src, size_t srcSize, void* workSpace, … in HUF_readDTableX1_wksp() argument 339 return HUF_readDTableX1_wksp_bmi2(DTable, src, srcSize, workSpace, wkspSize, /* bmi2 */ 0); in HUF_readDTableX1_wksp() 342 …X1_wksp_bmi2(HUF_DTable* DTable, const void* src, size_t srcSize, void* workSpace, size_t wkspSize… in HUF_readDTableX1_wksp_bmi2() argument 349 HUF_ReadDTableX1_Workspace* wksp = (HUF_ReadDTableX1_Workspace*)workSpace; in HUF_readDTableX1_wksp_bmi2() 765 void* workSpace, size_t wkspSize) in HUF_decompress1X1_DCtx_wksp() argument 769 size_t const hSize = HUF_readDTableX1_wksp(DCtx, cSrc, cSrcSize, workSpace, wkspSize); in HUF_decompress1X1_DCtx_wksp() 790 void* workSpace, size_t wkspSize, int bmi2) in HUF_decompress4X1_DCtx_wksp_bmi2() argument 794 … size_t const hSize = HUF_readDTableX1_wksp_bmi2(dctx, cSrc, cSrcSize, workSpace, wkspSize, bmi2); in HUF_decompress4X1_DCtx_wksp_bmi2() 804 void* workSpace, size_t wkspSize) in HUF_decompress4X1_DCtx_wksp() argument [all …]
|
/freebsd/contrib/sendmail/cf/hack/ |
H A D | xconnect.m4 | 27 dnl workspace: {client_name} $| {client_addr} 29 dnl workspace: <result-of-lookup> <{client_addr}> 32 dnl workspace: <result-of-lookup> <{client_addr}> 34 dnl workspace: <result-of-lookup> (<>|<{client_addr}>) 36 dnl workspace: <result-of-lookup> (<>|<{client_addr}>) | OK
|
/freebsd/contrib/libcbor/ |
H A D | Bazel.md | 5 project, first add the following section to your project's `WORKSPACE` file. 8 `WORKSPACE`. 10 ## WORKSPACE section in Use as a Bazel Dependency 69 The `libcbor.BUILD` file must be make available to the top-level `WORKSPACE`
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | dyadic | 19 #>>>1 byte 0x00 incomplete workspace 25 # *.DWS Dyalog APL Workspace 26 >>>1 byte 0x03 workspace 53 >>>1 byte 0x19 external workspace
|
H A D | vax | 4 # vax: file(1) magic for VAX executable/object and APL workspace 6 0 lelong 0101557 VAX single precision APL workspace 7 0 lelong 0101556 VAX double precision APL workspace
|
H A D | pdp | 4 # pdp: file(1) magic for PDP-11 executable/object and APL workspace 7 0 lelong 0101555 PDP-11 single precision APL workspace 8 0 lelong 0101554 PDP-11 double precision APL workspace
|
/freebsd/contrib/googletest/ |
H A D | WORKSPACE.bzlmod | 31 # https://bazel.build/external/migration#workspace.bzlmod 34 # file exists, the content of WORKSPACE is ignored. This prevents 35 # bzlmod builds from unintentionally depending on the WORKSPACE file.
|