Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for startRequest (0.18 sec)

  1. src/net/textproto/pipeline.go

    func (p *Pipeline) Next() uint {
    	p.mu.Lock()
    	id := p.id
    	p.id++
    	p.mu.Unlock()
    	return id
    }
    
    // StartRequest blocks until it is time to send (or, if this is a server, receive)
    // the request with the given id.
    func (p *Pipeline) StartRequest(id uint) {
    	p.request.Start(id)
    }
    
    // EndRequest notifies p that the request with the given id has been sent
    // (or, if this is a server, received).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 08 16:19:51 UTC 2020
    - 3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/interface.go

    	// (1) during a call to StartRequest and (2) during a call to
    	// Request::Finish.  In the latter case idleness can only change
    	// from false to true.
    	IsIdle() bool
    
    	// StartRequest begins the process of handling a request.  If the
    	// request gets queued and the number of queues is greater than 1
    	// then StartRequest uses the given hashValue as the source of
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/testing/no-restraint.go

    }
    
    func (noRestraint) BeginConfigChange(qCfg fq.QueuingConfig) (fq.QueueSetCompleter, error) {
    	return noRestraintCompleter{}, nil
    }
    
    func (noRestraint) IsIdle() bool {
    	return false
    }
    
    func (noRestraint) StartRequest(ctx context.Context, workEstimate *fcrequest.WorkEstimate, hashValue uint64, flowDistinguisher, fsName string, descr1, descr2 interface{}, queueNoteFn fq.QueueNoteFn) (fq.Request, bool) {
    	return noRestraintRequest{}, false
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 17:37:20 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  4. src/net/textproto/textproto.go

    //	}
    //	text, err := c.ReadDotBytes()
    //	if err != nil {
    //		return nil, err
    //	}
    //	return c.ReadCodeLine(250)
    func (c *Conn) Cmd(format string, args ...any) (id uint, err error) {
    	id = c.Next()
    	c.StartRequest(id)
    	err = c.PrintfLine(format, args...)
    	c.EndRequest(id)
    	if err != nil {
    		return 0, err
    	}
    	return id, nil
    }
    
    // TrimString returns s without leading and trailing ASCII space.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_filter.go

    	workEstimator func() fcrequest.WorkEstimate,
    	queueNoteFn fq.QueueNoteFn,
    	execFn func()) {
    	fs, pl, isExempt, req, startWaitingTime := cfgCtlr.startRequest(ctx, requestDigest, noteFn, workEstimator, queueNoteFn)
    	queued := startWaitingTime != time.Time{}
    	if req == nil {
    		if queued {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 8K bytes
    - Viewed (0)
Back to top