/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
deps/histogram/src/hdr_tests.h
22 строки
635 B
Marco Ippolito
deps: update histogram to 0.11.7
25 май 2023, 10:44
25 май 2023, 10:44
dff00ed
Код
Авторство
О чём код?
#ifndef HDR_TESTS_H #define HDR_TESTS_H /* These are functions used in tests and are not intended for normal usage. */ #include <hdr/hdr_histogram.h> #ifdef __cplusplus extern "C" { #endif int32_t counts_index_for(const struct hdr_histogram* h, int64_t value); int hdr_encode_compressed(struct hdr_histogram* h, uint8_t** compressed_histogram, size_t* compressed_len); int hdr_decode_compressed(uint8_t* buffer, size_t length, struct hdr_histogram** histogram); void hdr_base64_decode_block(const char* input, uint8_t* output); void hdr_base64_encode_block(const uint8_t* input, char* output); #ifdef __cplusplus } #endif #endif