Branch Coverage

src/panda/endian.h
Criterion Covered Total %
branch 6 12 50.0


line true false branch
48 1 0 inline uint16_t h2be16 (uint16_t x) { return detail::am_i_little ? detail::swap_bytes16(x) : x; }
50 1 0 inline uint16_t be2h16 (uint16_t x) { return detail::am_i_little ? detail::swap_bytes16(x) : x; }
53 1 0 inline uint32_t h2be32 (uint32_t x) { return detail::am_i_little ? detail::swap_bytes32(x) : x; }
55 1 0 inline uint32_t be2h32 (uint32_t x) { return detail::am_i_little ? detail::swap_bytes32(x) : x; }
58 1 0 inline uint64_t h2be64 (uint64_t x) { return detail::am_i_little ? detail::swap_bytes64(x) : x; }
60 1 0 inline uint64_t be2h64 (uint64_t x) { return detail::am_i_little ? detail::swap_bytes64(x) : x; }