aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/brotli/enc/cluster.h
diff options
context:
space:
mode:
authorasaitgalin <asaitgalin@yandex-team.ru>2022-02-10 16:47:28 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:28 +0300
commitc0780d05ad256f75dc8e0fa36aee5dbce402e8f6 (patch)
treed810bdcfddba2f591fdf54356f0634da5377967e /contrib/libs/brotli/enc/cluster.h
parent55a7f90e4cd31e9481cace8ee5dfd682c27e810e (diff)
downloadydb-c0780d05ad256f75dc8e0fa36aee5dbce402e8f6.tar.gz
Restoring authorship annotation for <asaitgalin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/brotli/enc/cluster.h')
-rw-r--r--contrib/libs/brotli/enc/cluster.h64
1 files changed, 32 insertions, 32 deletions
diff --git a/contrib/libs/brotli/enc/cluster.h b/contrib/libs/brotli/enc/cluster.h
index bb26124d24..0a3adbd6e2 100644
--- a/contrib/libs/brotli/enc/cluster.h
+++ b/contrib/libs/brotli/enc/cluster.h
@@ -1,48 +1,48 @@
-/* Copyright 2013 Google Inc. All Rights Reserved.
-
- Distributed under MIT license.
- See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
-*/
-
-/* Functions for clustering similar histograms together. */
-
+/* Copyright 2013 Google Inc. All Rights Reserved.
+
+ Distributed under MIT license.
+ See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
+*/
+
+/* Functions for clustering similar histograms together. */
+
#ifndef BROTLI_ENC_CLUSTER_H_
#define BROTLI_ENC_CLUSTER_H_
#include "../common/platform.h"
-#include <brotli/types.h>
+#include <brotli/types.h>
#include "./histogram.h"
-#include "./memory.h"
+#include "./memory.h"
-#if defined(__cplusplus) || defined(c_plusplus)
-extern "C" {
-#endif
+#if defined(__cplusplus) || defined(c_plusplus)
+extern "C" {
+#endif
-typedef struct HistogramPair {
- uint32_t idx1;
- uint32_t idx2;
+typedef struct HistogramPair {
+ uint32_t idx1;
+ uint32_t idx2;
double cost_combo;
double cost_diff;
-} HistogramPair;
+} HistogramPair;
-#define CODE(X) /* Declaration */;
+#define CODE(X) /* Declaration */;
-#define FN(X) X ## Literal
-#include "./cluster_inc.h" /* NOLINT(build/include) */
-#undef FN
+#define FN(X) X ## Literal
+#include "./cluster_inc.h" /* NOLINT(build/include) */
+#undef FN
-#define FN(X) X ## Command
-#include "./cluster_inc.h" /* NOLINT(build/include) */
-#undef FN
+#define FN(X) X ## Command
+#include "./cluster_inc.h" /* NOLINT(build/include) */
+#undef FN
-#define FN(X) X ## Distance
-#include "./cluster_inc.h" /* NOLINT(build/include) */
-#undef FN
+#define FN(X) X ## Distance
+#include "./cluster_inc.h" /* NOLINT(build/include) */
+#undef FN
-#undef CODE
+#undef CODE
-#if defined(__cplusplus) || defined(c_plusplus)
-} /* extern "C" */
-#endif
+#if defined(__cplusplus) || defined(c_plusplus)
+} /* extern "C" */
+#endif
-#endif /* BROTLI_ENC_CLUSTER_H_ */
+#endif /* BROTLI_ENC_CLUSTER_H_ */