- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkServerMatch (0.17 sec)
-
src/net/http/server_test.go
{"/foo/../bar/./..//baz", "/baz"}, } { got := cleanPath(test.in) if got != test.want { t.Errorf("%s: got %q, want %q", test.in, got, test.want) } } } func BenchmarkServerMatch(b *testing.B) { fn := func(w ResponseWriter, r *Request) { fmt.Fprintf(w, "OK") } mux := NewServeMux() mux.HandleFunc("/", fn) mux.HandleFunc("/index", fn) mux.HandleFunc("/home", fn)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 13 13:54:22 UTC 2024 - 7.3K bytes - Viewed (0)