Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 704 for iowait (0.07 seconds)

  1. ci/devinfra/docker/windows/Dockerfile

             'msys2.tar.xz'); \
        Start-Process -FilePath \"C:\Program Files\7-Zip\7z.exe\" -ArgumentList 'x msys2.tar.xz -oC:\TEMP\msys2.tar' -Wait; \
        Start-Process -FilePath \"C:\Program Files\7-Zip\7z.exe\" -ArgumentList 'x C:\TEMP\msys2.tar -oC:\tools' -Wait; \
        $env:PATH = [Environment]::GetEnvironmentVariable('PATH', 'Machine') + ';C:\tools\msys64;C:\tools\msys64\usr\bin\'; \
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Jan 17 16:35:57 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  2. cmd/erasure-server-pool.go

    		g.Go(func() error {
    			// Get the set where it would be placed.
    			storageInfos[index] = getDiskInfos(ctx, pool.getHashedSet(object).getDisks()...)
    			return nil
    		}, index)
    	}
    
    	// Wait for the go routines.
    	g.Wait()
    
    	for i, zinfo := range storageInfos {
    		if zinfo == nil {
    			serverPools[i] = poolAvailableSpace{Index: i}
    			continue
    		}
    		var available uint64
    		if !isMinioMetaBucketName(bucket) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 89.2K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb1/trans/TransWaitNamedPipe.java

    import jcifs.Configuration;
    
    /**
     * SMB1 Transaction Wait Named Pipe request implementation.
     * Implements the TRANS_WAIT_NAMED_PIPE transaction to wait for a named pipe
     * to become available when the pipe server is busy or temporarily unavailable.
     *
     * @author mbechler
     */
    public class TransWaitNamedPipe extends SmbComTransaction {
    
        /**
         * Constructs a wait request for a named pipe.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  4. docs/tr/docs/advanced/stream-data.md

    ### Dosyalar ve Async { #files-and-async }
    
    Çoğu durumda dosya benzeri nesneler, varsayılan olarak async ve await ile uyumlu değildir.
    
    Örneğin, `await file.read()` ya da `async for chunk in file` gibi şeyler yoktur.
    
    Ve birçok durumda, diskte ya da ağda okundukları için, okumak engelleyici (event loop'u bloke edebilen) bir işlem olabilir.
    
    /// info | Bilgi
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:51:35 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  5. docs/zh/docs/advanced/custom-response.md

    采用异步生成器或普通生成器/迭代器(带有 `yield` 的函数),然后流式传输响应主体。
    
    {* ../../docs_src/custom_response/tutorial007_py310.py hl[3,16] *}
    
    /// note | 技术细节
    
    一个 `async` 任务只有在到达 `await` 时才能被取消。如果没有 `await`,生成器(带有 `yield` 的函数)无法被正确取消,即使已请求取消也可能继续运行。
    
    由于这个小示例不需要任何 `await` 语句,我们添加 `await anyio.sleep(0)`,给事件循环一个处理取消的机会。
    
    对于大型或无限流,这一点更为重要。
    
    ///
    
    /// tip | 提示
    
    与其直接返回 `StreamingResponse`,更推荐遵循 [流式数据](./stream-data.md) 的写法,它更方便并在幕后为你处理取消。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  6. docs/ko/docs/tutorial/request-files.md

    * `seek(offset)`: 파일 내 `offset`(`int`) 위치의 바이트로 이동합니다.
        * 예) `await myfile.seek(0)` 를 사용하면 파일의 시작부분으로 이동합니다.
        * `await myfile.read()` 를 사용한 후 내용을 다시 읽을 때 유용합니다.
    * `close()`: 파일을 닫습니다.
    
    상기 모든 메소드들이 `async` 메소드이기 때문에 “await”을 사용하여야 합니다.
    
    예를들어, `async` *경로 처리 함수*의 내부에서 다음과 같은 방식으로 내용을 가져올 수 있습니다:
    
    ```Python
    contents = await myfile.read()
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  7. fastapi/.agents/skills/fastapi/SKILL.md

    Use `async` *path operations* only when fully certain that the logic called inside is compatible with async and await (it's called with `await`) or that doesn't block.
    
    ```python
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    # Use async def when calling async code
    @app.get("/async-items/")
    async def read_async_items():
        data = await some_async_library.fetch_items()
        return data
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  8. docs/es/docs/advanced/stream-data.md

    ### Archivos y async { #files-and-async }
    
    En la mayoría de los casos, los objetos tipo archivo no son compatibles con `async` y `await` por defecto.
    
    Por ejemplo, no tienen un `await file.read()`, ni un `async for chunk in file`.
    
    Y en muchos casos leerlos sería una operación bloqueante (que podría bloquear el event loop), porque se leen desde disco o desde la red.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:12:26 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            byte[] payload = new byte[] { 1, 2, 3, 4 };
    
            w.start();
    
            // Wait until writer thread signals readiness
            synchronized (w) {
                long deadline = System.currentTimeMillis() + 2000;
                while (!w.isReady() && System.currentTimeMillis() < deadline) {
                    w.wait(10);
                }
                assertTrue(w.isReady(), "WriterThread should be ready to accept work");
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/Monitor.java

       */
    
      @GuardedBy("lock")
      private void await(Guard guard, boolean signalBeforeWaiting) throws InterruptedException {
        if (signalBeforeWaiting) {
          signalNextWaiter();
        }
        beginWaitingFor(guard);
        try {
          do {
            guard.condition.await();
          } while (!guard.isSatisfied());
        } finally {
          endWaitingFor(guard);
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 43.5K bytes
    - Click Count (0)
Back to Top