OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Log2Ceiling
(Results
1 - 2
of
2
) sorted by null
/external/chromium/base/
bits_unittest.cc
30
TEST(BitsTest,
Log2Ceiling
) {
31
EXPECT_EQ(-1,
Log2Ceiling
(0));
32
EXPECT_EQ(0,
Log2Ceiling
(1));
33
EXPECT_EQ(1,
Log2Ceiling
(2));
34
EXPECT_EQ(2,
Log2Ceiling
(3));
35
EXPECT_EQ(2,
Log2Ceiling
(4));
38
EXPECT_EQ(i,
Log2Ceiling
(value));
39
EXPECT_EQ(i + 1,
Log2Ceiling
(value + 1));
40
EXPECT_EQ(i + 1,
Log2Ceiling
(value + 2));
41
EXPECT_EQ(i,
Log2Ceiling
(value - 1))
[
all
...]
bits.h
35
inline int
Log2Ceiling
(uint32 n) {
Completed in 1511 milliseconds