- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,810 for duration1 (0.14 sec)
-
src/internal/trace/gc.go
// total final mass will be the duration of the trace itself // minus the window size. Using this, we can compute the mass // corresponding to quantile maxQ. var duration int64 for _, s := range c.series { duration1 := s.util[len(s.util)-1].Time - s.util[0].Time if duration1 >= int64(window) { duration += duration1 - int64(window) } } qMass := float64(duration) * maxQ
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 26K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/duration.go
"encoding/json" "time" ) // Duration is a wrapper around time.Duration which supports correct // marshaling to YAML and JSON. In particular, it marshals into strings, which // can be used as map keys in json. type Duration struct { time.Duration `protobuf:"varint,1,opt,name=duration,casttype=time.Duration"` } // UnmarshalJSON implements the json.Unmarshaller interface. func (d *Duration) UnmarshalJSON(b []byte) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Feb 08 00:11:06 UTC 2020 - 1.9K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/Duration.java
import java.math.BigDecimal; public class Duration { public static final Units<Duration> MILLI_SECONDS = Units.base(Duration.class, "ms"); public static final Units<Duration> SECONDS = MILLI_SECONDS.times(1000, "s"); public static final Units<Duration> MINUTES = SECONDS.times(60, "m"); public static final Units<Duration> HOURS = MINUTES.times(60, "h"); public static Amount<Duration> millis(long millis) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/duration/duration.go
See the License for the specific language governing permissions and limitations under the License. */ package duration import ( "fmt" "time" ) // ShortHumanDuration returns a succinct representation of the provided duration // with limited precision for consumption by humans. func ShortHumanDuration(d time.Duration) string { // Allow deviation no more than 2 seconds(excluded) to tolerate machine time
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 29 09:44:02 UTC 2023 - 2.8K 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() defer configMu.RUnlock()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.7K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/Duration.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.test.fixtures.concurrent class Duration { private final long nanos Duration(long nanos) { this.nanos = nanos } long getMillis() { return nanos / 1000000 } @Override String toString() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 909 bytes - Viewed (0) -
.teamcity/performance-test-durations.json
"durations" : [ { "testProject" : "largeEmptyMultiProjectDeclarativeDsl", "linux" : 8 } ] }, { "scenario" : "org.gradle.performance.experiment.declarativedsl.DeclarativeDslFirstUsePerformanceTest.cold daemon", "durations" : [ { "testProject" : "largeEmptyMultiProjectDeclarativeDsl", "linux" : 8 } ] }, {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 10:30:45 UTC 2024 - 27.9K bytes - Viewed (1) -
releasenotes/notes/27509-lease-duration.yaml
apiVersion: release-notes/v2 kind: bug-fix area: installation issue: - 27509 releaseNotes: - |
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 20 17:09:08 UTC 2021 - 222 bytes - Viewed (0) -
pkg/kube/inject/testdata/inject/format-duration.yaml
John Howard <******@****.***> 1565919828 -0700
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Aug 16 01:43:48 UTC 2019 - 460 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/request/webhook_duration_test.go
"testing" "time" clocktesting "k8s.io/utils/clock/testing" ) func TestLatencyTrackersFrom(t *testing.T) { type testCase struct { Durations []time.Duration SumDurations time.Duration MaxDuration time.Duration } tc := testCase{ Durations: []time.Duration{100, 200, 300, 200, 400, 300, 100}, SumDurations: 1600, MaxDuration: 400, } t.Run("TestLatencyTrackersFrom", func(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 09:15:20 UTC 2023 - 2.4K bytes - Viewed (0)