OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TruncToPowerOfTwo
(Results
1 - 3
of
3
) sorted by null
/art/libartbase/base/
bit_utils_test.cc
125
static_assert(0 ==
TruncToPowerOfTwo
<uint32_t>(0u), "TestTruncToPowerOfTwo32#1");
126
static_assert(1 ==
TruncToPowerOfTwo
<uint32_t>(1u), "TestTruncToPowerOfTwo32#2");
127
static_assert(2 ==
TruncToPowerOfTwo
<uint32_t>(2u), "TestTruncToPowerOfTwo32#3");
128
static_assert(2 ==
TruncToPowerOfTwo
<uint32_t>(3u), "TestTruncToPowerOfTwo32#4");
129
static_assert(4 ==
TruncToPowerOfTwo
<uint32_t>(7u), "TestTruncToPowerOfTwo32#5");
130
static_assert(0x20000u ==
TruncToPowerOfTwo
<uint32_t>(0x3aaaau),
132
static_assert(0x40000000u ==
TruncToPowerOfTwo
<uint32_t>(0x40000001u),
134
static_assert(0x80000000u ==
TruncToPowerOfTwo
<uint32_t>(0x80000000u),
137
static_assert(0 ==
TruncToPowerOfTwo
<uint64_t>(UINT64_C(0)), "TestTruncToPowerOfTwo64#1");
138
static_assert(1 ==
TruncToPowerOfTwo
<uint64_t>(UINT64_C(1)), "TestTruncToPowerOfTwo64#2")
[
all
...]
bit_utils.h
138
constexpr T
TruncToPowerOfTwo
(T val) {
/art/compiler/optimizing/
loop_analysis.cc
175
TruncToPowerOfTwo
(std::min({uf1, uf2, kArm64SimdMaxUnrollFactor}));
Completed in 7138 milliseconds