Definition at line 39 of file log_test.cc.
leveldb::log::LogTest::LogTest |
( |
| ) |
|
|
inline |
void leveldb::log::LogTest::CheckInitialOffsetRecord |
( |
uint64_t |
initial_offset, |
|
|
int |
expected_record_offset |
|
) |
| |
|
inline |
void leveldb::log::LogTest::CheckOffsetPastEndReturnsNoRecords |
( |
uint64_t |
offset_past_end | ) |
|
|
inline |
size_t leveldb::log::LogTest::DroppedBytes |
( |
| ) |
const |
|
inline |
void leveldb::log::LogTest::FixChecksum |
( |
int |
header_offset, |
|
|
int |
len |
|
) |
| |
|
inline |
void leveldb::log::LogTest::ForceError |
( |
| ) |
|
|
inline |
void leveldb::log::LogTest::IncrementByte |
( |
int |
offset, |
|
|
int |
delta |
|
) |
| |
|
inline |
std::string leveldb::log::LogTest::MatchError |
( |
const std::string & |
msg | ) |
const |
|
inline |
std::string leveldb::log::LogTest::Read |
( |
| ) |
|
|
inline |
std::string leveldb::log::LogTest::ReportMessage |
( |
| ) |
const |
|
inline |
void leveldb::log::LogTest::SetByte |
( |
int |
offset, |
|
|
char |
new_byte |
|
) |
| |
|
inline |
void leveldb::log::LogTest::ShrinkSize |
( |
int |
bytes | ) |
|
|
inline |
void leveldb::log::LogTest::Write |
( |
const std::string & |
msg | ) |
|
|
inline |
void leveldb::log::LogTest::WriteInitialOffsetLog |
( |
| ) |
|
|
inline |
size_t leveldb::log::LogTest::WrittenBytes |
( |
| ) |
const |
|
inline |
uint64_t leveldb::log::LogTest::initial_offset_last_record_offsets_ |
|
staticprivate |
Initial value:=
{0,
kHeaderSize + 10000,
2 * (kHeaderSize + 10000),
2 * (kHeaderSize + 10000) +
(2 * log::kBlockSize - 1000) + 3 * kHeaderSize}
Definition at line 112 of file log_test.cc.
size_t leveldb::log::LogTest::initial_offset_record_sizes_ |
|
staticprivate |
Initial value:=
{10000,
10000,
2 * log::kBlockSize - 1000,
1}
Definition at line 111 of file log_test.cc.
Reader leveldb::log::LogTest::reader_ |
|
private |
bool leveldb::log::LogTest::reading_ |
|
private |
Writer leveldb::log::LogTest::writer_ |
|
private |
The documentation for this class was generated from the following file: