Another clang-format run, changed how parameters are binned
This commit is contained in:
1 parent
8f21a77150
commit
de063e51f0
452 files changed
+5506
-2380
No files matched your search
@@ -18,7 +18,9 @@ namespace jetfix {
|
||||
// location in a vector InMsgBuffer. Returns how many bytes were
|
||||
// successfully framed.
|
||||
size_t extract(
|
||||
char *start, char *end, std::shared_ptr<std::string> const &buffer,
|
||||
char *start,
|
||||
char *end,
|
||||
std::shared_ptr<std::string> const &buffer,
|
||||
std::vector<InMsgBuffer> *msgs) {
|
||||
auto first_unprocessed_byte = 0;
|
||||
auto current = start;
|
||||
@@ -64,8 +66,11 @@ size_t extract(
|
||||
|
||||
struct AsyncReader::PImpl {
|
||||
PImpl(
|
||||
IConnection &connection, std::string const &connection_name,
|
||||
ICoreGatewayEventSink &sink, trace::PerfLog &l, size_t buffer_sz,
|
||||
IConnection &connection,
|
||||
std::string const &connection_name,
|
||||
ICoreGatewayEventSink &sink,
|
||||
trace::PerfLog &l,
|
||||
size_t buffer_sz,
|
||||
size_t high_water_mark)
|
||||
: connection(connection),
|
||||
working_buffer(std::make_shared<std::string>(buffer_sz, 0)),
|
||||
@@ -101,8 +106,11 @@ struct AsyncReader::PImpl {
|
||||
};
|
||||
|
||||
AsyncReader::AsyncReader(
|
||||
IConnection &connection, std::string const &connection_name,
|
||||
ICoreGatewayEventSink &sink, trace::PerfLog &log, size_t buffer_sz,
|
||||
IConnection &connection,
|
||||
std::string const &connection_name,
|
||||
ICoreGatewayEventSink &sink,
|
||||
trace::PerfLog &log,
|
||||
size_t buffer_sz,
|
||||
size_t high_water_mark)
|
||||
: me(new PImpl(
|
||||
connection, connection_name, sink, log, buffer_sz, high_water_mark)) {
|
||||
|
||||
Reference in new issue
Block a user