clang-format
This commit is contained in:
parent
7f60de0c51
commit
a8625e15f0
|
@ -1752,8 +1752,8 @@ static int hd_inflate_remove_bufs_with_name(nghttp2_hd_inflater *inflater,
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
rv =
|
rv =
|
||||||
#endif
|
#endif
|
||||||
nghttp2_bufs_remove_copy(&inflater->nvbufs,
|
nghttp2_bufs_remove_copy(&inflater->nvbufs,
|
||||||
buf + ent_name->nv.namelen + 1);
|
buf + ent_name->nv.namelen + 1);
|
||||||
assert(ent_name->nv.namelen + 1 + rv == buflen);
|
assert(ent_name->nv.namelen + 1 + rv == buflen);
|
||||||
|
|
||||||
nghttp2_bufs_reset(&inflater->nvbufs);
|
nghttp2_bufs_reset(&inflater->nvbufs);
|
||||||
|
|
|
@ -94,8 +94,7 @@ struct RequestStat {
|
||||||
bool completed;
|
bool completed;
|
||||||
};
|
};
|
||||||
|
|
||||||
template<typename Duration>
|
template <typename Duration> struct TimeStat {
|
||||||
struct TimeStat {
|
|
||||||
// min, max, mean and sd (standard deviation)
|
// min, max, mean and sd (standard deviation)
|
||||||
Duration min, max, mean, sd;
|
Duration min, max, mean, sd;
|
||||||
// percentage of samples inside mean -/+ sd
|
// percentage of samples inside mean -/+ sd
|
||||||
|
|
Loading…
Reference in New Issue