- Sort Score
- Num 10 results
- Language All
Results 311 - 320 of 1,052 for timeIt (0.11 seconds)
-
impl/maven-core/src/test/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelperTest.java
long time2 = System.nanoTime() - start2; assertEquals("testValue", bean1.getName()); assertEquals("testValue", bean2.getName()); // Second call should be faster (though this is not guaranteed in all environments) // We mainly verify that both calls work correctly assertTrue(time2 >= 0, "Expected " + time2 + " to be >= " + 0); // Just verify it completed }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Nov 12 14:59:46 GMT 2025 - 8.7K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
/** * Awaits the next HTTP request (waiting up to the specified wait time if necessary), removes it, * and returns it. Callers should use this to verify the request was sent as intended within the * given time. * * @param timeout how long to wait before giving up, in units of [unit] * @param unit a [TimeUnit] determining how to interpret the [timeout] parameter * @return the head of the request queue */
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Aug 02 20:36:00 GMT 2025 - 40.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/WinErrorTest.java
handler.handle(WinError.WINERR_CODES[i], WinError.WINERR_MESSAGES[i]); } // Verify the collaborator is invoked exactly N times verify(handler, times(WinError.WINERR_CODES.length)).handle(anyInt(), anyString()); // Capture one known interaction to verify argument integrity
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt
} val read = source.read(sink, minOf(byteCount, left.toLong())) if (read == -1L) return -1L left -= read.toInt() return read } override fun timeout(): Timeout = source.timeout() @Throws(IOException::class) override fun close() { } @Throws(IOException::class) private fun readContinuationHeader() { val previousStreamId = streamIdCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 19.8K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java
monitor.leave(); } } @CanIgnoreReturnValue // pushed down from class to method @Override public @Nullable E poll(long timeout, TimeUnit unit) throws InterruptedException { Monitor monitor = this.monitor; if (monitor.enterWhen(notEmpty, timeout, unit)) { try { return q.poll(); } finally { monitor.leave(); } } else { return null; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 18.9K bytes - Click Count (0) -
cmd/iam.go
} if parentUser == "" { return auth.Credentials{}, time.Time{}, errInvalidArgument } if len(opts.accessKey) > 0 && len(opts.secretKey) == 0 { return auth.Credentials{}, time.Time{}, auth.ErrNoSecretKeyWithAccessKey } if len(opts.secretKey) > 0 && len(opts.accessKey) == 0 { return auth.Credentials{}, time.Time{}, auth.ErrNoAccessKeyWithSecretKey }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Oct 15 17:00:45 GMT 2025 - 76.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
"Should be able to peek() first element multiple times", "A", peekingIterator.peek()); assertEquals( "next() should still return first element after peeking", "A", peekingIterator.next()); assertEquals("Should be able to peek() at middle element", "B", peekingIterator.peek()); assertEquals( "Should be able to peek() middle element multiple times", "B", peekingIterator.peek()); assertEquals(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 8.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleType.java
* No durability - standard handle */ NONE(0), /** * SMB 2.1 durable handle - survives network loss */ DURABLE_V1(1), /** * SMB 3.0 durable handle V2 - with timeout configuration */ DURABLE_V2(2), /** * SMB 3.0 persistent handle - survives server reboot */ PERSISTENT(3); private final int value; HandleType(int value) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 1.7K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
} finally { lockStateChanged(this); } } @Override public boolean tryLock(long timeout, TimeUnit unit) throws InterruptedException { aboutToAcquire(this); try { return super.tryLock(timeout, unit); } finally { lockStateChanged(this); } } @Override public void unlock() { try {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 11 17:06:34 GMT 2025 - 35.9K bytes - Click Count (0) -
docs/pt/docs/history-design-future.md
Ele foi escolhido sobre outras alternativas anteriores por se adequar melhor em muitos casos. Muitos desenvolvedores e times já dependem do **FastAPI** para seus projetos (incluindo eu e meu time). Mas ainda há muitas melhorias e funcionalidades a vir. **FastAPI** tem um grande futuro à frente.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 4.6K bytes - Click Count (0)