- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 636 for Intervals (0.14 sec)
-
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) -
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) -
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) -
internal/config/api/help.go
config.HelpKV{ Key: apiStaleUploadsCleanupInterval, Description: `set to change intervals when stale multipart uploads are expired` + defaultHelpPostfix(apiStaleUploadsCleanupInterval), Optional: true, Type: "duration", }, config.HelpKV{ Key: apiDeleteCleanupInterval,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Mar 15 01:07:19 UTC 2024 - 4.7K bytes - Viewed (0) -
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) -
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) -
helm/minio/templates/_helper_custom_command.txt
STATUS=$? ; until [ $STATUS = 0 ] do ATTEMPTS=`expr $ATTEMPTS + 1` ; echo \"Failed attempts: $ATTEMPTS\" ; if [ $ATTEMPTS -gt $LIMIT ]; then exit 1 ; fi ; sleep 2 ; # 1 second intervals between attempts $MC_COMMAND ; STATUS=$? ; done ; set -e ; # reset `e` as active return 0 } # runCommand ($@) # Run custom mc command runCommand() { ${MC} "$@" return $? }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Feb 19 20:34:14 UTC 2022 - 1.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/transfer/ResourceOperationTest.groovy
operation.contentLength = 1023 when: operation.logProcessedBytes(1023) then: 0 * context.progress(_) } def "logs processed bytes in KiB intervals"() { given: def operation = new ResourceOperation(context, Type.download) operation.contentLength = 1024 * 10 when: operation.logProcessedBytes(512 * 0)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3K bytes - Viewed (0) -
src/testing/testing_windows.go
} return false } // highPrecisionTime represents a single point in time with query performance counter. // time.Time on Windows has low system granularity, which is not suitable for // measuring short time intervals. // // TODO: If Windows runtime implements high resolution timing then highPrecisionTime // can be removed. type highPrecisionTime struct { now int64 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 22:55:25 UTC 2024 - 1.9K bytes - Viewed (0) -
helm/minio/templates/_helper_create_policy.txt
STATUS=$? ; until [ $STATUS = 0 ] do ATTEMPTS=`expr $ATTEMPTS + 1` ; echo \"Failed attempts: $ATTEMPTS\" ; if [ $ATTEMPTS -gt $LIMIT ]; then exit 1 ; fi ; sleep 2 ; # 1 second intervals between attempts $MC_COMMAND ; STATUS=$? ; done ; set -e ; # reset `e` as active return 0 } # checkPolicyExists ($policy)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Mar 21 06:38:06 UTC 2023 - 2K bytes - Viewed (0)