Home
last modified time | relevance | path

Searched refs:code (Results 1 – 7 of 7) sorted by relevance

/leveldb-1.20/include/leveldb/
H A Dstatus.h55 bool IsNotFound() const { return code() == kNotFound; } in IsNotFound()
58 bool IsCorruption() const { return code() == kCorruption; } in IsCorruption()
61 bool IsIOError() const { return code() == kIOError; } in IsIOError()
64 bool IsNotSupportedError() const { return code() == kNotSupported; } in IsNotSupportedError()
67 bool IsInvalidArgument() const { return code() == kInvalidArgument; } in IsInvalidArgument()
90 Code code() const { in code() function
94 Status(Code code, const Slice& msg, const Slice& msg2);
/leveldb-1.20/util/
H A Dstatus.cc19 Status::Status(Code code, const Slice& msg, const Slice& msg2) { in Status() argument
20 assert(code != kOk); in Status()
26 result[4] = static_cast<char>(code); in Status()
42 switch (code()) { in ToString()
63 static_cast<int>(code())); in ToString()
/leveldb-1.20/
H A DCONTRIBUTING.md3 We'd love to accept your code patches! However, before we can take them, we
11 * If you are an individual writing original source code and you're sure you
22 2. Decide which code you want to submit. A submission should be a set of changes
34 If your contribution contains code, please make sure that it follows
H A DLICENSE7 * Redistributions of source code must retain the above copyright
H A DREADME.md19 …s://github.com/google/leveldb/blob/master/doc/index.md) is online and bundled with the source code.
/leveldb-1.20/doc/
H A Dtable_format.md29 is formatted according to the code in `block_builder.cc`, and then
H A Dindex.md59 For example, the following code moves the value stored under key1 to key2.
408 The preceding code associates a Bloom filter based filtering policy with the
436 // Use builtin bloom filter code after removing trailing spaces