File tree Expand file tree Collapse file tree 11 files changed +22
-22
lines changed
proxygen/lib/http/codec/compress Expand file tree Collapse file tree 11 files changed +22
-22
lines changed Original file line number Diff line number Diff line change 18
18
#include < string>
19
19
#include < vector>
20
20
21
- namespace folly { namespace io {
21
+ namespace folly :: io {
22
22
class Cursor ;
23
- }} // namespace folly::io
23
+ } // namespace folly::io
24
24
25
25
namespace proxygen {
26
26
Original file line number Diff line number Diff line change 11
11
#include < iosfwd>
12
12
#include < stdint.h>
13
13
14
- namespace proxygen { namespace HPACK {
14
+ namespace proxygen :: HPACK {
15
15
16
16
struct Instruction {
17
17
uint8_t code;
@@ -91,4 +91,4 @@ enum class DecodeError : uint8_t {
91
91
};
92
92
93
93
std::ostream& operator <<(std::ostream& os, DecodeError err);
94
- }} // namespace proxygen::HPACK
94
+ } // namespace proxygen::HPACK
Original file line number Diff line number Diff line change 12
12
#include < proxygen/lib/http/codec/compress/HPACKHeaderName.h>
13
13
#include < proxygen/lib/http/codec/compress/HeaderCodec.h>
14
14
15
- namespace proxygen { namespace HPACK {
15
+ namespace proxygen :: HPACK {
16
16
class StreamingCallback {
17
17
public:
18
18
virtual ~StreamingCallback () {
@@ -26,4 +26,4 @@ class StreamingCallback {
26
26
HeaderCodec::Stats* stats{nullptr };
27
27
};
28
28
29
- }} // namespace proxygen::HPACK
29
+ } // namespace proxygen::HPACK
Original file line number Diff line number Diff line change 11
11
#include < proxygen/lib/http/HTTPHeaders.h>
12
12
#include < string>
13
13
14
- namespace proxygen { namespace compress {
14
+ namespace proxygen :: compress {
15
15
16
16
/* *
17
17
* Helper structure used when serializing the uncompressed
@@ -48,4 +48,4 @@ struct Header {
48
48
}
49
49
};
50
50
51
- }} // namespace proxygen::compress
51
+ } // namespace proxygen::compress
Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ class IOBuf;
21
21
class IOBufQueue ;
22
22
} // namespace folly
23
23
24
- namespace folly { namespace io {
24
+ namespace folly :: io {
25
25
class Cursor ;
26
- }} // namespace folly::io
26
+ } // namespace folly::io
27
27
28
28
namespace proxygen {
29
29
Original file line number Diff line number Diff line change 14
14
15
15
#include < folly/Range.h>
16
16
17
- namespace proxygen { namespace compress {
17
+ namespace proxygen :: compress {
18
18
19
19
/* *
20
20
* in-place representation of a header name or value
@@ -57,4 +57,4 @@ class HeaderPiece {
57
57
58
58
using HeaderPieceList = std::deque<HeaderPiece>;
59
59
60
- }} // namespace proxygen::compress
60
+ } // namespace proxygen::compress
Original file line number Diff line number Diff line change 14
14
15
15
using std::pair;
16
16
17
- namespace proxygen { namespace huffman {
17
+ namespace proxygen :: huffman {
18
18
19
19
// These constants were decided upon empirically
20
20
constexpr static uint32_t kHuffmanDecodeSpaceNumerator = 3 ;
@@ -273,4 +273,4 @@ const HuffTree& huffTree() {
273
273
return *huffTree;
274
274
}
275
275
276
- }} // namespace proxygen::huffman
276
+ } // namespace proxygen::huffman
Original file line number Diff line number Diff line change 14
14
#include < proxygen/lib/http/codec/compress/HPACKConstants.h>
15
15
#include < string>
16
16
17
- namespace proxygen { namespace huffman {
17
+ namespace proxygen :: huffman {
18
18
19
19
// size of the huffman tables (codes and bits)
20
20
const uint32_t kTableSize = 256 ;
@@ -159,4 +159,4 @@ class HuffTree {
159
159
160
160
const HuffTree& huffTree ();
161
161
162
- }} // namespace proxygen::huffman
162
+ } // namespace proxygen::huffman
Original file line number Diff line number Diff line change 18
18
#include < string>
19
19
#include < vector>
20
20
21
- namespace folly { namespace io {
21
+ namespace folly :: io {
22
22
class Cursor ;
23
- }} // namespace folly::io
23
+ } // namespace folly::io
24
24
25
25
namespace proxygen {
26
26
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ using std::string;
22
22
using std::unique_ptr;
23
23
using std::vector;
24
24
25
- namespace proxygen { namespace hpack {
25
+ namespace proxygen :: hpack {
26
26
27
27
void dumpToFile (const string& filename, const IOBuf* buf) {
28
28
ofstream outfile (filename, ofstream::binary);
@@ -123,4 +123,4 @@ vector<compress::Header> basicHeaders() {
123
123
return headers;
124
124
}
125
125
126
- }} // namespace proxygen::hpack
126
+ } // namespace proxygen::hpack
Original file line number Diff line number Diff line change 17
17
#include < proxygen/lib/http/codec/compress/QPACKEncoder.h>
18
18
#include < string>
19
19
20
- namespace proxygen { namespace hpack {
20
+ namespace proxygen :: hpack {
21
21
22
22
void dumpToFile (const std::string& filename, const folly::IOBuf* buf);
23
23
@@ -92,4 +92,4 @@ class TestHeaderCodecStats : public HeaderCodec::Stats {
92
92
uint32_t tooLarge{0 };
93
93
};
94
94
95
- }} // namespace proxygen::hpack
95
+ } // namespace proxygen::hpack
You can’t perform that action at this time.
0 commit comments