aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/brotli/dec/prefix.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/dec/prefix.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/dec/prefix.h')
-rw-r--r--contrib/libs/brotli/dec/prefix.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/contrib/libs/brotli/dec/prefix.h b/contrib/libs/brotli/dec/prefix.h
index 3ea062d84a..17bf3a4729 100644
--- a/contrib/libs/brotli/dec/prefix.h
+++ b/contrib/libs/brotli/dec/prefix.h
@@ -1,7 +1,7 @@
/* Copyright 2013 Google Inc. All Rights Reserved.
- Distributed under MIT license.
- See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
+ Distributed under MIT license.
+ See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
*/
/* Lookup tables to map prefix codes to value ranges. This is used during
@@ -10,18 +10,18 @@
#ifndef BROTLI_DEC_PREFIX_H_
#define BROTLI_DEC_PREFIX_H_
-#include "../common/constants.h"
-#include <brotli/types.h>
-
+#include "../common/constants.h"
+#include <brotli/types.h>
+
/* Represents the range of values belonging to a prefix code:
[offset, offset + 2^nbits) */
struct PrefixCodeRange {
- uint16_t offset;
- uint8_t nbits;
+ uint16_t offset;
+ uint8_t nbits;
};
-static const struct PrefixCodeRange
- kBlockLengthPrefixCode[BROTLI_NUM_BLOCK_LEN_SYMBOLS] = {
+static const struct PrefixCodeRange
+ kBlockLengthPrefixCode[BROTLI_NUM_BLOCK_LEN_SYMBOLS] = {
{ 1, 2}, { 5, 2}, { 9, 2}, { 13, 2},
{ 17, 3}, { 25, 3}, { 33, 3}, { 41, 3},
{ 49, 4}, { 65, 4}, { 81, 4}, { 97, 4},
@@ -40,7 +40,7 @@ typedef struct CmdLutElement {
uint16_t copy_len_offset;
} CmdLutElement;
-static const CmdLutElement kCmdLut[BROTLI_NUM_COMMAND_SYMBOLS] = {
+static const CmdLutElement kCmdLut[BROTLI_NUM_COMMAND_SYMBOLS] = {
{ 0x00, 0x00, 0, 0x00, 0x0000, 0x0002 },
{ 0x00, 0x00, 0, 0x01, 0x0000, 0x0003 },
{ 0x00, 0x00, 0, 0x02, 0x0000, 0x0004 },