Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for notFound (0.85 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. staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go

    // not implement a given method, that it is literally not registered
    // with the server. We need to have at least one verb supported inorder
    // to get a MethodNotAllowed rather than NotFound error.
    func TestSomeUnimplementedRESTStorage(t *testing.T) {
    	type T struct {
    		Method  string
    		Path    string
    		ErrCode int
    	}
    
    	cases := map[string]T{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:15:22 UTC 2023
    - 158.7K bytes
    - Viewed (0)
  4. 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)
  5. pkg/scheduler/schedule_one_test.go

    			}
    
    			// Checking extenders binding.
    			for i, ext := range test.extenders {
    				wantBound := i == test.wantBinderID
    				if gotBound := ext.(*fakeExtender).gotBind; gotBound != wantBound {
    					t.Errorf("got bound with extender #%d: %v, want %v", i, gotBound, wantBound)
    				}
    			}
    
    		})
    	}
    }
    
    func TestUpdatePod(t *testing.T) {
    	tests := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  6. src/main/webapp/js/admin/popper.min.js.map

    sameWidthParity = referenceWidth % 2 === popperWidth % 2;\n  const bothOddWidth = referenceWidth % 2 === 1 && popperWidth % 2 === 1;\n\n  const horizontalToInteger = !shouldRound\n    ? noRound\n    : isVertical || isVariation || sameWidthParity\n    ? round\n    : floor;\n  const verticalToInteger = !shouldRound ? noRound : round;\n\n  return {\n    left: horizontalToInteger(\n      bothOddWidth && !isVariation && shouldRound\n        ? popper.left - 1\n        : popper.left\n    ),\n    top: vertic...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 07 10:28:50 UTC 2020
    - 121K bytes
    - Viewed (0)
  7. 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