MCPcopy Create free account
hub / github.com/nutsdb/nutsdb / WithValue

Method WithValue

internal/core/entry.go:237–240  ·  view source on GitHub ↗

WithValue set value to Entry

(value []byte)

Source from the content-addressed store, hash-verified

235
236// WithValue set value to Entry
237func (e *Entry) WithValue(value []byte) *Entry {
238 e.Value = value
239 return e
240}
241
242// WithMeta set Meta to Entry
243func (e *Entry) WithMeta(meta *MetaData) *Entry {

Callers 15

loadHintFileMethod · 0.95
Test_readEntryFunction · 0.45
putMethod · 0.45
Test_EntryCreationFunction · 0.45
Test_EntryMostFunctionsFunction · 0.45
runBTreeTestFunction · 0.45
TestBTree_AllFunction · 0.45
TestBTree_RangeFunction · 0.45
TestBTree_UpdateFunction · 0.45
createTestRecordFunction · 0.45

Calls

no outgoing calls

Tested by 14

Test_readEntryFunction · 0.36
Test_EntryCreationFunction · 0.36
Test_EntryMostFunctionsFunction · 0.36
runBTreeTestFunction · 0.36
TestBTree_AllFunction · 0.36
TestBTree_RangeFunction · 0.36
TestBTree_UpdateFunction · 0.36
createTestRecordFunction · 0.36
TestBTreeScanner_MatchFunction · 0.36
TestBTreeScanner_WhereFunction · 0.36