Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for notFound (0.63 sec)

  1. src/net/http/server.go

    	fmt.Fprintln(w, error)
    }
    
    // NotFound replies to the request with an HTTP 404 not found error.
    func NotFound(w ResponseWriter, r *Request) { Error(w, "404 page not found", StatusNotFound) }
    
    // NotFoundHandler returns a simple request handler
    // that replies to each request with a “404 page not found” reply.
    func NotFoundHandler() Handler { return HandlerFunc(NotFound) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	table := map[string]struct {
    		in      *example.PodList
    		m       storage.SelectionPredicate
    		out     runtime.Object
    		context context.Context
    	}{
    		"notFound": {
    			in:  nil,
    			m:   matchEverything(),
    			out: &example.PodList{Items: []example.Pod{}},
    		},
    		"normal": {
    			in:  &example.PodList{Items: []example.Pod{*podA, *podB}},
    			m:   matchEverything(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  3. src/net/http/serve_test.go

    		testenv.SkipFlaky(t, 24826)
    	}
    
    	goroutines := 5
    	requests := 2000
    	if testing.Short() {
    		goroutines = 3
    		requests = 100
    	}
    
    	hts := newClientServerTest(t, mode, HandlerFunc(NotFound)).ts
    
    	reqBytes := []byte("GET / HTTP/1.1\r\nHost: e.com\r\n\r\n")
    
    	var wg sync.WaitGroup
    	for i := 0; i < goroutines; i++ {
    		wg.Add(1)
    		go func() {
    			defer wg.Done()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  4. pkg/config/validation/validation.go

    	if !found {
    		return fmt.Errorf("gRPC status %q is not supported. See https://github.com/grpc/grpc/blob/master/doc/statuscodes.md "+
    			"for a list of supported codes, for example 'NOT_FOUND'", status)
    	}
    	return nil
    }
    
    func validateHTTPFaultInjectionDelay(delay *networking.HTTPFaultInjection_Delay) (errs error) {
    	if delay == nil {
    		return
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
Back to top