LCOV - code coverage report
Current view: top level - src/zerocopy - header.cc (source / functions) Hit Total Coverage
Test: vlink Lines: 1 1 100.0 %
Date: 2026-06-27 19:56:04 Functions: 1 1 100.0 %
Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : /*
       2                 :            :  * Copyright (C) 2026 by Thun Lu. All rights reserved.
       3                 :            :  * Author: Thun Lu <thun.lu@zohomail.cn>
       4                 :            :  * Repo:   https://github.com/thun-res/vlink
       5                 :            :  *  _    __   __      _           __
       6                 :            :  * | |  / /  / /     (_) ____    / /__
       7                 :            :  * | | / /  / /     / / / __ \  / //_/
       8                 :            :  * | |/ /  / /___  / / / / / / / ,<
       9                 :            :  * |___/  /_____/ /_/ /_/ /_/ /_/|_|
      10                 :            :  *
      11                 :            :  * Licensed under the Apache License, Version 2.0 (the "License");
      12                 :            :  * you may not use this file except in compliance with the License.
      13                 :            :  * You may obtain a copy of the License at
      14                 :            :  *
      15                 :            :  *     http://www.apache.org/licenses/LICENSE-2.0
      16                 :            :  *
      17                 :            :  * Unless required by applicable law or agreed to in writing, software
      18                 :            :  * distributed under the License is distributed on an "AS IS" BASIS,
      19                 :            :  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      20                 :            :  * See the License for the specific language governing permissions and
      21                 :            :  * limitations under the License.
      22                 :            :  */
      23                 :            : 
      24                 :            : #include "./zerocopy/header.h"
      25                 :            : 
      26                 :            : namespace vlink {
      27                 :            : 
      28                 :            : namespace zerocopy {
      29                 :            : 
      30                 :            : // Header
      31                 :        601 : Header::Header() noexcept { static_assert(sizeof(Header) == 40, "Sizeof must be 40 bytes."); }
      32                 :            : 
      33                 :            : }  // namespace zerocopy
      34                 :            : 
      35                 :            : }  // namespace vlink

Generated by: LCOV version 1.14