Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 812 for Req (0.08 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/get.go

    		namespace, name, err := scope.Namer.Name(req)
    		if err != nil {
    			scope.err(err, w, req)
    			return
    		}
    		ctx = request.WithNamespace(ctx, namespace)
    
    		outputMediaType, _, err := negotiation.NegotiateOutputMediaType(req, scope.Serializer, scope)
    		if err != nil {
    			scope.err(err, w, req)
    			return
    		}
    
    		result, err := getter(ctx, name, req)
    		if err != nil {
    			scope.err(err, w, req)
    			return
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 10:22:16 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    				st.MakePod().Name("p").UID("p").Priority(highPriority).Req(largeRes).Obj(),
    			},
    			initPods: []*v1.Pod{
    				st.MakePod().Name("p1.1").UID("p1.1").Node("node1").Priority(lowPriority).Req(smallRes).Obj(),
    				st.MakePod().Name("p1.2").UID("p1.2").Node("node1").Priority(midPriority).Req(largeRes).Obj(),
    				st.MakePod().Name("p2").UID("p2").Node("node2").Priority(midPriority).Req(largeRes).Obj(),
    			},
    			expected: [][]candidate{
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  3. pkg/volume/csi/fake/fake_client.go

    		DeviceMountPath: req.GetStagingTargetPath(),
    		VolumeContext:   req.GetVolumeContext(),
    	}
    	if req.GetVolumeCapability().GetMount() != nil {
    		publishedVolume.FSType = req.GetVolumeCapability().GetMount().FsType
    		publishedVolume.MountFlags = req.GetVolumeCapability().GetMount().MountFlags
    		publishedVolume.VolumeMountGroup = req.GetVolumeCapability().GetMount().VolumeMountGroup
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 16K bytes
    - Viewed (0)
  4. src/net/http/transport_internal_test.go

    		c, err := ln.Accept()
    		if err != nil {
    			t.Error(err)
    			return
    		}
    		connc <- c
    	}()
    
    	tr := new(Transport)
    	req, _ := NewRequest("GET", "http://"+ln.Addr().String(), nil)
    	req = req.WithT(t)
    	ctx, cancel := context.WithCancelCause(context.Background())
    	treq := &transportRequest{Request: req, ctx: ctx, cancel: cancel}
    	cm := connectMethod{targetScheme: "http", targetAddr: ln.Addr().String()}
    	pc, err := tr.getConn(treq, cm)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:57:17 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/filters/authentication.go

    	}
    	return http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
    		authenticationStart := time.Now()
    
    		if len(apiAuds) > 0 {
    			req = req.WithContext(authenticator.WithAudiences(req.Context(), apiAuds))
    		}
    		resp, ok, err := auth.AuthenticateRequest(req)
    		authenticationFinish := time.Now()
    		defer func() {
    			metrics(req.Context(), resp, ok, err, apiAuds, authenticationStart, authenticationFinish)
    		}()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 20:54:07 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  6. internal/grid/handlers.go

    // The request may be reused, so caller should clear any fields.
    func (h *SingleHandler[Req, Resp]) NewRequest() Req {
    	return h.newReq()
    }
    
    // Register a handler for a Req -> Resp roundtrip.
    // Requests are automatically recycled.
    func (h *SingleHandler[Req, Resp]) Register(m *Manager, handle func(req Req) (resp Resp, err *RemoteErr), subroute ...string) error {
    	if h.newReq == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  7. src/net/http/httputil/dump.go

    	reqURI := req.RequestURI
    	if reqURI == "" {
    		reqURI = req.URL.RequestURI()
    	}
    
    	fmt.Fprintf(&b, "%s %s HTTP/%d.%d\r\n", valueOrDefault(req.Method, "GET"),
    		reqURI, req.ProtoMajor, req.ProtoMinor)
    
    	absRequestURI := strings.HasPrefix(req.RequestURI, "http://") || strings.HasPrefix(req.RequestURI, "https://")
    	if !absRequestURI {
    		host := req.Host
    		if host == "" && req.URL != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/fifo_list_test.go

    )
    
    func TestFIFOWithEnqueueDequeueSingleRequest(t *testing.T) {
    	req := &request{}
    
    	list := newRequestFIFO()
    	list.Enqueue(req)
    
    	reqGot, ok := list.Dequeue()
    	if !ok {
    		t.Errorf("Expected true, but got: %t", ok)
    	}
    	if req != reqGot {
    		t.Errorf("Expected dequued request: (%p), but got: (%p)", req, reqGot)
    	}
    	if list.Length() != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 28 08:48:40 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/WebApiUtil.java

        }
    
        public static void setError(final int statusCode, final Exception e) {
            LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(WEB_API_EXCEPTION, new WebApiException(statusCode, e)));
        }
    
        public static void validate() {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ioctl_signed.go

    func IoctlGetInt(fd int, req int) (int, error) {
    	var value int
    	err := ioctlPtr(fd, req, unsafe.Pointer(&value))
    	return value, err
    }
    
    func IoctlGetWinsize(fd int, req int) (*Winsize, error) {
    	var value Winsize
    	err := ioctlPtr(fd, req, unsafe.Pointer(&value))
    	return &value, err
    }
    
    func IoctlGetTermios(fd int, req int) (*Termios, error) {
    	var value Termios
    	err := ioctlPtr(fd, req, unsafe.Pointer(&value))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top