OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MostSignificantBit
(Results
1 - 5
of
5
) sorted by null
/art/runtime/base/
bit_utils_test.cc
77
static_assert(-1 ==
MostSignificantBit
<uint32_t>(0u), "TestMSB32#1");
78
static_assert(0 ==
MostSignificantBit
<uint32_t>(1u), "TestMSB32#2");
79
static_assert(31 ==
MostSignificantBit
<uint32_t>(~static_cast<uint32_t>(0u)), "TestMSB32#3");
80
static_assert(2 ==
MostSignificantBit
<uint32_t>(0b110), "TestMSB32#4");
81
static_assert(2 ==
MostSignificantBit
<uint32_t>(0b100), "TestMSB32#5");
83
static_assert(-1 ==
MostSignificantBit
<uint64_t>(UINT64_C(0)), "TestMSB64#1");
84
static_assert(0 ==
MostSignificantBit
<uint64_t>(UINT64_C(1)), "TestMSB64#2");
85
static_assert(63 ==
MostSignificantBit
<uint64_t>(~UINT64_C(0)), "TestMSB64#3");
86
static_assert(34 ==
MostSignificantBit
<uint64_t>(UINT64_C(0x700000000)), "TestMSB64#4");
87
static_assert(34 ==
MostSignificantBit
<uint64_t>(UINT64_C(0x777777777)), "TestMSB64#5")
[
all
...]
bit_utils.h
67
static constexpr ssize_t
MostSignificantBit
(T value) {
85
return static_cast<size_t>(
MostSignificantBit
(value) + 1);
/external/v8/src/
utils.h
115
inline int
MostSignificantBit
(uint32_t x) {
[
all
...]
/external/v8/src/crankshaft/
hydrogen-instructions.cc
[
all
...]
/art/compiler/optimizing/
code_generator_arm.cc
[
all
...]
Completed in 90 milliseconds