Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 266 for estimate (0.23 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/width.go

    // MaxSeatsFunc represents a function that returns the maximum seats
    // allowed for the work estimator for a given priority level.
    type maxSeatsFunc func(priorityLevelName string) uint64
    
    // NewWorkEstimator estimates the work that will be done by a given request,
    // if no WorkEstimatorFunc matches the given request then the default
    // work estimate of 1 seat is allocated to the request.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 19:26:52 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. pkg/controller/namespace/deletion/namespaced_resources_deleter.go

    	}
    	logger.V(5).Info("Namespace controller - deleteAllContentForGroupVersionResource - estimate", "namespace", namespace, "resource", gvr, "estimate", estimate)
    
    	// first try to delete the entire collection
    	deleteCollectionSupported, err := d.deleteCollection(ctx, gvr, namespace)
    	if err != nil {
    		return gvrDeletionMetadata{finalizerEstimateSeconds: estimate}, err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 07:34:23 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/WithEstimatedSize.java

         * estimate size instead of the real size is that sometimes the real size is too expensive to compute.
         * Typically in a filtered collection you would have to actually do the filtering before knowing the size,
         * so killing all possible optimizations. Instead, it should return the size of the collection it wraps,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 18 08:11:23 UTC 2017
    - 2.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/mutating_work_estimator.go

    	estimator := &mutatingWorkEstimator{
    		config:     config,
    		countFn:    countFn,
    		maxSeatsFn: maxSeatsFn,
    	}
    	return estimator.estimate
    }
    
    type mutatingWorkEstimator struct {
    	config     *WorkEstimatorConfig
    	countFn    watchCountGetterFunc
    	maxSeatsFn maxSeatsFunc
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 19:26:52 UTC 2023
    - 6K bytes
    - Viewed (0)
  5. pkg/controller/deployment/progress.go

    	}
    
    	// If there is only one replica set that is active then that means we are not running
    	// a new rollout and this is a resync where we don't need to estimate any progress.
    	// In such a case, we should simply not estimate any progress for this deployment.
    	currentCond := util.GetDeploymentCondition(d.Status, apps.DeploymentProgressing)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 11:00:44 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  6. cmd/object-api-interface_gen.go

    				return
    			}
    		default:
    			bts, err = msgp.Skip(bts)
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z BucketOptions) Msgsize() (s int) {
    	s = 1 + 8 + msgp.BoolSize + 7 + msgp.BoolSize
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Mar 08 19:08:18 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. internal/bucket/replication/datatypes_gen.go

    		zb0001, bts, err = msgp.ReadStringBytes(bts)
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = StatusType(zb0001)
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z StatusType) Msgsize() (s int) {
    	s = msgp.StringPrefixSize + len(string(z))
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Mar 08 19:08:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. internal/grid/msg_gen.go

    		zb0001, bts, err = msgp.ReadUint8Bytes(bts)
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = Flags(zb0001)
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z Flags) Msgsize() (s int) {
    	s = msgp.Uint8Size
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 18.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/list_work_estimator.go

    	estimator := &listWorkEstimator{
    		config:        config,
    		countGetterFn: countFn,
    		maxSeatsFn:    maxSeatsFn,
    	}
    	return estimator.estimate
    }
    
    type listWorkEstimator struct {
    	config        *WorkEstimatorConfig
    	countGetterFn objectCountGetterFunc
    	maxSeatsFn    maxSeatsFunc
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. cmd/metrics-v2_gen.go

    			}
    		default:
    			bts, err = msgp.Skip(bts)
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *MetricDescription) Msgsize() (s int) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 19.2K bytes
    - Viewed (0)
Back to top