- Sort Score
- Result 10 results
- Languages All
Results 351 - 360 of 656 for iowait (0.04 sec)
-
internal/http/server.go
return http.ErrServerClosed } // Close underneath HTTP listener. srv.listenerMutex.Lock() err := srv.listener.Close() srv.listenerMutex.Unlock() if err != nil { return err } // Wait for opened connection to be closed up to Shutdown timeout. return nil } // UseIdleTimeout configure idle connection timeout func (srv *Server) UseIdleTimeout(d time.Duration) *Server { srv.IdleTimeout = d
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 6.5K bytes - Viewed (0) -
cmd/erasure-healing.go
Name: volInfo.Name, Created: volInfo.Created, count: 1, }, false }) } return nil }, index) } if err := reduceReadQuorumErrs(ctx, g.Wait(), bucketMetadataOpIgnoredErrs, readQuorum); err != nil { return err } healBuckets.Range(func(volName string, volInfo VolInfo) bool { if volInfo.count < readQuorum { healBuckets.Delete(volName) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 34.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlingParameterUtilTest.java
} finally { latch.countDown(); } }); otherThread.start(); latch.await(); // Verify other thread had different values assertEquals("other-thread", otherThreadUrlQueueSessionId.get()); assertEquals("other-context", otherThreadContextSessionId.get());Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 14.6K bytes - Viewed (0) -
cmd/admin-handlers-users-race_test.go
err := s.adm.RemoveUser(ctx, accessKeys[i]) if err != nil { return err } c.mustNotListObjects(ctx, uClient, bucket) return nil } }(i), i) } if errs := g.Wait(); len(errs) > 0 { c.Fatalf("unable to remove users: %v", errs) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4K bytes - Viewed (0) -
docs/zh/docs/tutorial/dependencies/index.md
上述这些操作都是可行的,**FastAPI** 知道该怎么处理。 /// note | 笔记 如里不了解异步,请参阅[异步:*“着急了?”*](../../async.md){.internal-link target=_blank} 一章中 `async` 和 `await` 的内容。 /// ## 与 OpenAPI 集成 依赖项及子依赖项的所有请求声明、验证和需求都可以集成至同一个 OpenAPI 概图。 所以,交互文档里也会显示依赖项的所有信息: <img src="/img/tutorial/dependencies/image01.png"> ## 简单用法Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 7K bytes - Viewed (0) -
docs/ko/docs/tutorial/testing.md
{* ../../docs_src/app_testing/tutorial001.py hl[2,12,15:18] *} /// tip | 팁 테스트를 위한 함수는 `async def` 가 아니라 `def` 로 작성됨에 주의하세요. 그리고 클라이언트에 대한 호출도 `await` 를 사용하지 않는 일반 호출입니다. 이렇게 하여 복잡한 과정 없이 `pytest` 를 직접적으로 사용할 수 있습니다. /// /// note | 기술 세부사항 `from starlette.testclient import TestClient` 역시 사용할 수 있습니다.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 7.6K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java
} @Test public void testGetHandleForReconnectExpired() { manager.requestDurableHandle("/test/file.txt", HandleType.DURABLE_V2, 100, // 100ms timeout null); // Wait for expiration try { Thread.sleep(150); } catch (InterruptedException e) { Thread.currentThread().interrupt(); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 6.6K bytes - Viewed (0) -
cmd/dynamic-timeouts_test.go
timeout.LogSuccess(time.Duration(float64(time.Second) * rng.Float64())) } to := timeout.Timeout() if to < time.Millisecond || to > time.Second { panic(to) } } }() } wg.Wait() } func TestDynamicTimeoutHitMinimum(t *testing.T) { const minimum = 30 * time.Second timeout := newDynamicTimeout(time.Minute, minimum) initial := timeout.Timeout()
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTree.java
if (connectionState == 2 || connectionState == 3) { // connected or disconnecting return; } try { session.transport.wait(); } catch (final InterruptedException ie) { throw new SmbException(ie.getMessage(), ie); } } connectionState = 1; // trying ...
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 8.1K bytes - Viewed (0) -
internal/store/batch_test.go
wg.Add(1) go func(key int) { defer wg.Done() if err := batch.Add(testItem); err != nil { t.Errorf("failed to add item %v; %v", key, err) return } }(i) } wg.Wait() batchLen := batch.Len() if batchLen != int(limit) { t.Fatalf("Expected batch.Len() %v; but got %v", limit, batchLen) } keys := store.List() if len(keys) > 0 {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.6K bytes - Viewed (0)