Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 452 for iowait (2.46 sec)

  1. docs/he/docs/index.md

        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    <summary>או השתמשו ב - <code>async def</code>...</summary>
    
    אם הקוד שלכם משתמש ב - `async` / `await`, השתמשו ב - `async def`:
    
    ```Python hl_lines="9  14"
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_root():
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/TestLocking.java

                final byte[] buf = new byte[1024];
    
                for (int ii = 0; ii < numIter; ii++) {
    
                    synchronized (this) {
                        ltime = System.currentTimeMillis();
                        wait();
                    }
    
                    try {
                        final double r = Math.random();
                        if (r < 0.333) {
                            f.exists();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. 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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Dec 10 11:24:48 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/testing.md

    {* ../../docs_src/app_testing/tutorial001.py hl[2,12,15:18] *}
    
    /// tip
    
    Notice that the testing functions are normal `def`, not `async def`.
    
    And the calls to the client are also normal calls, not using `await`.
    
    This allows you to use `pytest` directly without complications.
    
    ///
    
    /// note | Technical Details
    
    You could also use `from starlette.testclient import TestClient`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbCopyUtil.java

                        synchronized (w) {
                            w.checkException();
                            while (!w.isReady()) {
                                try {
                                    w.wait();
                                } catch (final InterruptedException ie) {
                                    throw new SmbException(dest.getURL().toString(), ie);
                                }
                            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Service.java

       */
      void awaitRunning();
    
      /**
       * Waits for the {@link Service} to reach the {@linkplain State#RUNNING running state} for no more
       * than the given time.
       *
       * @param timeout the maximum time to wait
       * @param unit the time unit of the timeout argument
       * @throws TimeoutException if the service has not reached the given state within the deadline
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. docs/resiliency/resiliency-initial-script.sh

    # This script will not and should not be executed in the self hosted runner
    
    echo "script failed" >resiliency-initial.log # assume initial state
    
    echo "sleep to wait for MinIO Server to be ready prior mc commands"
    # https://github.com/minio/mc/issues/3599
    
    MINIO_SERVER_URL="http://127.0.0.1:9000"
    ALIAS_NAME=myminio
    BUCKET="test-bucket"
    SRC_DIR="/tmp/data"
    INLINED_DIR="/tmp/inlined"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Dec 21 04:24:45 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. cmd/erasure-object.go

    			if err != nil {
    				return err
    			}
    			diskVersions[index] = resp.Sign
    			dataDirs[index] = resp.OldDataDir
    			return nil
    		}, index)
    	}
    
    	// Wait for all renames to finish.
    	errs := g.Wait()
    
    	err := reduceWriteQuorumErrs(ctx, errs, objectOpIgnoredErrs, writeQuorum)
    	if err != nil {
    		dg := errgroup.WithNErrs(len(disks))
    		for index, nerr := range errs {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/amd64error.s

    	CLDEMOTE BX                      // ERROR "invalid instruction"
    	// WAITPKG instructions:
    	TPAUSE (BX)                      // ERROR "invalid instruction"
    	UMONITOR (BX)                    // ERROR "invalid instruction"
    	UMWAIT (BX)                      // ERROR "invalid instruction"
    	// .Z instructions
    	VMOVDQA32.Z Z0, Z1               // ERROR "mask register must be specified for .Z instructions"
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            };
    
            InputStreamThread thread = new InputStreamThread(is, StandardCharsets.UTF_8, 100, callback);
            thread.start();
    
            assertTrue("Should process all lines within timeout", latch.await(3, TimeUnit.SECONDS));
    
            thread.join(1000);
    
            assertEquals("All lines should be processed", 5000, receivedLines.size());
            assertEquals("First line", "Line number 0", receivedLines.get(0));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top