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

Method Put

src/leveldb/db/c.cc:349–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347 void (*put_)(void*, const char* k, size_t klen, const char* v, size_t vlen);
348 void (*deleted_)(void*, const char* k, size_t klen);
349 void Put(const Slice& key, const Slice& value) override {
350 (*put_)(state_, key.data(), key.size(), value.data(), value.size());
351 }
352 void Delete(const Slice& key) override {
353 (*deleted_)(state_, key.data(), key.size());
354 }

Callers 15

WriteMethod · 0.45
TESTFunction · 0.45
FinishImplMethod · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
DoWriteMethod · 0.45
ReadWhileWritingMethod · 0.45
BuildMethod · 0.45
TESTFunction · 0.45
TESTFunction · 0.45

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by 11

TESTFunction · 0.36
FinishImplMethod · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
BuildMethod · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
DoReadsMethod · 0.36
BuildMethod · 0.36