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

References

unittests/ADT/SparseBitVectorTest.cpp
   89   Vec.set(23);
   90   Vec.set(234);
   91   Vec = static_cast<SparseBitVector<> &>(Vec);
   91   Vec = static_cast<SparseBitVector<> &>(Vec);
   92   EXPECT_TRUE(Vec.test(23));
   93   EXPECT_TRUE(Vec.test(234));
   95   Vec.clear();
   96   Vec.set(17);
   97   Vec.set(256);
   98   EXPECT_FALSE(Vec |= Vec);
   98   EXPECT_FALSE(Vec |= Vec);
   99   EXPECT_TRUE(Vec.test(17));
  100   EXPECT_TRUE(Vec.test(256));
  102   Vec.clear();
  103   Vec.set(56);
  104   Vec.set(517);
  105   EXPECT_FALSE(Vec &= Vec);
  105   EXPECT_FALSE(Vec &= Vec);
  106   EXPECT_TRUE(Vec.test(56));
  107   EXPECT_TRUE(Vec.test(517));
  109   Vec.clear();
  110   Vec.set(99);
  111   Vec.set(333);
  112   EXPECT_TRUE(Vec.intersectWithComplement(Vec));
  112   EXPECT_TRUE(Vec.intersectWithComplement(Vec));
  113   EXPECT_TRUE(Vec.empty());
  114   EXPECT_FALSE(Vec.intersectWithComplement(Vec));
  114   EXPECT_FALSE(Vec.intersectWithComplement(Vec));
  116   Vec.clear();
  117   Vec.set(28);
  118   Vec.set(43);
  119   Vec.intersectWithComplement(Vec, Vec);
  119   Vec.intersectWithComplement(Vec, Vec);
  119   Vec.intersectWithComplement(Vec, Vec);
  120   EXPECT_TRUE(Vec.empty());
  122   Vec.clear();
  123   Vec.set(42);
  124   Vec.set(567);
  127   Vec.intersectWithComplement(Vec, Other);
  127   Vec.intersectWithComplement(Vec, Other);
  128   EXPECT_TRUE(Vec.test(42));
  129   EXPECT_FALSE(Vec.test(567));
  131   Vec.clear();
  132   Vec.set(19);
  133   Vec.set(21);
  137   Vec.intersectWithComplement(Other, Vec);
  137   Vec.intersectWithComplement(Other, Vec);
  138   EXPECT_FALSE(Vec.test(19));
  139   EXPECT_TRUE(Vec.test(31));
  141   Vec.clear();
  142   Vec.set(1);
  146   Vec.intersectWithComplement(Other, Other);
  147   EXPECT_TRUE(Vec.empty());