#include "db/dbformat.h"
#include <cstdio>
#include <sstream>
#include "port/port.h"
#include "util/coding.h"
namespace leveldb {
static uint64_t PackSequenceAndType(uint64_t seq, ValueType t) { … }
void AppendInternalKey(std::string* result, const ParsedInternalKey& key) { … }
std::string ParsedInternalKey::DebugString() const { … }
std::string InternalKey::DebugString() const { … }
const char* InternalKeyComparator::Name() const { … }
int InternalKeyComparator::Compare(const Slice& akey, const Slice& bkey) const { … }
void InternalKeyComparator::FindShortestSeparator(std::string* start,
const Slice& limit) const { … }
void InternalKeyComparator::FindShortSuccessor(std::string* key) const { … }
const char* InternalFilterPolicy::Name() const { … }
void InternalFilterPolicy::CreateFilter(const Slice* keys, int n,
std::string* dst) const { … }
bool InternalFilterPolicy::KeyMayMatch(const Slice& key, const Slice& f) const { … }
LookupKey::LookupKey(const Slice& user_key, SequenceNumber s) { … }
}