- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 502 for timerC (0.23 sec)
-
src/cmd/cgo/internal/testcshared/testdata/libgo5/libgo5.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 14 13:19:50 UTC 2023 - 986 bytes - Viewed (0) -
cmd/url_test.go
b.ReportAllocs() // the actual benchmark for PutObject starts here. Reset the benchmark timer. b.ResetTimer() if err := req.ParseForm(); err != nil { b.Fatal(err) } b.RunParallel(func(pb *testing.PB) { for pb.Next() { req.Form.Get("uploadId") } }) // Benchmark ends here. Stop timer. b.StopTimer() } // BenchmarkURLQuery - benchmark URL memory allocations
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Nov 16 17:28:29 UTC 2021 - 2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 51.8K bytes - Viewed (0) -
src/runtime/time_test.go
t.Errorf("runtime.Timer field %s %v incompatible with %s field %s %v", f1.Name, t1, name, f2.Name, t2) } if f1.Offset != f2.Offset { t.Errorf("runtime.Timer field %s offset %d incompatible with %s field %s offset %d", f1.Name, f1.Offset, name, f2.Name, f2.Offset) } } } check("time.Timer", reflect.TypeOf(time.Timer{})) check("time.Ticker", reflect.TypeOf(time.Ticker{}))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 03:40:04 UTC 2024 - 3.1K bytes - Viewed (0) -
pkg/queue/util.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jul 14 06:36:32 UTC 2022 - 1.1K bytes - Viewed (0) -
pkg/scheduler/framework/runtime/waiting_pods_map.go
} wp.pendingPlugins = make(map[string]*time.Timer, len(pluginsMaxWaitTime)) // The time.AfterFunc calls wp.Reject which iterates through pendingPlugins map. Acquire the // lock here so that time.AfterFunc can only execute after newWaitingPod finishes. wp.mu.Lock() defer wp.mu.Unlock() for k, v := range pluginsMaxWaitTime { plugin, waitTime := k, v wp.pendingPlugins[plugin] = time.AfterFunc(waitTime, func() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 4.5K bytes - Viewed (0) -
pkg/controller/tainteviction/timed_workers.go
type TimedWorker struct { WorkItem *WorkArgs CreatedAt time.Time FireAt time.Time Timer clock.Timer } // createWorker creates a TimedWorker that will execute `f` not earlier than `fireAt`.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:23:56 UTC 2023 - 4.8K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/stats/DaemonRunningStats.java
import org.gradle.internal.service.scopes.ServiceScope; import org.gradle.internal.time.Time; import org.gradle.internal.time.Timer; @ServiceScope(Scope.Global.class) public class DaemonRunningStats { private final long startTime = System.currentTimeMillis(); private final Timer daemonTimer = Time.startTimer(); private final Timer currentBuildTimer = Time.startTimer(); private int buildCount; private long allBuildsTime;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 05 22:23:18 UTC 2024 - 1.7K bytes - Viewed (0) -
src/runtime/lock_futex.go
// MUTEX_SLEEPING to some other value, we must be // careful to change it back to MUTEX_SLEEPING before // returning, to ensure that the sleeping thread gets // its wakeup call. wait := v timer := &lockTimer{lock: l} timer.begin() // On uniprocessors, no point spinning. // On multiprocessors, spin for ACTIVE_SPIN attempts. spin := 0 if ncpu > 1 { spin = active_spin } for { // Try for lock, spinning.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:34 UTC 2024 - 5.4K bytes - Viewed (0) -
src/net/net_fake.go
timer := <-dt.timer defer func() { dt.timer <- timer }() if deadline.Equal(noDeadline) { if timer != nil && timer.Stop() { timer = nil } return timer == nil } d := time.Until(deadline) if d < 0 { // Ensure that a deadline in the past takes effect immediately. defer func() { <-dt.expired }() } if timer == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 19:24:21 UTC 2024 - 26.4K bytes - Viewed (0)