Home
last modified time | relevance | path

Searched refs:EditScript (Results 1 – 3 of 3) sorted by relevance

/external/syzkaller/vendor/github.com/google/go-cmp/cmp/internal/diff/
Ddiff.go30 type EditScript []EditType type
35 func (es EditScript) String() string {
55 func (es EditScript) stats() (s struct{ NI, NX, NY, NM int }) {
75 func (es EditScript) Dist() int { return len(es) - es.stats().NI }
78 func (es EditScript) LenX() int { return len(es) - es.stats().NY }
81 func (es EditScript) LenY() int { return len(es) - es.stats().NX }
120 func Difference(nx, ny int, f EqualFunc) (eq bool, es EditScript) {
130 func searchGraph(nx, ny int, f EqualFunc) EditScript {
171 fwdPath := path{+1, point{0, 0}, make(EditScript, 0, (nx+ny)/2)}
172 revPath := path{-1, point{nx, ny}, make(EditScript, 0)}
[all …]
Ddebug_enable.go65 p1, p2 EditScript
66 fwdPath, revPath *EditScript
71 func (dbg *debugger) Begin(nx, ny int, f EqualFunc, p1, p2 *EditScript) EqualFunc {
Ddebug_disable.go13 func (debugger) Begin(_, _ int, f EqualFunc, _, _ *EditScript) EqualFunc {