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
2aa11235
ROOT
/
go
/
store
/
types
/
parallel_ref_walker.go
Search
History
177 lines
|
ISO-8859-1
|
4 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
parallelRefWalkerWork
vals
:
ValueSlice
res
:
chan []hash.Hash
parallelRefWalker
ctx
:
context.Context
eg
:
*errgroup.Group
concurrency
:
int
nbf
:
*NomsBinFormat
work
:
chan parallelRefWalkerWork
newParallelRefWalker
(ctx context.Context, nbf *NomsBinFormat, concurrency int)
:
*parallelRefWalker
*parallelRefWalker
goWork
()
:
error
sendWork
(work parallelRefWalkerWork)
:
error
sendAllWork
(vals ValueSlice)
:
(int, chan []hash.Hash, error)
GetRefs
(visited hash.HashSet, vals ValueSlice)
:
([]hash.Hash, error)
GetRefSet
(visited hash.HashSet, vals ValueSlice)
:
(hash.HashSet, error)
Close
()
:
error
All occurrences
Please wait...
Page is in error, reload to recover