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

References

unittests/ADT/BitVectorTest.cpp
  454   A.resize(10);
  455   A.set(4);
  456   A.set(7);
  463   A |= B;
  464   EXPECT_TRUE(A.test(4));
  465   EXPECT_TRUE(A.test(5));
  466   EXPECT_TRUE(A.test(7));
  467   EXPECT_TRUE(A.test(18));
  468   EXPECT_EQ(4U, A.count());
  469   EXPECT_EQ(50U, A.size());
  475   A &= B;
  476   EXPECT_FALSE(A.test(2));
  477   EXPECT_FALSE(A.test(7));
  478   EXPECT_TRUE(A.test(4));
  479   EXPECT_TRUE(A.test(5));
  480   EXPECT_EQ(2U, A.count());
  481   EXPECT_EQ(50U, A.size());
  486   A ^= B;
  487   EXPECT_TRUE(A.test(2));
  488   EXPECT_TRUE(A.test(7));
  489   EXPECT_EQ(98U, A.count());
  490   EXPECT_EQ(100U, A.size());