- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 73 for nanotime1 (0.05 sec)
-
lib/wasm/wasm_exec.js
// func resetMemoryDataView() "runtime.resetMemoryDataView": (sp) => { sp >>>= 0; this.mem = new DataView(this._inst.exports.mem.buffer); }, // func nanotime1() int64 "runtime.nanotime1": (sp) => { sp >>>= 0; setInt64(sp + 8, (timeOrigin + performance.now()) * 1000000); }, // func walltime() (sec int64, nsec int32) "runtime.walltime": (sp) => {
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Sun Dec 08 15:34:47 UTC 2024 - 16.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/DefaultIntervalControllerTest.java
final DefaultIntervalController controller = new DefaultIntervalController(); controller.setDelayMillisAfterProcessing(0L); final long start = System.nanoTime(); controller.delayAfterProcessing(); final long elapsed = (System.nanoTime() - start) / 1000000; assertTrue("No delay expected", elapsed < 50); // Should be nearly instant } /**
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:58:39 UTC 2025 - 8.1K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt
ioe: IOException, ) = onEvent(ResponseFailed(System.nanoTime(), call, ioe)) override fun callEnd(call: Call) = onEvent(CallEnd(System.nanoTime(), call)) override fun callFailed( call: Call, ioe: IOException, ) = onEvent(CallFailed(System.nanoTime(), call, ioe)) override fun canceled(call: Call) = onEvent(Canceled(System.nanoTime(), call)) override fun satisfactionFailure( call: Call,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.3K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/CancelCall.kt
.build() val startNanos = System.nanoTime() val call = client.newCall(request) // Schedule a job to cancel the call in 1 second. executor.schedule({ System.out.printf("%.2f Canceling call.%n", (System.nanoTime() - startNanos) / 1e9f) call.cancel() System.out.printf("%.2f Canceled call.%n", (System.nanoTime() - startNanos) / 1e9f) }, 1, TimeUnit.SECONDS)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt
redQueue.execute("task one", 100.µs) { log += "one:run@${taskFaker.nanoTime} parallel=${taskFaker.isParallel}" } redQueue.execute("task two", 100.µs) { log += "two:run@${taskFaker.nanoTime} parallel=${taskFaker.isParallel}" } redQueue.execute("task three", 100.µs) { log += "three:run@${taskFaker.nanoTime} parallel=${taskFaker.isParallel}" } taskFaker.advanceUntil(0.µs)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 23K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java
final long start1 = System.nanoTime(); controller.delayBeforeProcessing(); final long elapsed1 = (System.nanoTime() - start1) / 1000000; assertTrue("First access should not delay", elapsed1 < 50); // Second access to same host - should delay q.setUrl("http://example.com/page2"); final long start2 = System.nanoTime(); controller.delayBeforeProcessing();Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 11.4K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt
): T? { return taskRunner.withLock { val waitUntil = nanoTime + unit.toNanos(timeout) while (true) { val result = poll() if (result != null) return@withLock result if (nanoTime >= waitUntil) return@withLock null val editCountBefore = editCount yieldUntil { nanoTime >= waitUntil || editCount > editCountBefore } }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 11.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/MonotonicClock.java
* }</pre> * * @see System#nanoTime() * @see Clock */ public class MonotonicClock extends Clock { private static final MonotonicClock CLOCK = new MonotonicClock(); private final long startNanos; private final Instant startInstant; /** * Private constructor to enforce singleton pattern. * Initializes the clock with the current system time and nanoTime. */ private MonotonicClock() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 15 06:28:29 UTC 2025 - 5.6K bytes - Viewed (0)