OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:local_map
(Results
1 - 1
of
1
) sorted by null
/external/chromium_org/net/disk_cache/blockfile/
bitmap_unittest.cc
92
char
local_map
[kMapSize];
local
94
local_map
[i] = static_cast<char>(i);
97
bitmap.SetMap(reinterpret_cast<uint32*>(
local_map
), kMapSize / 4);
105
EXPECT_EQ(0, memcmp(
local_map
, bitmap.GetMap(), kMapSize));
107
// Now let's create a bitmap that shares
local_map
as storage.
108
disk_cache::Bitmap bitmap2(reinterpret_cast<uint32*>(
local_map
),
110
EXPECT_EQ(0, memcmp(
local_map
, bitmap2.GetMap(), kMapSize));
112
local_map
[kMapSize / 2] = 'a';
113
EXPECT_EQ(0, memcmp(
local_map
, bitmap2.GetMap(), kMapSize));
114
EXPECT_NE(0, memcmp(
local_map
, bitmap.GetMap(), kMapSize))
[
all
...]
Completed in 110 milliseconds