Home | History | Annotate | Download | only in json

Lines Matching refs:buf2

57 	buf2 := make([]byte, 0, bufSize)
100 buf2 := append(buf2[:0], 'x')
102 buf2 = buf2[:1+utf8.EncodeRune(buf2[1:bufSize], r2)]
104 buf2 = append(buf2, 'x')
105 want := bytes.EqualFold(buf1, buf2)
106 if got := ff.fold(buf1, buf2); got != want {
107 t.Errorf("%s(%q, %q) = %v; want %v", ff.name, buf1, buf2, got, want)