Lines Matching refs:Stringer
110 type Stringer string type
112 func newStringer(s string) fmt.Stringer { return (*Stringer)(&s) }
113 func (s Stringer) String() string { return string(s) }
466 x: struct{ fmt.Stringer }{bytes.NewBufferString("hello")},
467 y: struct{ fmt.Stringer }{regexp.MustCompile("hello")},
468 …opts: []cmp.Option{cmp.Comparer(func(x, y fmt.Stringer) bool { return x.String() == y.String(…
473 x: struct{ fmt.Stringer }{bytes.NewBufferString("hello")},
474 y: struct{ fmt.Stringer }{regexp.MustCompile("hello2")},
475 …opts: []cmp.Option{cmp.Comparer(func(x, y fmt.Stringer) bool { return x.String() == y.String(…
486 x: new(fmt.Stringer),
553 x: map[*pb.Stringer]*pb.Stringer{{"hello"}: {"world"}},
554 y: map[*pb.Stringer]*pb.Stringer(nil),
559 x: []*pb.Stringer{{`multi\nline\nline\nline`}},
673 x: struct{ s fmt.Stringer }{new(bytes.Buffer)},
674 y: struct{ s fmt.Stringer }{nil},
676 cmp.AllowUnexported(struct{ s fmt.Stringer }{}),
894 x: struct{ X fmt.Stringer }{struct{ fmt.Stringer }{nil}},
895 y: struct{ X fmt.Stringer }{bytes.NewBuffer(nil)},
948 x: Stringer("hello"),
954 x: struct{ S fmt.Stringer }{Stringer("hello")},
955 y: struct{ S fmt.Stringer }{newStringer("hello")},
960 x: []fmt.Stringer{Stringer("hello")},
961 y: []fmt.Stringer{newStringer("hello")},
966 x: map[string]fmt.Stringer{"zero": Stringer("hello")},
967 y: map[string]fmt.Stringer{"zero": newStringer("hello")},
983 Stringer("hello"): "goodbye",
994 x: map[interface{}]string{Stringer("hello"): "goodbye"},
1153 x: []fmt.Stringer{
1157 y: []fmt.Stringer{
1161 …opts: []cmp.Option{cmp.Comparer(func(x, y fmt.Stringer) bool { return x.String() == y.String(…
2607 Args: &pb.MetaData{Stringer: pb.Stringer{X: "metadata"}},
2633 Args: &pb.MetaData{Stringer: pb.Stringer{X: "metadata"}},
2636 Args: &pb.MetaData{Stringer: pb.Stringer{X: "metadata"}},
2643 Args: &pb.MetaData{Stringer: pb.Stringer{X: "metadata"}},
2646 Args: &pb.MetaData{Stringer: pb.Stringer{X: "metadata"}},
2654 Args: &pb.MetaData{Stringer: pb.Stringer{X: "metadata"}},
2657 Args: &pb.MetaData{Stringer: pb.Stringer{X: "metadata2"}},
2721 {Stringer: pb.Stringer{X: "germ1"}},
2724 {Stringer: pb.Stringer{X: "germ2"}},
2725 {Stringer: pb.Stringer{X: "germ3"}},
2726 {Stringer: pb.Stringer{X: "germ4"}},
2730 13: {Stringer: pb.Stringer{X: "germ13"}},
2731 21: {Stringer: pb.Stringer{X: "germ21"}},
2736 2: ts.CreateDish(&pb.Dish{Stringer: pb.Stringer{X: "dish"}}, nil),
2826 d.Proto = pb.Dirt{Stringer: pb.Stringer{X: "proto"}}
2828 "harry": {Stringer: pb.Stringer{X: "potter"}},
2829 "albus": {Stringer: pb.Stringer{X: "dumbledore"}},
2860 d.Proto = pb.Dirt{Stringer: pb.Stringer{X: "blah"}}
2867 "harry": {Stringer: pb.Stringer{X: "otter"}},
2900 hq.SetMetaData(&pb.MetaData{Stringer: pb.Stringer{X: "metadata"}})