MCPcopy Create free account
hub / github.com/ElementsProject/elements / ParsedInternalKey

Class ParsedInternalKey

src/leveldb/db/dbformat.h:69–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67static const SequenceNumber kMaxSequenceNumber = ((0x1ull << 56) - 1);
68
69struct ParsedInternalKey {
70 Slice user_key;
71 SequenceNumber sequence;
72 ValueType type;
73
74 ParsedInternalKey() {} // Intentionally left uninitialized (for speed)
75 ParsedInternalKey(const Slice& u, const SequenceNumber& seq, ValueType t)
76 : user_key(u), sequence(seq), type(t) {}
77 std::string DebugString() const;
78};
79
80// Return the length of the encoding of "key".
81inline size_t InternalKeyEncodingLength(const ParsedInternalKey& key) {

Callers 3

InternalKeyMethod · 0.85
IKeyFunction · 0.85
SeekMethod · 0.85

Calls

no outgoing calls

Tested by 1

IKeyFunction · 0.68