Lines Matching refs:b
27 b := NewDepSetBuilder(POSTORDER).Direct(PathForTesting("b")).Transitive(a).Build()
29 d := NewDepSetBuilder(POSTORDER).Direct(PathForTesting("d")).Transitive(b, c).Build()
37 b := NewDepSetBuilder(PREORDER).Direct(PathForTesting("b")).Transitive(a).Build()
39 d := NewDepSetBuilder(PREORDER).Direct(PathForTesting("d")).Transitive(b, c).Build()
47 b := NewDepSetBuilder(TOPOLOGICAL).Direct(PathForTesting("b")).Transitive(a).Build()
49 d := NewDepSetBuilder(TOPOLOGICAL).Direct(PathForTesting("d")).Transitive(b, c).Build()
57 b := NewDepSetBuilder(POSTORDER).Direct(PathForTesting("b")).Transitive(a).Build()
59 d := NewDepSetBuilder(POSTORDER).Direct(PathForTesting("d")).Transitive(b, c).Build()
69 b := PathForTesting("b")
83 return NewDepSet(order, Paths{c, a, b}, nil)
92 return NewDepSet(order, Paths{c, a, a, a, b}, nil)
102 return NewDepSet(order, Paths{b, d}, []*DepSet{subset})
120 builder.Direct(b)
121 assertEquals(t, Paths{b}, builder.Build().ToList())
124 assertEquals(t, Paths{b, d}, builder.Build().ToList())
137 return NewDepSetBuilder(order).Direct(b).Direct(d).
151 builder.Direct(b)
164 return NewDepSetBuilder(order).Direct(b, d, e).Transitive(subset).Build()
174 b := NewDepSetBuilder(order).Direct(b).Transitive(c).Build()
175 a := NewDepSetBuilder(order).Direct(a).Transitive(b).Build()
188 b := NewDepSetBuilder(order).Direct(b).Transitive(d).Build()
189 a := NewDepSetBuilder(order).Direct(a).Transitive(b).Transitive(c).Build()
202 b := NewDepSetBuilder(order).Direct(b).Transitive(d).Transitive(e).Build()
204 a := NewDepSetBuilder(order).Direct(a).Transitive(b).Transitive(c).Build()
216 b := NewDepSetBuilder(order).Direct(b).Transitive(d).Transitive(e).Build()
219 a := NewDepSetBuilder(order).Direct(a).Transitive(b).Transitive(c).Build()
229 child1 := NewDepSetBuilder(order).Direct(a, b).Build()
230 child2 := NewDepSetBuilder(order).Direct(b, a).Build()
242 b := NewDepSetBuilder(order).Direct(b).Build()
243 child1 := NewDepSetBuilder(order).Transitive(a).Transitive(b).Build()
244 child2 := NewDepSetBuilder(order).Transitive(b).Transitive(a).Build()
334 func Benchmark_firstUnique(b *testing.B) {
368 f := func(b *testing.B, imp func([]string) []string, s []string) {
369 for i := 0; i < b.N; i++ {
370 b.ReportAllocs()
377 b.Run(strconv.Itoa(n), func(b *testing.B) {
379 b.Run(implementation.name, func(b *testing.B) {
380 b.Run("same", func(b *testing.B) {
381 f(b, implementation.f, sameString[:n])
383 b.Run("unique", func(b *testing.B) {
384 f(b, implementation.f, uniqueStrings[:n])