diff options
author | Sergey Polovko <sergey@polovko.me> | 2022-02-10 16:47:02 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:02 +0300 |
commit | 3e0b762a82514bac89c1dd6ea7211e381d8aa248 (patch) | |
tree | c2d1b379ecaf05ca8f11ed0b5da9d1a950e6e554 /contrib/libs/hdr_histogram/src/hdr_tests.h | |
parent | ab3783171cc30e262243a0227c86118f7080c896 (diff) | |
download | ydb-3e0b762a82514bac89c1dd6ea7211e381d8aa248.tar.gz |
Restoring authorship annotation for Sergey Polovko <sergey@polovko.me>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/hdr_histogram/src/hdr_tests.h')
-rw-r--r-- | contrib/libs/hdr_histogram/src/hdr_tests.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/contrib/libs/hdr_histogram/src/hdr_tests.h b/contrib/libs/hdr_histogram/src/hdr_tests.h index c016d3a6de..34f67c9a64 100644 --- a/contrib/libs/hdr_histogram/src/hdr_tests.h +++ b/contrib/libs/hdr_histogram/src/hdr_tests.h @@ -1,22 +1,22 @@ -#ifndef HDR_TESTS_H -#define HDR_TESTS_H - -/* These are functions used in tests and are not intended for normal usage. */ - -#include "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 +#ifndef HDR_TESTS_H +#define HDR_TESTS_H + +/* These are functions used in tests and are not intended for normal usage. */ + +#include "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 |