Feathercoin  0.5.0
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Classes | Enumerations | Functions
leveldb::log Namespace Reference

Classes

class  LogTest
 
class  Reader
 
class  Writer
 

Enumerations

enum  RecordType {
  kZeroType = 0, kFullType = 1, kFirstType = 2, kMiddleType = 3,
  kLastType = 4
}
 

Functions

 TEST (LogTest, Empty)
 
 TEST (LogTest, ReadWrite)
 
 TEST (LogTest, ManyBlocks)
 
 TEST (LogTest, Fragmentation)
 
 TEST (LogTest, MarginalTrailer)
 
 TEST (LogTest, MarginalTrailer2)
 
 TEST (LogTest, ShortTrailer)
 
 TEST (LogTest, AlignedEof)
 
 TEST (LogTest, RandomRead)
 
 TEST (LogTest, ReadError)
 
 TEST (LogTest, BadRecordType)
 
 TEST (LogTest, TruncatedTrailingRecord)
 
 TEST (LogTest, BadLength)
 
 TEST (LogTest, ChecksumMismatch)
 
 TEST (LogTest, UnexpectedMiddleType)
 
 TEST (LogTest, UnexpectedLastType)
 
 TEST (LogTest, UnexpectedFullType)
 
 TEST (LogTest, UnexpectedFirstType)
 
 TEST (LogTest, ErrorJoinsRecords)
 
 TEST (LogTest, ReadStart)
 
 TEST (LogTest, ReadSecondOneOff)
 
 TEST (LogTest, ReadSecondTenThousand)
 
 TEST (LogTest, ReadSecondStart)
 
 TEST (LogTest, ReadThirdOneOff)
 
 TEST (LogTest, ReadThirdStart)
 
 TEST (LogTest, ReadFourthOneOff)
 
 TEST (LogTest, ReadFourthFirstBlockTrailer)
 
 TEST (LogTest, ReadFourthMiddleBlock)
 
 TEST (LogTest, ReadFourthLastBlock)
 
 TEST (LogTest, ReadFourthStart)
 
 TEST (LogTest, ReadEnd)
 
 TEST (LogTest, ReadPastEnd)
 

Enumeration Type Documentation

Enumerator
kZeroType 
kFullType 
kFirstType 
kMiddleType 
kLastType 

Definition at line 14 of file log_format.h.

Function Documentation

leveldb::log::TEST ( LogTest  ,
Empty   
)

Definition at line 238 of file log_test.cc.

leveldb::log::TEST ( LogTest  ,
ReadWrite   
)

Definition at line 242 of file log_test.cc.

leveldb::log::TEST ( LogTest  ,
ManyBlocks   
)

Definition at line 255 of file log_test.cc.

leveldb::log::TEST ( LogTest  ,
Fragmentation   
)

Definition at line 265 of file log_test.cc.

leveldb::log::TEST ( LogTest  ,
MarginalTrailer   
)

Definition at line 275 of file log_test.cc.

leveldb::log::TEST ( LogTest  ,
MarginalTrailer2   
)

Definition at line 288 of file log_test.cc.

leveldb::log::TEST ( LogTest  ,
ShortTrailer   
)

Definition at line 301 of file log_test.cc.

leveldb::log::TEST ( LogTest  ,
AlignedEof   
)

Definition at line 313 of file log_test.cc.

leveldb::log::TEST ( LogTest  ,
RandomRead   
)

Definition at line 321 of file log_test.cc.

leveldb::log::TEST ( LogTest  ,
ReadError   
)

Definition at line 336 of file log_test.cc.

leveldb::log::TEST ( LogTest  ,
BadRecordType   
)

Definition at line 344 of file log_test.cc.

leveldb::log::TEST ( LogTest  ,
TruncatedTrailingRecord   
)

Definition at line 354 of file log_test.cc.

leveldb::log::TEST ( LogTest  ,
BadLength   
)

Definition at line 362 of file log_test.cc.

leveldb::log::TEST ( LogTest  ,
ChecksumMismatch   
)

Definition at line 370 of file log_test.cc.

leveldb::log::TEST ( LogTest  ,
UnexpectedMiddleType   
)

Definition at line 378 of file log_test.cc.

leveldb::log::TEST ( LogTest  ,
UnexpectedLastType   
)

Definition at line 387 of file log_test.cc.

leveldb::log::TEST ( LogTest  ,
UnexpectedFullType   
)

Definition at line 396 of file log_test.cc.

leveldb::log::TEST ( LogTest  ,
UnexpectedFirstType   
)

Definition at line 407 of file log_test.cc.

leveldb::log::TEST ( LogTest  ,
ErrorJoinsRecords   
)

Definition at line 418 of file log_test.cc.

leveldb::log::TEST ( LogTest  ,
ReadStart   
)

Definition at line 441 of file log_test.cc.

leveldb::log::TEST ( LogTest  ,
ReadSecondOneOff   
)

Definition at line 445 of file log_test.cc.

leveldb::log::TEST ( LogTest  ,
ReadSecondTenThousand   
)

Definition at line 449 of file log_test.cc.

leveldb::log::TEST ( LogTest  ,
ReadSecondStart   
)

Definition at line 453 of file log_test.cc.

leveldb::log::TEST ( LogTest  ,
ReadThirdOneOff   
)

Definition at line 457 of file log_test.cc.

leveldb::log::TEST ( LogTest  ,
ReadThirdStart   
)

Definition at line 461 of file log_test.cc.

leveldb::log::TEST ( LogTest  ,
ReadFourthOneOff   
)

Definition at line 465 of file log_test.cc.

leveldb::log::TEST ( LogTest  ,
ReadFourthFirstBlockTrailer   
)

Definition at line 469 of file log_test.cc.

leveldb::log::TEST ( LogTest  ,
ReadFourthMiddleBlock   
)

Definition at line 473 of file log_test.cc.

leveldb::log::TEST ( LogTest  ,
ReadFourthLastBlock   
)

Definition at line 477 of file log_test.cc.

leveldb::log::TEST ( LogTest  ,
ReadFourthStart   
)

Definition at line 481 of file log_test.cc.

leveldb::log::TEST ( LogTest  ,
ReadEnd   
)

Definition at line 487 of file log_test.cc.

leveldb::log::TEST ( LogTest  ,
ReadPastEnd   
)

Definition at line 491 of file log_test.cc.