LCOV - code coverage report
Current view: top level - asar - libmisc.h (source / functions) Coverage Total Hit
Test: asar build #66 Lines: 100.0 % 11 11
Test Date: 2024-01-16 02:45:19 Functions: 100.0 % 2 2
Branches: 100.0 % 2 2

             Branch data     Line data    Source code
       1                 :             : #pragma once
       2                 :        1839 : inline int min(int a, int b)
       3                 :             : {
       4         [ +  + ]:        1839 :         return a > b ? b : a;
       5                 :             : }
       6                 :             : 
       7                 :      131527 : inline unsigned bitround(unsigned v)
       8                 :             : {
       9                 :      131527 :         v--;
      10                 :      131527 :         v |= v >> 1;
      11                 :      131527 :         v |= v >> 2;
      12                 :      131527 :         v |= v >> 4;
      13                 :      131527 :         v |= v >> 8;
      14                 :      131527 :         v |= v >> 16;
      15                 :      131527 :         v++;
      16                 :      131527 :         return v;
      17                 :             : }
        

Generated by: LCOV version 2.0-1