MCPcopy Create free account
hub / github.com/dgraph-io/dgraph / newMutableLayer

Function newMutableLayer

posting/list.go:109–120  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107}
108
109func newMutableLayer() *MutableLayer {
110 return &MutableLayer{
111 committedEntries: make(map[uint64]*pb.PostingList),
112 readTs: 0,
113 deleteAllMarker: math.MaxUint64,
114 length: math.MaxInt,
115 committedUids: make(map[uint64]*pb.Posting),
116 committedUidsTime: math.MaxUint64,
117 isUidsCalculated: false,
118 calculatedUids: []uint64{},
119 }
120}
121
122func (mm *MutableLayer) setTs(readTs uint64) {
123 if mm == nil {

Callers 11

RunWithoutTempMethod · 0.85
TestMutableMapFunction · 0.85
BenchmarkPostingListFunction · 0.85
Test21MillionDataSetFunction · 0.85
getInternalMethod · 0.85
ReadPostingListFunction · 0.85
NewListFunction · 0.85
updateMutationLayerMethod · 0.85
setMutationMethod · 0.85

Calls

no outgoing calls

Tested by 4

TestMutableMapFunction · 0.68
BenchmarkPostingListFunction · 0.68
Test21MillionDataSetFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…