- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for differentImpl (0.04 sec)
-
src/bytes/bytes_test.go
} func FuzzReplace(f *testing.F) { for _, tt := range ReplaceTests { f.Add([]byte(tt.in), []byte(tt.old), []byte(tt.new), tt.n) } f.Fuzz(func(t *testing.T, in, old, new []byte, n int) { differentImpl := func(in, old, new []byte, n int) []byte { var out Buffer if n < 0 { n = math.MaxInt } for i := 0; i < len(in); { if n == 0 { out.Write(in[i:]) break }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Jul 28 18:13:58 UTC 2025 - 62.9K bytes - Viewed (0)