003 File Manager
Current Path:
/usr/src/sys/contrib/zstd/programs
usr
/
src
/
sys
/
contrib
/
zstd
/
programs
/
📁
..
📄
BUCK
(920 B)
📄
Makefile
(17.02 KB)
📄
README.md
(17.17 KB)
📄
benchfn.c
(9.61 KB)
📄
benchfn.h
(8.52 KB)
📄
benchzstd.c
(34.87 KB)
📄
benchzstd.h
(8.51 KB)
📄
datagen.c
(6.05 KB)
📄
datagen.h
(1.17 KB)
📄
dibio.c
(15.63 KB)
📄
dibio.h
(1.48 KB)
📄
fileio.c
(120.82 KB)
📄
fileio.h
(6.84 KB)
📄
platform.h
(8.55 KB)
📄
timefn.c
(4.86 KB)
📄
timefn.h
(2.5 KB)
📄
util.c
(37.99 KB)
📄
util.h
(10.17 KB)
📄
zstd.1
(27.52 KB)
📄
zstd.1.md
(25.99 KB)
📄
zstdcli.c
(62.4 KB)
📄
zstdgrep
(3.78 KB)
📄
zstdgrep.1
(784 B)
📄
zstdgrep.1.md
(726 B)
📄
zstdless
(30 B)
📄
zstdless.1
(383 B)
📄
zstdless.1.md
(356 B)
Editing: dibio.h
/* * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. * All rights reserved. * * This source code is licensed under both the BSD-style license (found in the * LICENSE file in the root directory of this source tree) and the GPLv2 (found * in the COPYING file in the root directory of this source tree). * You may select, at your option, one of the above-listed licenses. */ /* This library is designed for a single-threaded console application. * It exit() and printf() into stderr when it encounters an error condition. */ #ifndef DIBIO_H_003 #define DIBIO_H_003 /*-************************************* * Dependencies ***************************************/ #define ZDICT_STATIC_LINKING_ONLY #include "../lib/dictBuilder/zdict.h" /* ZDICT_params_t */ /*-************************************* * Public functions ***************************************/ /*! DiB_trainFromFiles() : Train a dictionary from a set of files provided by `fileNamesTable`. Resulting dictionary is written into file `dictFileName`. `parameters` is optional and can be provided with values set to 0, meaning "default". @return : 0 == ok. Any other : error. */ int DiB_trainFromFiles(const char* dictFileName, unsigned maxDictSize, const char** fileNamesTable, unsigned nbFiles, size_t chunkSize, ZDICT_legacy_params_t* params, ZDICT_cover_params_t* coverParams, ZDICT_fastCover_params_t* fastCoverParams, int optimize); #endif
Upload File
Create Folder