/
githubmirror
/
xz
Обзор
Документация
Войти
/
githubmirror
/
xz
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/liblzma/common/easy_encoder_memusage.c
23 строки
585 B
Lasse Collin
Add SPDX license identifier into 0BSD source code files.
14 фев 2024, 19:31
14 фев 2024, 19:31
22af941
Код
Авторство
О чём код?
// SPDX-License-Identifier: 0BSD /////////////////////////////////////////////////////////////////////////////// // /// \file easy_encoder_memusage.c /// \brief Easy .xz Stream encoder memory usage calculation // // Author: Lasse Collin // /////////////////////////////////////////////////////////////////////////////// #include "easy_preset.h" extern LZMA_API(uint64_t) lzma_easy_encoder_memusage(uint32_t preset) { lzma_options_easy opt_easy; if (lzma_easy_preset(&opt_easy, preset)) return UINT32_MAX; return lzma_raw_encoder_memusage(opt_easy.filters); }