- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NewTime (0.03 sec)
-
src/test/java/jcifs/tests/FileAttributesTest.java
f.setCreateTime(time); long newTime = f.createTime(); if ( newTime == orig ) { Assume.assumeTrue("Create time was not changed", false); } assertEquals(time, newTime); } catch ( SmbUnsupportedOperationException e ) {
Registered: 2025-05-25 00:10 - Last Modified: 2023-01-05 13:09 - 12.3K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt
} /** Advance the simulated clock, then runs tasks that are ready. Used by the test thread only. */ fun advanceUntil(newTime: Long) { taskRunner.assertLockNotHeld() taskRunner.withLock { check(currentTask == TestThreadSerialTask) nanoTime = newTime yieldUntil(ResumePriority.AfterOtherTasks) } } /** Confirm all tasks have completed. Used by the test thread only. */
Registered: 2025-05-30 11:42 - Last Modified: 2025-05-28 23:28 - 11.9K bytes - Viewed (0)