- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 1,374 for TIME (0.56 sec)
-
cmd/last-minute.go
func (a *AccElem) add(dur time.Duration) { if dur < 0 { dur = 0 } a.Total += int64(dur) a.N++ } // Merge b into a. func (a *AccElem) merge(b AccElem) { a.N += b.N a.Total += b.Total a.Size += b.Size } // Avg returns average time spent. func (a AccElem) avg() time.Duration { if a.N >= 1 && a.Total > 0 { return time.Duration(a.Total / a.N) } return 0 }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 05 17:40:45 UTC 2023 - 4.8K bytes - Viewed (0) -
manifests/addons/dashboards/lib/variables.libsonnet
) + var.query.withRefresh('time') + var.query.selectionOptions.withMulti() + var.query.selectionOptions.withIncludeAll(), pod: var.query.new('pod') + var.query.withDatasourceFromVariable(self.datasource) + var.query.queryTypes.withLabelValues( 'cluster', 'process_cpu_seconds_total', ) + var.query.withRefresh('time') + var.query.selectionOptions.withMulti()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jun 12 20:46:28 UTC 2024 - 1.4K bytes - Viewed (0) -
istioctl/pkg/writer/compare/comparator.go
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 3.7K bytes - Viewed (0) -
internal/config/batch/batch.go
type Config struct { ReplicationWorkersWait time.Duration `json:"replicationWorkersWait"` KeyRotationWorkersWait time.Duration `json:"keyRotationWorkersWait"` ExpirationWorkersWait time.Duration `json:"expirationWorkersWait"` } // ExpirationWait returns the duration for which a batch expiration worker // would wait before working on next object. func (opts Config) ExpirationWait() time.Duration { configMu.RLock()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.7K bytes - Viewed (0) -
callbacks/create_test.go
Age: 18, }, { ID: 2, Name: "bob", Email: "email", Age: 19, }, } stmt := &gorm.Statement{ DB: &gorm.DB{ Config: &gorm.Config{ NowFunc: func() time.Time { return time.Time{} }, }, Statement: &gorm.Statement{ Settings: sync.Map{}, Schema: s, }, }, ReflectValue: reflect.ValueOf(dest), Dest: dest, } stmt.Schema = s
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Mar 18 05:48:42 UTC 2024 - 1.4K bytes - Viewed (0) -
cmd/local-locker_test.go
} // Expire 50% expired := time.Now().Add(-time.Hour * 2) for _, v := range l.lockMap { for i := range v { if rng.Intn(2) == 0 { v[i].TimeLastRefresh = expired.UnixNano() } } } start = time.Now() l.expireOldLocks(time.Hour) t.Logf("Expire 50%% took: %v. Left: %d/%d", time.Since(start).Round(time.Millisecond), len(l.lockUID), len(l.lockMap))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 10:24:01 UTC 2024 - 11.9K bytes - Viewed (0) -
common-protos/k8s.io/api/batch/v1beta1/generated.proto
optional string schedule = 1; // The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. // If not specified, this will default to the time zone of the kube-controller-manager process. // The set of valid time zone names and the time zone offset is loaded from the system-wide time zone
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 5.7K bytes - Viewed (0) -
internal/bucket/bandwidth/monitor.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package bandwidth //go:generate msgp -file=$GOFILE -unexported import ( "context" "sync" "time" "golang.org/x/time/rate" ) //msgp:ignore bucketThrottle Monitor type bucketThrottle struct { *rate.Limiter NodeBandwidthPerSec int64 } // Monitor holds the state of the global bucket monitor
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 19 22:54:46 UTC 2024 - 6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/RateLimiter.java
* @return the time that permits are available, or, if permits are available immediately, an * arbitrary past or present time */ abstract long queryEarliestAvailable(long nowMicros); /** * Reserves the requested number of permits and returns the time that those permits can be used * (with one caveat). * * @return the time that the permits may be used, or, if the permits may be used immediately, an
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 21.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/BuildFailure.java
* * @param project The project being summarized, must not be {@code null}. * @param time The build time of the project in milliseconds. * @param cause The cause of the build failure, may be {@code null}. */ public BuildFailure(MavenProject project, long time, Throwable cause) { this(project, time, time, cause); } /** * Creates a new build summary for the specified project. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0)