MCPcopy Create free account
hub / github.com/apache/kvrocks / PutSizedString

Function PutSizedString

src/common/encoding.h:105–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103inline bool GetFixed64(rocksdb::Slice *input, uint64_t *value) { return GetFixed(input, value); }
104
105inline void PutSizedString(std::string *dst, rocksdb::Slice value) {
106 PutFixed32(dst, value.size());
107 dst->append(value.ToStringView());
108}
109
110inline bool GetSizedString(rocksdb::Slice *input, rocksdb::Slice *value) {
111 uint32_t size = 0;

Callers 10

TagValuesMethod · 0.85
PutIndexMethod · 0.85
PutHnswLevelPrefixMethod · 0.85
ConstructFieldMetaMethod · 0.85
ConstructTagFieldDataMethod · 0.85
ConstructHnswNodeMethod · 0.85
ConstructHnswEdgeMethod · 0.85
EncodeMethod · 0.85

Calls 1

PutFixed32Function · 0.85

Tested by

no test coverage detected