crash.software
Projects
Pull Requests
Issues
Builds
dolt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dolt
Files
🤬
Sign In
0324e075
ROOT
/
go
/
store
/
types
/
apply_map_edits.go
Search
History
429 lines
|
ISO-8859-1
|
10 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
EditProvider
Next
()
:
(*KVP, error)
ReachedEOF
()
:
bool
Close
(ctx context.Context)
:
error
EmptyEditProvider
Next
()
:
(*KVP, error)
ReachedEOF
()
:
bool
Close
(ctx context.Context)
:
error
mapWork
resChan
:
chan mapWorkResult
kvps
:
[]*KVP
mapWorkResult
seqCurs
:
[]*sequenceCursor
cursorEntries
:
[][]mapEntry
workerCount
batchSizeStart
batchMult
batchSizeMax
AppliedEditStats
Additions
:
int64
Modifications
:
int64
SameVal
:
int64
Deletions
:
int64
NonExistentDeletes
:
int64
Add
(other AppliedEditStats)
:
AppliedEditStats
ApplyEdits
(ctx context.Context, edits EditProvider, m Map)
:
(Map, AppliedEditStats, error)
ApplyNEdits
(ctx context.Context, edits EditProvider, m Map, numEdits int64)
:
(Map, AppliedEditStats, error)
prepWorker
(ctx context.Context, ae *atomicerr.AtomicError, seq orderedSequence, wc chan mapWork)
doWork
(ctx context.Context, seq orderedSequence, work mapWork)
:
(mapWorkResult, error)
buildBatches
(nbf *NomsBinFormat, ae *atomicerr.AtomicError, rc chan chan mapWorkResult, wc chan mapWork, edits EditProvider, numEdits int64)
appendToWRes
(ctx context.Context, wRes *mapWorkResult, cur *sequenceCursor, key Value, val Valuable)
:
error
newMapLeafChunkerFromCursor
(ctx context.Context, cur *sequenceCursor, vrw ValueReadWriter)
:
(*sequenceChunker, error)
All occurrences
Please wait...
Page is in error, reload to recover