- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkURLEscaper (0.24 sec)
-
src/html/template/url_test.go
if got := srcsetFilterAndEscaper(test.input); got != test.want { t.Errorf("%s: srcsetFilterAndEscaper(%q) want %q != %q", test.name, test.input, test.want, got) } } } func BenchmarkURLEscaper(b *testing.B) { for i := 0; i < b.N; i++ { urlEscaper("http://example.com:80/foo?q=bar%20&baz=x+y#frag") } } func BenchmarkURLEscaperNoSpecials(b *testing.B) { for i := 0; i < b.N; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 3.9K bytes - Viewed (0)