OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:kSize2
(Results
1 - 2
of
2
) sorted by null
/external/chromium/net/disk_cache/
bitmap_unittest.cc
70
const int
kSize2
= 100;
78
map.Resize(
kSize2
, true);
81
EXPECT_FALSE(map.Get(
kSize2
- 1));
82
EXPECT_EQ(
kSize2
, map.Size());
entry_unittest.cc
89
const int
kSize2
= 5000;
91
scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(
kSize2
));
94
CacheTestFillBuffer(buffer2->data(),
kSize2
, false);
95
base::strlcpy(buffer2->data(), "The really big data goes here",
kSize2
);
96
EXPECT_EQ(5000, entry->WriteData(1, 1500, buffer2,
kSize2
, NULL, false));
97
memset(buffer2->data(), 0,
kSize2
);
98
EXPECT_EQ(4989, entry->ReadData(1, 1511, buffer2,
kSize2
, NULL));
100
EXPECT_EQ(5000, entry->ReadData(1, 0, buffer2,
kSize2
, NULL));
102
EXPECT_EQ(1500, entry->ReadData(1, 5000, buffer2,
kSize2
, NULL));
104
EXPECT_EQ(0, entry->ReadData(1, 6500, buffer2,
kSize2
, NULL))
[
all
...]
Completed in 1069 milliseconds