LCOV - code coverage report
Current view: top level - libs/http_proto/src - filter.cpp (source / functions) Hit Total Coverage
Test: coverage_filtered.info Lines: 0 10 0.0 %
Date: 2024-03-22 19:51:41 Functions: 0 1 0.0 %

          Line data    Source code
       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/http_proto/filter.hpp>
      11             : #include <boost/buffers/range.hpp>
      12             : 
      13             : namespace boost {
      14             : namespace http_proto {
      15             : 
      16             : auto
      17           0 : filter::
      18             : on_process(
      19             :     buffers::mutable_buffer_span out,
      20             :     buffers::const_buffer_span in,
      21             :     bool more) ->
      22             :         results
      23             : {
      24           0 :     results rv;
      25           0 :     auto it0 = buffers::begin(in);
      26           0 :     auto it1 = buffers::begin(out);
      27           0 :     auto const end0 = buffers::end(in);
      28           0 :     auto const end1 = buffers::end(out);
      29           0 :     while(
      30           0 :         it0 != end0 ||
      31             :         it1 != end1)
      32             :     {
      33           0 :         ++it1;
      34             :         (void)more;
      35             :         (void)end0;
      36             :         (void)it0;
      37             :     }
      38           0 :     return rv;
      39             : }
      40             : 
      41             : } // http_proto
      42             : } // boost

Generated by: LCOV version 1.15