Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 305 for Intervals (0.19 sec)

  1. src/cmd/compile/internal/liveness/intervals.go

    	return false
    }
    
    // Merge combines the intervals from "is" and "is2" and returns
    // a new Intervals object containing all combined ranges from the
    // two inputs.
    func (is Intervals) Merge(is2 Intervals) Intervals {
    	if len(is) == 0 {
    		return is2
    	} else if len(is2) == 0 {
    		return is
    	}
    	// walk the combined set of intervals and merge them together.
    	var ret Intervals
    	var pv pairVisitor
    	cur := pv.init(is, is2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 21:55:27 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. src/cmd/trace/pprof.go

    }
    
    // interval represents a time interval in the trace.
    type interval struct {
    	start, end trace.Time
    }
    
    func (i interval) duration() time.Duration {
    	return i.end.Sub(i.start)
    }
    
    func (i1 interval) overlap(i2 interval) time.Duration {
    	// Assume start1 <= end1 and start2 <= end2
    	if i1.end < i2.start || i2.end < i1.start {
    		return 0
    	}
    	if i1.start < i2.start { // choose the later one
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/wait/poll.go

    func PollUntilWithContext(ctx context.Context, interval time.Duration, condition ConditionWithContextFunc) error {
    	return poll(ctx, false, poller(interval, 0), condition)
    }
    
    // PollInfinite tries a condition func until it returns true or an error
    //
    // PollInfinite always waits the interval before the run of 'condition'.
    //
    // Some intervals may be missed if the condition takes too long or the time
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 26 06:13:35 UTC 2023
    - 14K bytes
    - Viewed (0)
  4. pkg/controller/job/indexed_job_utils_test.go

    	cases := map[string]struct {
    		intervals orderedIntervals
    		index     int
    		wantHas   bool
    	}{
    		"empty": {
    			index: 4,
    		},
    		"before all": {
    			index:     1,
    			intervals: []interval{{2, 4}, {5, 7}},
    		},
    		"after all": {
    			index:     9,
    			intervals: []interval{{2, 4}, {6, 8}},
    		},
    		"in between": {
    			index:     5,
    			intervals: []interval{{2, 4}, {6, 8}},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  5. pkg/controller/job/indexed_job_utils.go

    		return nil
    	}
    	var result orderedIntervals
    	var lastInterval *interval
    	for _, intervalStr := range strings.Split(indexesStr, ",") {
    		limitsStr := strings.Split(intervalStr, "-")
    		var inter interval
    		var err error
    		inter.First, err = strconv.Atoi(limitsStr[0])
    		if err != nil {
    			logger.Info("Corrupted indexes interval, ignoring", "interval", intervalStr, "err", err)
    			continue
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 00:44:53 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/enclosing.go

    // overlaps multiple children of path[0], or if it contains only
    // interior whitespace of path[0].
    // In this example:
    //
    //	z := x + y // add them
    //	  <--C-->     <---E-->
    //	    ^
    //	    D
    //
    // intervals C, D and E are inexact.  C is contained by the
    // z-assignment statement, because it spans three of its children (:=,
    // x, +).  So too is the 1-char interval D, because it contains only
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  7. docs/config/README.md

    stale_uploads_expiry            (duration)  set to expire stale multipart uploads older than this values (default: '24h')
    stale_uploads_cleanup_interval  (duration)  set to change intervals when stale multipart uploads are expired (default: '6h')
    delete_cleanup_interval         (duration)  set to change intervals when deleted objects are permanently deleted from ".trash" folder (default: '5m')
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 11 21:48:54 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  8. cmd/object-api-datatypes.go

    	dataUsageBucketLenV1 = 7
    	// dataUsageBucketLen must be length of ObjectsHistogramIntervals
    	dataUsageBucketLen  = 11
    	dataUsageVersionLen = 7
    )
    
    // ObjectsHistogramIntervalsV1 is the list of all intervals
    // of object sizes to be included in objects histogram(V1).
    var ObjectsHistogramIntervalsV1 = [dataUsageBucketLenV1]objectHistogramInterval{
    	{"LESS_THAN_1024_B", 0, humanize.KiByte - 1},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * </ul>
       */
      static final class SmoothWarmingUp extends SmoothRateLimiter {
        private final long warmupPeriodMicros;
        /**
         * The slope of the line from the stable interval (when permits == 0), to the cold interval
         * (when permits == maxPermits)
         */
        private double slope;
    
        private double thresholdPermits;
        private double coldFactor;
    
        SmoothWarmingUp(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  10. cmd/data-usage-cache.go

    		switch {
    		case humanize.KiByte == szInt.start && szInt.end == humanize.MiByte-1:
    			// spl interval: [1024B, 1MiB)
    			res[szInt.name] = splCount
    		case humanize.KiByte <= szInt.start && szInt.end <= humanize.MiByte-1:
    			// intervals that fall within the spl interval above; they
    			// appear earlier in this array of intervals, see
    			// ObjectsHistogramIntervals
    			splCount += count
    			fallthrough
    		default:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 10 14:49:50 UTC 2024
    - 42.8K bytes
    - Viewed (0)
Back to top