Searched refs:code (Results 1 – 7 of 7) sorted by relevance
55 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() function94 Status(Code code, const Slice& msg, const Slice& msg2);
19 Status::Status(Code code, const Slice& msg, const Slice& msg2) { in Status() argument20 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()
3 We'd love to accept your code patches! However, before we can take them, we11 * If you are an individual writing original source code and you're sure you22 2. Decide which code you want to submit. A submission should be a set of changes34 If your contribution contains code, please make sure that it follows
7 * Redistributions of source code must retain the above copyright
19 …s://github.com/google/leveldb/blob/master/doc/index.md) is online and bundled with the source code.
29 is formatted according to the code in `block_builder.cc`, and then
59 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 the436 // Use builtin bloom filter code after removing trailing spaces