- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 492 for loom (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/zh-hant/docs/advanced/async-tests.md
由於測試函式現在是非同步的,你也可以在測試中呼叫(並 `await`)其他 `async` 函式,和在程式碼其他地方一樣。 /// tip 如果在將非同步呼叫整合進測試時遇到 `RuntimeError: Task attached to a different loop`(例如使用 [MongoDB 的 MotorClient](https://stackoverflow.com/questions/41584243/runtimeerror-task-attached-to-a-different-loop) 時),請記得:需要事件迴圈的物件只應在非同步函式內實例化,例如在 `@app.on_event("startup")` 回呼中。
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 3.5K bytes - Click Count (0) -
docs/de/docs/advanced/stream-data.md
Aber in vielen Fällen würde das Lesen einer Datei oder eines dateiähnlichen Objekts blockieren. /// Um die Event-Loop nicht zu blockieren, können Sie die Pfadoperation-Funktion einfach mit normalem `def` statt `async def` deklarieren, dadurch führt FastAPI sie in einem Threadpool-Worker aus, um die Haupt-Event-Loop nicht zu blockieren. {* ../../docs_src/stream_data/tutorial002_py310.py ln[30:34] hl[31] *} /// tip | TippCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:48:21 GMT 2026 - 6K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt
assertThat(e).isInstanceOf(ConnectionEvent.ConnectStart::class.java) } else { eventSequence.forEach loop@{ when (e.closes(it)) { null -> return // no open event true -> return // found open event false -> return@loop // this is not the open event so continue } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 5.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/EvictingQueue.java
* of the queue is evicted to make room. * * @return {@code true} always */ @Override @CanIgnoreReturnValue public boolean offer(E e) { return add(e); } /** * Adds the given element to this queue. If the queue is currently full, the element at the head * of the queue is evicted to make room. * * @return {@code true} always */ @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4.6K bytes - Click Count (0) -
internal/disk/stat_linux.go
if firstTime { bfs, err := blockdevice.NewDefaultFS() if err == nil { devName := "" diskstats, _ := bfs.ProcDiskstats() for _, dstat := range diskstats { // ignore all loop devices if strings.HasPrefix(dstat.DeviceName, "loop") { continue } if dstat.MajorNumber == info.Major && dstat.MinorNumber == info.Minor { devName = dstat.DeviceName break } } if devName != "" {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.8K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Throwables.java
* </pre> * * @throws IllegalArgumentException if there is a loop in the causal chain */ public static Throwable getRootCause(Throwable throwable) { // Keep a second pointer that slowly walks the causal chain. If the fast pointer ever catches // the slower pointer, then there's a loop. Throwable slowPointer = throwable; boolean advanceSlowPointer = false;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 20.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
void throwsSmbExceptionFromFilter() { SmbFilenameFilter filter = (dir, name) -> { throw new SmbException("boom"); }; SmbException ex = assertThrows(SmbException.class, () -> filter.accept(mockDir, "x")); assertEquals("boom", ex.getMessage(), "Exception message should be preserved"); verifyNoInteractions(mockDir); } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
removeWaiter(node); break long_wait_loop; // jump down to the busy wait loop } } } oldHead = waitersField; // re-read and loop. } while (oldHead != Waiter.TOMBSTONE); } // re-read valueField, if we get here then we must have observed a TOMBSTONE while trying to
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 33.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java
* to test it. */ return; } /* * Only under Windows (or hypothetically when running with some other non-POSIX, ACL-based * filesystem) does our prod code look up the username. Thus, this test doesn't necessarily test * anything interesting under most environments. Still, we can run it (except for Android, atCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Sep 25 19:16:54 GMT 2025 - 4.1K bytes - Click Count (0) -
doc/next/6-stdlib/99-minor/net/http/77370.md
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Mar 24 13:29:25 GMT 2026 - 863 bytes - Click Count (0)