- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for setitimer (0.13 sec)
-
platforms/core-runtime/time/src/test/groovy/org/gradle/internal/time/DefaultTimerTest.groovy
when: setTime(51243) then: timer.getElapsed() == "51.243 secs" } def testOnlySecondsEvenMs() { when: setTime(4000) then: timer.getElapsed() == "4.0 secs" } def testMinutesAndSeconds() { when: setTime(0, 32, 40, 322) then:
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/base-services/src/test/groovy/org/gradle/util/internal/GFileUtilsTest.groovy
child.text == "data" } def "uses fallback for touching empty files"() { given: def fileAttributeView = Stub(BasicFileAttributeView) { setTimes(_, _, _) >> { throw new FileSystemException("file: Operation not permitted") } } def path = Stub(java.nio.file.Path) { getFileSystem() >> Stub(FileSystem) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 10:50:51 UTC 2024 - 6.1K bytes - Viewed (0) -
platforms/core-runtime/time/src/main/java/org/gradle/internal/time/ExponentialBackoff.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 12 08:49:35 UTC 2024 - 4.8K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonStopEvent.java
+ ", pid=" + pid + ", status=" + status + "}"; } boolean occurredInLastHours(final int numHours) { Calendar cal = Calendar.getInstance(); cal.setTime(new Date(System.currentTimeMillis())); cal.add(Calendar.HOUR_OF_DAY, -1 * numHours); return timestamp.after(cal.getTime()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:38 UTC 2024 - 4.1K bytes - Viewed (0)