Lines Matching refs:cp
60 msgs: func(cp *testCriticalPath) {},
64 msgs: func(cp *testCriticalPath) {
65 cp.start(0, 0, []string{"a"}, nil)
66 cp.start(1, 0, []string{"a"}, nil)
67 cp.finish(0, 1000)
68 cp.finish(0, 2000)
80 msgs: func(cp *testCriticalPath) {
81 cp.start(0, 0, []string{"a"}, nil)
82 cp.finish(0, 1000)
83 cp.start(1, 1000, []string{"b"}, []string{"a"})
84 cp.finish(1, 2000)
85 cp.start(2, 3000, []string{"c"}, []string{"b"})
86 cp.finish(2, 4000)
98 msgs: func(cp *testCriticalPath) {
99 cp.start(0, 0, []string{"a"}, nil)
100 cp.finish(0, 1000)
101 cp.start(1, 1000, []string{"b"}, []string{"a"})
102 cp.start(2, 1000, []string{"c"}, []string{"a"})
103 cp.finish(1, 2000)
104 cp.finish(2, 3000)
105 cp.start(3, 3000, []string{"d"}, []string{"b", "c"})
106 cp.finish(3, 4000)
118 msgs: func(cp *testCriticalPath) {
119 cp.start(0, 0, []string{"a"}, nil)
120 cp.start(3, 0, []string{"d"}, nil)
121 cp.finish(0, 1000)
122 cp.finish(3, 1000)
123 cp.start(1, 1000, []string{"b"}, []string{"a"})
124 cp.start(4, 1000, []string{"e"}, []string{"d"})
125 cp.finish(1, 2000)
126 cp.start(2, 2000, []string{"c"}, []string{"b"})
127 cp.finish(2, 3000)
128 cp.finish(4, 4000)
137 cp := &testCriticalPath{
142 tt.msgs(cp)
144 criticalPath, _, _ := cp.CriticalPath.criticalPath()