Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for Fuller (0.18 sec)

  1. internal/grid/handlers.go

    // Handlers can use this to create a reusable response.
    // The response may be reused, so caller should clear any fields.
    func (h *SingleHandler[Req, Resp]) NewResponse() Resp {
    	return h.newResp()
    }
    
    // NewRequest creates a new request.
    // Handlers can use this to create a reusable request.
    // The request may be reused, so caller should clear any fields.
    func (h *SingleHandler[Req, Resp]) NewRequest() Req {
    	return h.newReq()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26.9K bytes
    - Viewed (0)
  2. internal/grid/connection.go

    	if err != nil {
    		return nil, err
    	}
    	cl.subroute = &c.subID
    	return cl, nil
    }
    
    // Request allows to do a single remote request.
    // 'req' will not be used after the call and caller can reuse.
    // If no deadline is set on ctx, a 1-minute deadline will be added.
    func (c *Connection) Request(ctx context.Context, h HandlerID, req []byte) ([]byte, error) {
    	if !h.valid() {
    		return nil, ErrUnknownHandler
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  3. internal/config/storageclass/storage-class.go

    //
    // -- if input is RRS but RRS is not configured/initialized '-1' parity
    //
    //	for RRS is assumed, the caller is expected to choose the right parity
    //	at that point.
    //
    // -- if input is STANDARD but STANDARD is not configured/initialized '-1' parity
    //
    //	is returned, the caller is expected to choose the right parity
    //	at that point.
    func (sCfg *Config) GetParityForSC(sc string) (parity int) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  4. cmd/admin-heal-ops.go

    	select {
    	case res := <-task.respCh:
    		if !h.reportProgress {
    			if errors.Is(res.err, errSkipFile) { // this is only sent usually by nopHeal
    				return nil
    			}
    
    			// Report caller of any failure
    			return res.err
    		}
    		res.result.Type = healType
    		if res.err != nil {
    			res.result.Detail = res.err.Error()
    		}
    		return h.pushHealResultItem(res.result)
    	case <-h.ctx.Done():
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  5. internal/ioutil/ioutil.go

    		timeout: timeout,
    	}
    	return dw
    }
    
    // Run runs the given function, passing it a stopper channel. If the deadline passes before
    // the function finishes executing, Run returns context.DeadlineExceeded to the caller.
    // channel so that the work function can attempt to exit gracefully.
    // Multiple calls to Run will run independently of each other.
    func (d *DeadlineWorker) Run(work func() error) error {
    	c := make(chan ioret[struct{}], 1)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  6. cmd/global-heal.go

    		// in the beginning of erasure set healing
    		if _, err := objAPI.HealBucket(ctx, bucket, madmin.HealOpts{
    			ScanMode: scanMode,
    		}); err != nil {
    			// Set this such that when we return this function
    			// we let the caller retry this disk again for the
    			// buckets that failed healing.
    			retErr = err
    			healingLogIf(ctx, err)
    			continue
    		}
    
    		var (
    			vc   *versioning.Versioning
    			lc   *lifecycle.Lifecycle
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 15K bytes
    - Viewed (1)
  7. internal/config/identity/plugin/config.go

    func (h *metrics) setConnFailure(reqStartTime time.Time) {
    	h.Lock()
    	defer h.Unlock()
    	h.LastCheckFailure = reqStartTime
    }
    
    func (h *metrics) updateLastFullMinute(currReqMinute time.Time) {
    	// Assumes the caller has h.Lock()'ed
    	h.lastFullMinute = h.currentMinute
    	h.currentMinute = serviceRTTMinuteStats{
    		statsTime: currReqMinute,
    	}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (3)
  8. cmd/iam-object-store.go

    	iamOS.Lock()
    	defer iamOS.Unlock()
    	iamOS.iamCache.iamSTSAccountsMap = stsAccountsFromStore
    	iamOS.iamCache.iamSTSPolicyMap = stsAccPoliciesFromStore
    
    	return nil
    }
    
    // Assumes cache is locked by caller.
    func (iamOS *IAMObjectStore) loadAllFromObjStore(ctx context.Context, cache *iamCache) error {
    	if iamOS.objAPI == nil {
    		return errServerNotInitialized
    	}
    
    	bootstrapTraceMsg("loading all IAM items")
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2.go

    }
    
    // xlMetaV2Version describes the journal entry, Type defines
    // the current journal entry type other types might be nil based
    // on what Type field carries, it is imperative for the caller
    // to verify which journal type first before accessing rest of the fields.
    type xlMetaV2Version struct {
    	Type             VersionType           `json:"Type" msg:"Type"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  10. cmd/utils.go

    	runtime.SetMutexProfileFraction(0) // Disable until needed
    	runtime.SetBlockProfileRate(0)     // Disable until needed
    }
    
    // Starts a profiler returns nil if profiler is not enabled, caller needs to handle this.
    func startProfiler(profilerType string) (minioProfiler, error) {
    	var prof profilerWrapper
    	prof.ext = "pprof"
    	// Enable profiler and set the name of the file that pkg/pprof
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 31.3K bytes
    - Viewed (0)
Back to top