- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 788 for clocks (0.14 sec)
-
platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/DevelocityPluginBuildStateIntegrationTest.groovy
assert buildState.buildStartedTime == services.get(${BuildStartedTime.name}).startTime def clock = services.get(${Clock.name}) def timeDifference = Math.abs(buildState.currentTime - clock.currentTime) assert timeDifference < 1000
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 12 10:49:16 UTC 2024 - 2.6K bytes - Viewed (0) -
pkg/kubelet/util/manager/watch_based_manager.go
} func (i *objectCacheItem) setLastAccessTime(time time.Time) { i.lock.Lock() defer i.lock.Unlock() i.lastAccessTime = time } func (i *objectCacheItem) setImmutable() { i.lock.Lock() defer i.lock.Unlock() i.immutable = true } func (i *objectCacheItem) stopIfIdle(now time.Time, maxIdleTime time.Duration) bool { i.lock.Lock() defer i.lock.Unlock() // Ensure that we don't try to stop not yet initialized reflector.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 11.6K bytes - Viewed (0) -
cmd/xl-storage-format-v1.go
Distribution []int `json:"distribution"` // Checksums holds all bitrot checksums of all erasure encoded blocks Checksums []ChecksumInfo `json:"checksum,omitempty"` } // Equal equates current erasure info with newer erasure info. // returns false if one of the following check fails // - erasure algorithm is different // - data blocks are different // - parity blocks are different
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 8.2K bytes - Viewed (0) -
platforms/jvm/testing-junit-platform/src/main/java/org/gradle/api/internal/tasks/testing/junitplatform/JUnitPlatformTestExecutionListener.java
private final TestResultProcessor resultProcessor; private final Clock clock; private final IdGenerator<?> idGenerator; private TestPlan currentTestPlan; public JUnitPlatformTestExecutionListener(TestResultProcessor resultProcessor, Clock clock, IdGenerator<?> idGenerator) { this.resultProcessor = resultProcessor; this.clock = clock; this.idGenerator = idGenerator; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 06:58:25 UTC 2024 - 15K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/slf4j/OutputEventListenerBackedLoggerContext.java
private final AtomicReference<OutputEventListener> outputEventListener = new AtomicReference<OutputEventListener>(); private final Clock clock; public OutputEventListenerBackedLoggerContext(Clock clock) { this.clock = clock; applyDefaultLoggersConfig(); reset(); } private void applyDefaultLoggersConfig() { addNoOpLogger("java.lang.ProcessBuilder");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 11.1K bytes - Viewed (0) -
platforms/jvm/testing-junit-platform/src/main/java/org/gradle/api/internal/tasks/testing/junitplatform/JUnitPlatformTestClassProcessor.java
private final IdGenerator<?> idGenerator; private final Clock clock; private CollectAllTestClassesExecutor testClassExecutor; private BackwardsCompatibleLauncherSession launcherSession; private ClassLoader junitClassLoader; public JUnitPlatformTestClassProcessor(JUnitPlatformSpec spec, IdGenerator<?> idGenerator, ActorFactory actorFactory, Clock clock) { super(actorFactory); this.spec = spec;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 13.9K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/work/TestWorkerLeaseService.groovy
} @Override <T> T withLocks(Collection<? extends ResourceLock> locks, Factory<T> factory) { return factory.create() } @Override void withLocks(Collection<? extends ResourceLock> locks, Runnable action) { action.run() } @Override <T> T withoutLocks(Collection<? extends ResourceLock> locks, Factory<T> factory) { return factory.create() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.7K bytes - Viewed (0) -
pkg/kubelet/pleg/generic_test.go
runtime: fakeRuntime, eventChannel: make(chan *PodLifecycleEvent, eventChannelCap), podRecords: make(podRecords), clock: clock, } return &TestGenericPLEG{pleg: pleg, runtime: fakeRuntime, clock: clock} } func getEventsFromChannel(ch <-chan *PodLifecycleEvent) []*PodLifecycleEvent { events := []*PodLifecycleEvent{} for len(ch) > 0 { e := <-ch events = append(events, e) } return events }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 24.8K bytes - Viewed (0) -
src/runtime/lock_futex.go
} func mutexContended(l *mutex) bool { return atomic.Load(key32(&l.key)) > mutex_locked } func lock(l *mutex) { lockWithRank(l, getLockRank(l)) } func lock2(l *mutex) { gp := getg() if gp.m.locks < 0 { throw("runtime·lock: lock count") } gp.m.locks++ // Speculative grab for lock. v := atomic.Xchg(key32(&l.key), mutex_locked) if v == mutex_unlocked { return }
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/cmd/compile/internal/ssa/dom_test.go
case 0: blocs = append(blocs, Bloc(blockn(i), If("p", blockn(i+1), blockn(i+2)))) case 1: blocs = append(blocs, Bloc(blockn(i), If("p", blockn(i+1), blockn(i-1)))) } } blocs = append(blocs, Bloc(blockn(size), Goto("exit")), Bloc("exit", Exit("mem")), ) return blocs } // genManyPred creates an array of blocks where 1/3rd have a successor of the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 13.3K bytes - Viewed (0)