diff options
author | Jeffrey Walton <noloader@gmail.com> | 2016-07-24 23:41:24 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2016-07-24 23:41:24 -0400 |
commit | b99a92fe722e9229f4c1395c13e6b6b40ff6e03f (patch) | |
tree | 3b35edbc8cd8bceb18641b7f82ea4f4d577e334f /zdeflate.cpp | |
parent | 57337a5479cddd5d0509c127200faff23b9a7f5c (diff) | |
download | cryptopp-git-b99a92fe722e9229f4c1395c13e6b6b40ff6e03f.tar.gz |
Whitespace checkin
Diffstat (limited to 'zdeflate.cpp')
-rw-r--r-- | zdeflate.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/zdeflate.cpp b/zdeflate.cpp index 494e2836..a016b300 100644 --- a/zdeflate.cpp +++ b/zdeflate.cpp @@ -94,7 +94,7 @@ struct HuffmanNode : symbol(0), parent(0) {}
HuffmanNode(const HuffmanNode& rhs)
: symbol(rhs.symbol), parent(rhs.parent) {}
-
+
size_t symbol;
union {size_t parent; unsigned depth, freq;};
};
@@ -582,7 +582,7 @@ void Deflator::MatchFound(unsigned int distance, unsigned int length) static const unsigned int lengthBases[] =
{3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,
227,258};
- static const unsigned int distanceBases[30] =
+ static const unsigned int distanceBases[30] =
{1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,
4097,6145,8193,12289,16385,24577};
@@ -601,10 +601,10 @@ void Deflator::MatchFound(unsigned int distance, unsigned int length) m_blockLength += length;
}
-inline unsigned int CodeLengthEncode(const unsigned int *begin,
- const unsigned int *end,
- const unsigned int *& p,
- unsigned int &extraBits,
+inline unsigned int CodeLengthEncode(const unsigned int *begin,
+ const unsigned int *end,
+ const unsigned int *& p,
+ unsigned int &extraBits,
unsigned int &extraBitsLength)
{
unsigned int v = *p;
|