Lines Matching refs:NumSetBits
32 EXPECT_EQ(0U, bv.NumSetBits());
33 EXPECT_EQ(0U, bv.NumSetBits(1));
34 EXPECT_EQ(0U, bv.NumSetBits(kBits));
46 EXPECT_EQ(2U, bv.NumSetBits());
47 EXPECT_EQ(1U, bv.NumSetBits(1));
48 EXPECT_EQ(2U, bv.NumSetBits(kBits));
77 EXPECT_EQ(0U, bv.NumSetBits());
80 EXPECT_EQ(1U, bv.NumSetBits());
83 EXPECT_EQ(1U, bv.NumSetBits());
86 EXPECT_EQ(2U, bv.NumSetBits());
89 EXPECT_EQ(2U, bv.NumSetBits());
92 EXPECT_EQ(3U, bv.NumSetBits());
95 EXPECT_EQ(3U, bv.NumSetBits());
98 EXPECT_EQ(4U, bv.NumSetBits());
101 EXPECT_EQ(4U, bv.NumSetBits());
103 EXPECT_EQ(0U, bv.NumSetBits(1));
105 EXPECT_EQ(0U, bv.NumSetBits(8));
106 EXPECT_EQ(1U, bv.NumSetBits(9));
107 EXPECT_EQ(1U, bv.NumSetBits(10));
109 EXPECT_EQ(1U, bv.NumSetBits(16));
110 EXPECT_EQ(2U, bv.NumSetBits(17));
111 EXPECT_EQ(2U, bv.NumSetBits(18));
113 EXPECT_EQ(2U, bv.NumSetBits(32));
114 EXPECT_EQ(3U, bv.NumSetBits(33));
115 EXPECT_EQ(3U, bv.NumSetBits(34));
117 EXPECT_EQ(3U, bv.NumSetBits(48));
118 EXPECT_EQ(4U, bv.NumSetBits(49));
119 EXPECT_EQ(4U, bv.NumSetBits(50));
121 EXPECT_EQ(4U, bv.NumSetBits(64));
132 EXPECT_EQ(0u, bv.NumSetBits());
134 EXPECT_EQ(1u, bv.NumSetBits());
136 EXPECT_EQ(32u, bv.NumSetBits());
138 EXPECT_EQ(63u, bv.NumSetBits());
140 EXPECT_EQ(64u, bv.NumSetBits());