- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for LOOP (0.02 sec)
-
docs/en/docs/advanced/async-tests.md
/// tip If you encounter a `RuntimeError: Task attached to a different loop` when integrating asynchronous function calls in your tests (e.g. when using <a href="https://stackoverflow.com/questions/41584243/runtimeerror-task-attached-to-a-different-loop" class="external-link" target="_blank">MongoDB's MotorClient</a>), remember to instantiate objects that need an event loop only within async functions, e.g. an `'@app.on_event("startup")` callback.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 3.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt
readyTask != null -> { multipleReadyTasks = true break@eachQueue } // We have a task to execute when we complete the loop. else -> { readyTask = candidate } } } // Implement the decision. when { // We have a task ready to go. Get ready.Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:30:11 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
* * @param request the request to get timeout for * @return the timeout in milliseconds */ protected abstract int getResponseTimeout(Request request); private void loop() { while (this.thread == Thread.currentThread()) { try { synchronized (this.inLock) { Long key; try {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 27.8K bytes - Viewed (0) -
src/archive/tar/strconv_test.go
{ name: "LeadingError", in: "1.abc123", want: time.Time{}, ok: false, }, } for _, tt := range tests { b.Run(tt.name, func(b *testing.B) { b.ReportAllocs() for b.Loop() { ts, err := parsePAXTime(tt.in) if (err == nil) != tt.ok { if err != nil { b.Fatal(err) } b.Fatal("expected error") } if !ts.Equal(tt.want) {Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Sep 08 17:08:20 UTC 2025 - 15K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params-str-validations.md
{* ../../docs_src/query_params_str_validations/tutorial015_an_py310.py ln[16:19] hl[17] *} #### A Random Item { #a-random-item } With `data.items()` we get an <abbr title="Something we can iterate on with a for loop, like a list, set, etc.">iterable object</abbr> with tuples containing the key and value for each dictionary item. We convert this iterable object into a proper `list` with `list(data.items())`.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 17.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
throw dre; } request.reset(); log.trace("send0", dre); } } throw new CIFSException("Loop in DFS referrals"); } /** * @param loc * @return tree handle * @throws SmbException */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (1) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
assertTrue(hasPublic || hasShared, "Should contain expected shares"); return; // Success, exit retry loop } catch (SmbAuthException e) { // Some configurations may not allow share listing without specific permissionsRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
src/bytes/bytes.go
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Sep 03 14:04:47 UTC 2025 - 35.5K bytes - Viewed (0) -
docs/en/docs/alternatives.md
/// note | Technical Details It used <a href="https://github.com/MagicStack/uvloop" class="external-link" target="_blank">`uvloop`</a> instead of the default Python `asyncio` loop. That's what made it so fast. It clearly inspired Uvicorn and Starlette, that are currently faster than Sanic in open benchmarks. /// /// check | Inspired **FastAPI** to
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 23.6K bytes - Viewed (0)