OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Log2Floor
(Results
1 - 11
of
11
) sorted by null
/external/chromium_org/base/
bits_unittest.cc
13
TEST(BitsTest,
Log2Floor
) {
14
EXPECT_EQ(-1,
Log2Floor
(0));
15
EXPECT_EQ(0,
Log2Floor
(1));
16
EXPECT_EQ(1,
Log2Floor
(2));
17
EXPECT_EQ(1,
Log2Floor
(3));
18
EXPECT_EQ(2,
Log2Floor
(4));
21
EXPECT_EQ(i,
Log2Floor
(value));
22
EXPECT_EQ(i,
Log2Floor
(value + 1));
23
EXPECT_EQ(i,
Log2Floor
(value + 2));
24
EXPECT_EQ(i - 1,
Log2Floor
(value - 1))
[
all
...]
bits.h
17
inline int
Log2Floor
(uint32 n) {
39
//
Log2Floor
returns -1 for 0, so the following works correctly for n=1.
40
return 1 +
Log2Floor
(n - 1);
/external/chromium_org/third_party/brotli/src/woff2/
port.h
24
inline int
Log2Floor
(uint32 n) {
font.cc
100
uint16_t max_pow2 = font.num_tables ?
Log2Floor
(font.num_tables) : 0;
normalize.cc
150
uint16_t max_pow2 = font.num_tables ?
Log2Floor
(font.num_tables) : 0;
/external/chromium_org/third_party/brotli/src/brotli/enc/
fast_log.h
26
inline int
Log2Floor
(uint32_t n) {
51
int floor =
Log2Floor
(n);
prefix.cc
137
int bucket =
Log2Floor
(distance_code) - 1;
hash.h
89
retval -= 1.20 *
Log2Floor
(backward_reference_offset);
283
const double score = start_cost2 - 2.3 *
Log2Floor
(backward);
encode.cc
73
int nbits =
Log2Floor
(n);
156
int num_bits =
Log2Floor
(meta_block_size) + 1;
500
// simply
Log2Floor
(L) and the number of extra bits is the same as the prefix
515
int max_prefix = max_reps > 0 ?
Log2Floor
(max_reps) : 0;
530
int run_length_prefix =
Log2Floor
(reps);
[
all
...]
/external/chromium_org/net/disk_cache/blockfile/
index_table_v3.cc
465
DCHECK_EQ(base::bits::
Log2Floor
(header_->table_len),
466
base::bits::
Log2Floor
(backup_header_->table_len) + 1);
488
extra_bits_ = base::bits::
Log2Floor
(header_->table_len) -
489
base::bits::
Log2Floor
(kBaseTableLen);
494
// kMaxAbsoluteExtraBits = base::bits::
Log2Floor
(max table len) -
495
// base::bits::
Log2Floor
(kBaseTableLen);
496
// = 22 - base::bits::
Log2Floor
(1024) = 22 - 10;
497
// kMaxExtraBitsSmallTable = base::bits::
Log2Floor
(max 16 bit table) - 10.
[
all
...]
/external/chromium_org/gpu/command_buffer/service/
texture_manager.cc
[
all
...]
Completed in 173 milliseconds