Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for startRequest (0.14 sec)

  1. src/net/http/httputil/persist.go

    // HTTP/1.1 connection).
    func (sc *ServerConn) Read() (*http.Request, error) {
    	var req *http.Request
    	var err error
    
    	// Ensure ordered execution of Reads and Writes
    	id := sc.pipe.Next()
    	sc.pipe.StartRequest(id)
    	defer func() {
    		sc.pipe.EndRequest(id)
    		if req == nil {
    			sc.pipe.StartResponse(id)
    			sc.pipe.EndResponse(id)
    		} else {
    			// Remember the pipeline id of this request
    			sc.mu.Lock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller.go

    }
    
    // startRequest classifies and, if appropriate, enqueues the request.
    // Returns a nil Request if and only if the request is to be rejected.
    // The returned bool indicates whether the request is exempt from
    // limitation.  The startWaitingTime is when the request started
    // waiting in its queue, or `Time{}` if this did not happen.
    func (cfgCtlr *configController) startRequest(ctx context.Context, rd RequestDigest,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 48.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/controller_test.go

    	cqs.cts.lock.Lock()
    	defer cqs.cts.lock.Unlock()
    	klog.V(7).Infof("For %p QS %s, countActive==%d", cqs, cqs.qc.Name, cqs.countActive)
    	return cqs.countActive == 0
    }
    
    func (cqs *ctlrTestQueueSet) StartRequest(ctx context.Context, width *fcrequest.WorkEstimate, hashValue uint64, flowDistinguisher, fsName string, descr1, descr2 interface{}, queueNoteFn fq.QueueNoteFn) (req fq.Request, idle bool) {
    	cqs.cts.lock.Lock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset.go

    // Values passed through a request's decision
    const (
    	// Serve this one
    	decisionExecute requestDecision = iota
    
    	// This one's context timed out / was canceled
    	decisionCancel
    )
    
    // StartRequest begins the process of handling a request.  We take the
    // approach of updating the metrics about total requests queued and
    // executing at each point where there is a change in that quantity,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 04 16:59:21 UTC 2024
    - 42.4K bytes
    - Viewed (0)
Back to top