GCC Code Coverage Report


Directory: libs/http_proto/
File: libs/http_proto/src/detail/filter.cpp
Date: 2024-09-20 16:11:52
Exec Total Coverage
Lines: 0 10 0.0%
Functions: 0 1 0.0%
Branches: 0 4 0.0%

Line Branch Exec Source
1 //
2 // Copyright (c) 2023 Vinnie Falco (vinnie.falco@gmail.com)
3 //
4 // Distributed under the Boost Software License, Version 1.0. (See accompanying
5 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 //
7 // Official repository: https://github.com/cppalliance/http_proto
8 //
9
10 #include <boost/buffers/range.hpp>
11
12 #include "filter.hpp"
13
14 namespace boost {
15 namespace http_proto {
16 namespace detail {
17
18 auto
19 filter::
20 on_process(
21 buffers::mutable_buffer_span out,
22 buffers::const_buffer_span in,
23 bool more) ->
24 results
25 {
26 results rv;
27 auto it0 = buffers::begin(in);
28 auto it1 = buffers::begin(out);
29 auto const end0 = buffers::end(in);
30 auto const end1 = buffers::end(out);
31 while(
32 it0 != end0 ||
33 it1 != end1)
34 {
35 ++it1;
36 (void)more;
37 (void)end0;
38 (void)it0;
39 }
40 return rv;
41 }
42
43 } // detail
44 } // http_proto
45 } // boost
46