LCOV - code coverage report
Current view: top level - src - GlobPtr.cc (source / functions) Hit Total Coverage
Test: coverage.info.cleaned Lines: 5 13 38.5 %
Date: 2016-06-29 12:30:40 Functions: 4 5 80.0 %

          Line data    Source code
       1             : #include <dash/GlobPtr.h>
       2             : 
       3           0 : std::ostream & operator<<(
       4             :   std::ostream      & os,
       5             :   const dart_gptr_t & dartptr)
       6             : {
       7             :   char buf[100];
       8           0 :   sprintf(buf,
       9             :           "<%08X|%04X|%04X|%016lX>",
      10           0 :           dartptr.unitid,
      11           0 :           dartptr.segid,
      12           0 :           dartptr.flags,
      13           0 :           dartptr.addr_or_offs.offset);
      14           0 :   os << "dart_gptr_t(" << buf << ")";
      15           0 :   return os;
      16             : }
      17             : 
      18        2964 : bool operator==(
      19             :   const dart_gptr_t & lhs,
      20             :   const dart_gptr_t & rhs)
      21             : {
      22        2964 :   return DART_GPTR_EQUAL(lhs, rhs);
      23             : }
      24             : 
      25          26 : bool operator!=(
      26             :   const dart_gptr_t & lhs,
      27             :   const dart_gptr_t & rhs)
      28             : {
      29          26 :   return !DART_GPTR_EQUAL(lhs, rhs);
      30          12 : }

Generated by: LCOV version 1.12