Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 650 for Req (0.02 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/cmd/vendor/golang.org/x/sys/unix/ioctl_unsigned.go

    func IoctlGetInt(fd int, req uint) (int, error) {
    	var value int
    	err := ioctlPtr(fd, req, unsafe.Pointer(&value))
    	return value, err
    }
    
    func IoctlGetWinsize(fd int, req uint) (*Winsize, error) {
    	var value Winsize
    	err := ioctlPtr(fd, req, unsafe.Pointer(&value))
    	return &value, err
    }
    
    func IoctlGetTermios(fd int, req uint) (*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.3K bytes
    - Viewed (0)
  10. pilot/pkg/xds/debug.go

    func (s *DiscoveryServer) endpointShardz(w http.ResponseWriter, req *http.Request) {
    	writeJSON(w, s.Env.EndpointIndex.Shardz(), req)
    }
    
    func (s *DiscoveryServer) cachez(w http.ResponseWriter, req *http.Request) {
    	if err := req.ParseForm(); err != nil {
    		w.WriteHeader(http.StatusBadRequest)
    		_, _ = w.Write([]byte("Failed to parse request\n"))
    		return
    	}
    	if req.Form.Get("clear") != "" {
    		s.Cache.ClearAll()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 39.5K bytes
    - Viewed (0)
Back to top