reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/lldb/unittests/Utility/DataExtractorTest.cpp
  106   offset = 0;
  107   EXPECT_EQ(0x01U, LE.GetMaxU64(&offset, 1));
  108   EXPECT_EQ(1U, offset);
  109   offset = 0;
  110   EXPECT_EQ(0x01U, BE.GetMaxU64(&offset, 1));
  111   EXPECT_EQ(1U, offset);
  114   offset = 1;
  115   EXPECT_EQ(0x0302U, LE.GetMaxU64(&offset, 2));
  116   EXPECT_EQ(3U, offset);
  117   offset = 1;
  118   EXPECT_EQ(0x0203U, BE.GetMaxU64(&offset, 2));
  119   EXPECT_EQ(3U, offset);
  122   offset = 0;
  123   EXPECT_EQ(0x07060504030201U, LE.GetMaxU64(&offset, 7));
  124   EXPECT_EQ(7U, offset);
  125   offset = 0;
  126   EXPECT_EQ(0x01020304050607U, BE.GetMaxU64(&offset, 7));
  127   EXPECT_EQ(7U, offset);
  130   offset = 0;
  131   EXPECT_EQ(0x0807060504030201U, LE.GetMaxU64(&offset, 8));
  132   EXPECT_EQ(8U, offset);
  133   offset = 0;
  134   EXPECT_EQ(0x0102030405060708U, BE.GetMaxU64(&offset, 8));
  135   EXPECT_EQ(8U, offset);