Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 631 - 640 of 1,031 for wait (0.05 seconds)

  1. cmd/xl-storage-format-v2_test.go

    						test.input[i], test.input[j] = test.input[j], test.input[i]
    					})
    					got := mergeXLV2Versions(test.quorum, true, 0, test.input...)
    					if !reflect.DeepEqual(test.want, got) {
    						t.Errorf("want %v != got %v", test.want, got)
    					}
    				})
    			}
    		})
    	}
    }
    
    func Test_mergeEntryChannels(t *testing.T) {
    	dataZ, err := os.ReadFile("testdata/xl-meta-merge.zip")
    	if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 37.8K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

        assertEquals(3L, countDownLatch.getCount());
    
        list.execute();
    
        // Verify that all of the runnables execute in a reasonable amount of time.
        assertTrue(countDownLatch.await(1L, SECONDS));
      }
    
      public void testExecute_idempotent() {
        AtomicInteger runCalled = new AtomicInteger();
        list.add(runCalled::getAndIncrement, directExecutor());
        list.execute();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  3. docs/fr/docs/tutorial/stream-json-lines.md

    Mais normalement, vous n'avez pas à vous en soucier, c'est fait automatiquement, continuez la lecture. 🤓
    
    ///
    
    ## Cas d'utilisation { #use-cases }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:33:45 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  4. docs/ru/docs/advanced/stream-data.md

    ### Файлы и async { #files-and-async }
    
    В большинстве случаев «файлоподобные» объекты по умолчанию не совместимы с async и await.
    
    Например, у них нет `await file.read()` или `async for chunk in file`.
    
    И во многих случаях чтение таких объектов будет блокирующей операцией (которая может заблокировать цикл событий), потому что данные читаются с диска или из сети.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  5. docs/tr/docs/advanced/websockets.md

    **FastAPI**, geliştirici olarak işinizi kolaylaştırmak için aynı `WebSocket`'i doğrudan sağlar. Ancak aslında doğrudan Starlette'ten gelir.
    
    ///
    
    ## Mesajları `await` Edin ve Mesaj Gönderin { #await-for-messages-and-send-messages }
    
    WebSocket route'unuzda mesajları `await` edebilir ve mesaj gönderebilirsiniz.
    
    {* ../../docs_src/websockets_/tutorial001_py310.py hl[48:52] *}
    
    Binary, text ve JSON verisi alıp gönderebilirsiniz.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  6. tests/test_route_scope.py

    
    @app.websocket("/items/{item_id}")
    async def websocket_item(item_id: str, websocket: WebSocket):
        route: APIWebSocketRoute = websocket.scope["route"]
        await websocket.accept()
        await websocket.send_json({"item_id": item_id, "path": route.path})
    
    
    client = TestClient(app)
    
    
    def test_get():
        response = client.get("/users/rick")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Sep 29 03:29:38 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  7. tests/test_stringified_annotation_dependency.py

        client = DummyClient()
        yield client
        await client.close()
    
    
    Client = Annotated[DummyClient, Depends(get_client)]
    
    
    @pytest.fixture(name="client")
    def client_fixture() -> TestClient:
        app = FastAPI()
    
        @app.get("/")
        async def get_people(client: Client) -> list:
            return await client.get_people()
    
        client = TestClient(app)
        return client
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  8. .github/ISSUE_TEMPLATE/feature_addition_request.yaml

            just a feature that seems like a sensible addition to Guava?
    
    
            Before new features get added to Guava, we really want to be sure that it's for a use case
            that actually comes up in the real world. We want to hear the real-world use case so the
            community can discuss and debate whether this feature is actually the *best* way to address
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 5.8K bytes
    - Click Count (0)
  9. src/bufio/scan_test.go

    	scanner := NewScanner(&r)
    	c := 0
    	for scanner.Scan() {
    		c++
    		if c > 1 {
    			t.Error("read too many lines")
    			break
    		}
    	}
    	if got, want := scanner.Err(), ErrBadReadCount; got != want {
    		t.Errorf("scanner.Err: got %v, want %v", got, want)
    	}
    }
    
    // largeReader returns an invalid count that is larger than the number
    // of bytes requested.
    type largeReader struct{}
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Click Count (0)
  10. docs/ko/docs/advanced/custom-response.md

    {* ../../docs_src/custom_response/tutorial007_py310.py hl[3,16] *}
    
    /// note | 기술 세부사항
    
    `async` 작업은 `await`에 도달했을 때만 취소될 수 있습니다. `await`가 없으면 제너레이터(`yield`가 있는 함수)는 제대로 취소될 수 없고, 취소가 요청된 후에도 계속 실행될 수 있습니다.
    
    이 작은 예제는 어떤 `await`도 필요하지 않으므로, 이벤트 루프가 취소를 처리할 기회를 주기 위해 `await anyio.sleep(0)`를 추가합니다.
    
    대규모 또는 무한 스트림에서는 더욱 중요합니다.
    
    ///
    
    /// tip | 팁
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 12.4K bytes
    - Click Count (0)
Back to Top