Source File
work.go
Belonging Package
github.com/pancsta/d2/d2layouts/d2talalayout/internal/layoutgraph
package layoutgraphimportconst (// Keep the established engine-local names while the surrounding layout// domains migrate independently. The values and their implementation now// have one cycle-free owner.maxEngineNodes = limits.MaxEngineNodesmaxEngineEdges = limits.MaxEngineEdgesmaxEngineWorkUnits = limits.MaxEngineWorkUnitsmaxTransactionWorkUnits = limits.MaxTransactionWorkUnitsmaxTransactionOverlapReferences = limits.MaxTransactionOverlapReferencesmaxBinPackWorkUnits = limits.MaxBinPackWorkUnitsmaxGraphSize = limits.MaxGraphSizemaxCompactionCandidateCount = limits.MaxGraphSize + 3)// workStepper is the narrow accounting contract used by graph traversals.// Concrete operation budgets use limits.WorkGuard directly; tests and sibling// domains may provide another implementation without an adapter.type workStepper interface {Step() errorFinish() error}type unboundedWorkStepper struct{}func (*unboundedWorkStepper) () error { return nil }func (*unboundedWorkStepper) () error { return nil }var unboundedWork = &unboundedWorkStepper{}
![]() |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |