- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 461 for spdelta (0.24 sec)
-
src/testing/testing_windows.go
t.now = windows.QueryPerformanceCounter() return t } func (a highPrecisionTime) sub(b highPrecisionTime) time.Duration { delta := a.now - b.now if queryPerformanceFrequency == 0 { queryPerformanceFrequency = windows.QueryPerformanceFrequency() } hi, lo := bits.Mul64(uint64(delta), uint64(time.Second)/uint64(time.Nanosecond)) quo, _ := bits.Div64(hi, lo, uint64(queryPerformanceFrequency)) return time.Duration(quo) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 22:55:25 UTC 2024 - 1.9K bytes - Viewed (0) -
src/time/sleep_test.go
t.Parallel() const Count = 10 Delta := 100 * Millisecond if testing.Short() { Delta = 10 * Millisecond } t0 := Now() for i := 0; i < Count; i++ { <-After(Delta) } t1 := Now() d := t1.Sub(t0) target := Delta * Count if d < target*9/10 { t.Fatalf("%d ticks of %s too fast: took %s, expected %s", Count, Delta, d, target) } if !testing.Short() && d > target*30/10 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 16:33:57 UTC 2024 - 22.5K bytes - Viewed (0) -
src/runtime/vdso_freebsd.go
th := &timehands[curr] gen := atomic.Load(&th.gen) // atomic_load_acq_32 bt = th.offset if tc, ok := th.getTimecounter(); !ok { return zeroBintime } else { delta := (tc - th.offset_count) & th.counter_mask bt.AddX(th.scale * uint64(delta)) } if abs { bt.Add(&th.boottime) } atomic.Load(&binuptimeDummy) // atomic_thread_fence_acq() if curr == timekeepSharedPage.current && gen != 0 && gen == th.gen {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 2.4K bytes - Viewed (0) -
releasenotes/notes/48031.yaml
apiVersion: release-notes/v2 kind: feature area: traffic-management releaseNotes: - |
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 19 22:42:42 UTC 2023 - 128 bytes - Viewed (0) -
pilot/pkg/credentials/kube/secrets.go
s.mu.Lock() defer s.mu.Unlock() key := authorizationKey(user) expDelta := cacheTTL if response == nil { // Cache success a bit longer, there is no need to quickly revoke access expDelta *= 5 } log.Debugf("cached authorization for user %s: %v", user, response) s.authorizationCache[key] = authorizationResponse{ expiration: time.Now().Add(expDelta), authorized: response, } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 19:18:21 UTC 2024 - 10K bytes - Viewed (0) -
cmd/perf-tests.go
time.Sleep(time.Second) } rx := float64(globalNetPerfRX.RXSample) delta := globalNetPerfRX.firstToDisconnect.Sub(globalNetPerfRX.lastToConnect) if delta < 0 { rx = 0 errStr = "network disconnection issues detected" } globalNetPerfRX.Reset() return madmin.NetperfNodeResult{Endpoint: "", TX: r.n / uint64(duration.Seconds()), RX: uint64(rx / delta.Seconds()), Error: errStr} }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 11.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicLongMap.java
public long decrementAndGet(K key) { return addAndGet(key, -1); } /** * Adds {@code delta} to the value currently associated with {@code key}, and returns the new * value. */ @CanIgnoreReturnValue public long addAndGet(K key, long delta) { return accumulateAndGet(key, delta, Long::sum); } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 11.8K bytes - Viewed (0) -
pkg/kubemark/controller.go
currSize, err := kubemarkController.GetNodeGroupTargetSize(nodeGroup) if err != nil { return err } switch delta := size - currSize; { case delta < 0: absDelta := -delta nodes, err := kubemarkController.GetNodeNamesForNodeGroup(nodeGroup) if err != nil { return err } if len(nodes) < absDelta {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 17 23:02:17 UTC 2020 - 14.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/counter/interface.go
type GoRoutineCounter interface { // Add adds the given delta to the count of active goroutines. // Call Add(1) before forking a goroutine, Add(-1) at the end of that goroutine. // Call Add(-1) just before waiting on something from another goroutine (e.g., // just before a `select`). // Call Add(1) just before doing something that unblocks a goroutine that is // waiting on that something. Add(delta int)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 12 16:12:48 UTC 2019 - 1.4K bytes - Viewed (0) -
src/net/http/pprof/pprof_test.go
{"/debug/pprof/block?seconds=1", Index, http.StatusOK, "application/octet-stream", `attachment; filename="block-delta"`, nil}, {"/debug/pprof/goroutine?seconds=1", Index, http.StatusOK, "application/octet-stream", `attachment; filename="goroutine-delta"`, nil}, {"/debug/pprof/", Index, http.StatusOK, "text/html; charset=utf-8", "", []byte("Types of profiles available:")}, } for _, tc := range testCases {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 07 19:52:28 UTC 2023 - 9.7K bytes - Viewed (0)