- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 159 for click (0.05 sec)
-
platforms/core-runtime/time/src/test/groovy/org/gradle/internal/time/MonotonicClockTest.groovy
1 * nanoTime() >> START_NANOS } private Clock clock = new MonotonicClock(timeSource, SYNC_INTERVAL) def "prevents time from going backwards"() { when: setNanos 0 then: clock.currentTime == START_MILLIS + 0 when: setNanos 10 then: clock.currentTime == START_MILLIS + 10 when: setNanos 8
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:20:17 UTC 2024 - 2.8K bytes - Viewed (0) -
platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/junit/JUnitTestEventAdapter.java
private final Clock clock; private final Object lock = new Object(); private final Map<Description, TestDescriptorInternal> executing = new HashMap<Description, TestDescriptorInternal>(); private final Set<Description> assumptionFailed = new HashSet<Description>(); public JUnitTestEventAdapter(TestResultProcessor resultProcessor, Clock clock, IdGenerator<?> idGenerator) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 8.6K bytes - Viewed (0) -
platforms/core-runtime/time/src/main/java/org/gradle/internal/time/MonotonicClock.java
* in between syncs with the system wall clock. * When issuing the first timestamp after the sync interval has expired, * The system wall clock will be read, and the current time set to the max of wall clock time or the most recently issued timestamp. * All other timestamps are calculated as the wall clock time at last sync + elapsed time since. * <p> * This clock deals relatively well when the system wall clock shift is adjusted by small amounts.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:20:17 UTC 2024 - 5K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/detection/DefaultTestExecuter.java
private final ActorFactory actorFactory; private final ForkedTestClasspathFactory testClasspathFactory; private final WorkerLeaseService workerLeaseService; private final int maxWorkerCount; private final Clock clock; private final DocumentationRegistry documentationRegistry; private final DefaultTestFilter testFilter; private TestClassProcessor processor; public DefaultTestExecuter(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 6.6K bytes - Viewed (0) -
platforms/core-runtime/build-profile/src/main/java/org/gradle/profile/ProfileEventAdapter.java
public ProfileEventAdapter(BuildProfile buildProfile, BuildStartedTime buildStartedTime, Clock clock) { this.buildProfile = buildProfile; this.buildStartedTime = buildStartedTime; this.clock = clock; } // BuildListener @Override public void beforeSettings(Settings settings) { long now = clock.getCurrentTime(); buildProfile.setBuildStarted(now);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:39 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/core-runtime/time/src/main/java/org/gradle/internal/time/Time.java
*/ public static Clock clock() { return CLOCK; } /** * Replacement for System.currentTimeMillis(), based on {@link #clock()}. */ public static long currentTimeMillis() { return CLOCK.getCurrentTime(); } /** * Measures elapsed time. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:20:17 UTC 2024 - 2.2K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/slf4j/OutputEventListenerBackedLogger.java
import org.gradle.internal.time.Clock; public class OutputEventListenerBackedLogger extends BuildOperationAwareLogger { private final String name; private final OutputEventListenerBackedLoggerContext context; private final Clock clock; public OutputEventListenerBackedLogger(String name, OutputEventListenerBackedLoggerContext context, Clock clock) { this.name = name;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 2K bytes - Viewed (0) -
platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/impl/legacy/DefaultBuildScanClock.java
import org.gradle.internal.time.Clock; import javax.inject.Inject; public class DefaultBuildScanClock implements BuildScanClock { private final Clock clock; @Inject public DefaultBuildScanClock(Clock clock) { this.clock = clock; } @Override public long getCurrentTime() { return clock.getCurrentTime(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 15 17:58:47 UTC 2024 - 1.1K bytes - Viewed (0) -
pkg/kubelet/util/queue/work_queue_test.go
// Dial the time to 1 hour ahead. clock.Step(time.Hour) expected = []types.UID{types.UID("foo3"), types.UID("foo4")} compareResults(t, expected, q.GetWork()) compareResults(t, []types.UID{}, q.GetWork()) } func TestNewBasicWorkQueue(t *testing.T) { tests := []struct { clock clock.Clock expectedWorkQueue WorkQueue }{ { clock: clock.RealClock{},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 2.4K bytes - Viewed (0) -
platforms/core-runtime/build-profile/src/main/java/org/gradle/profile/ProfileCoordinator.java
import org.gradle.internal.time.Clock; @ServiceScope(Scope.BuildTree.class) public class ProfileCoordinator implements RootBuildLifecycleListener { private final BuildProfile profile; private final ReportGeneratingProfileListener generator; private final Clock clock; public ProfileCoordinator(BuildProfile profile, ReportGeneratingProfileListener generator, Clock clock) { this.profile = profile;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 1.5K bytes - Viewed (0)