Sha256: b727ad8899fc5717a94e0eb60f9f690d15bcec4ac98bd098c2d076189321f9e6

Contents?: true

Size: 631 Bytes

Versions: 9

Compression:

Stored size: 631 Bytes

Contents

#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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
couchbase-3.4.5 ext/couchbase/third_party/hdr_histogram_c/src/hdr_tests.h
couchbase-3.4.4 ext/couchbase/third_party/hdr_histogram_c/src/hdr_tests.h
couchbase-3.4.3 ext/couchbase/third_party/hdr_histogram_c/src/hdr_tests.h
couchbase-3.4.2 ext/couchbase/third_party/hdr_histogram_c/src/hdr_tests.h
couchbase-3.4.1 ext/couchbase/third_party/hdr_histogram_c/src/hdr_tests.h
couchbase-3.4.0 ext/couchbase/third_party/hdr_histogram_c/src/hdr_tests.h
couchbase-3.3.0 ext/couchbase/third_party/hdr_histogram_c/src/hdr_tests.h
couchbase-3.2.0-universal-darwin-20 ext/third_party/hdr_histogram_c/src/hdr_tests.h
couchbase-3.2.0 ext/third_party/hdr_histogram_c/src/hdr_tests.h