clang-format

This commit is contained in:
Tatsuhiro Tsujikawa 2015-05-08 19:24:17 +09:00
parent 7f60de0c51
commit a8625e15f0
2 changed files with 3 additions and 4 deletions

View File

@ -1752,8 +1752,8 @@ static int hd_inflate_remove_bufs_with_name(nghttp2_hd_inflater *inflater,
#ifndef NDEBUG
rv =
#endif
nghttp2_bufs_remove_copy(&inflater->nvbufs,
buf + ent_name->nv.namelen + 1);
nghttp2_bufs_remove_copy(&inflater->nvbufs,
buf + ent_name->nv.namelen + 1);
assert(ent_name->nv.namelen + 1 + rv == buflen);
nghttp2_bufs_reset(&inflater->nvbufs);

View File

@ -94,8 +94,7 @@ struct RequestStat {
bool completed;
};
template<typename Duration>
struct TimeStat {
template <typename Duration> struct TimeStat {
// min, max, mean and sd (standard deviation)
Duration min, max, mean, sd;
// percentage of samples inside mean -/+ sd