Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 704 for iowait (0.12 seconds)

  1. 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));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 12K bytes
    - Click Count (0)
  2. docs/fr/docs/index.md

    def read_item(item_id: int, q: str | None = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    <summary>Ou utilisez <code>async def</code>...</summary>
    
    Si votre code utilise `async` / `await`, utilisez `async def` :
    
    ```Python hl_lines="7  12"
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    async def read_root():
        return {"Hello": "World"}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  3. internal/config/notify/legacy.go

    		},
    		config.KV{
    			Key:   target.AmqpDurable,
    			Value: config.FormatBool(cfg.Durable),
    		},
    		config.KV{
    			Key:   target.AmqpNoWait,
    			Value: config.FormatBool(cfg.NoWait),
    		},
    		config.KV{
    			Key:   target.AmqpAutoDeleted,
    			Value: config.FormatBool(cfg.AutoDeleted),
    		},
    		config.KV{
    			Key:   target.AmqpQueueDir,
    			Value: cfg.QueueDir,
    		},
    		config.KV{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Apr 27 04:30:57 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

            "R0.20, R0.10, R0.10, R0.10"); // #7 (cont.), note, this matches #5
      }
    
      public void testBurstyAndUpdate() {
        RateLimiter rateLimiter = RateLimiter.create(1.0, stopwatch);
        rateLimiter.acquire(1); // no wait
        rateLimiter.acquire(1); // R1.00, to repay previous
    
        rateLimiter.setRate(2.0); // update the rate!
    
        rateLimiter.acquire(1); // R1.00, to repay previous (the previous was under the old rate!)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 22K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

            "R0.20, R0.10, R0.10, R0.10"); // #7 (cont.), note, this matches #5
      }
    
      public void testBurstyAndUpdate() {
        RateLimiter rateLimiter = RateLimiter.create(1.0, stopwatch);
        rateLimiter.acquire(1); // no wait
        rateLimiter.acquire(1); // R1.00, to repay previous
    
        rateLimiter.setRate(2.0); // update the rate!
    
        rateLimiter.acquire(1); // R1.00, to repay previous (the previous was under the old rate!)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 22K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

          assertWithMessage("Loader should NOT have been called @#%s", i)
              .that(loader.wasCalled())
              .isFalse();
        }
    
        // wait for entries to expire, but don't call expireEntries
        ticker.advance(EXPIRING_TIME * 10, MILLISECONDS);
    
        // add a single unexpired entry
        cache.getUnchecked(KEY_PREFIX + 11);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  7. .teamcity/README.md

      - Select `Synchronization enabled` - `use settings from VCS` - `MyNewVcsRoot`(the one you just created) - `Settings format: Kotlin`, then `Apply`.
    - At the popup window, click `Import Settings from VCS`. Wait a few seconds. 
      - If the error says "Context Parameter 'Branch' missing", it's ok. Click into the error and add a context parameter `Branch` with value `myTestBranch`. Go back and it automatically reloads.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 06 23:02:25 GMT 2024
    - 4K bytes
    - Click Count (0)
  8. docs/ko/docs/tutorial/background-tasks.md

    백그라운드 작업으로 실행할 함수를 생성합니다.
    
    이는 매개변수를 받을 수 있는 표준 함수일 뿐입니다.
    
    `async def` 함수일 수도, 일반 `def` 함수일 수도 있으며, **FastAPI**가 이를 올바르게 처리하는 방법을 알고 있습니다.
    
    이 경우 작업 함수는 파일에 쓰기를 수행합니다(이메일 전송을 시뮬레이션).
    
    그리고 쓰기 작업은 `async`와 `await`를 사용하지 않으므로, 일반 `def`로 함수를 정의합니다:
    
    {* ../../docs_src/background_tasks/tutorial001_py310.py hl[6:9] *}
    
    ## 백그라운드 작업 추가 { #add-the-background-task }
    
    *경로 처리 함수* 내부에서 `.add_task()` 메서드로 작업 함수를 *백그라운드 작업* 객체에 전달합니다:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  9. docs/pt/docs/tutorial/background-tasks.md

    Neste caso, a função da tarefa escreverá em um arquivo (simulando o envio de um e-mail).
    
    E como a operação de escrita não usa `async` e `await`, definimos a função com um `def` normal:
    
    {* ../../docs_src/background_tasks/tutorial001_py310.py hl[6:9] *}
    
    ## Adicione a tarefa em segundo plano { #add-the-background-task }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  10. benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/TermsReduceBenchmark.java

            CountDownLatch latch = new CountDownLatch(shards.size());
            for (int i = 0; i < shards.size(); i++) {
                consumer.consumeResult(shards.get(i), () -> latch.countDown());
            }
            latch.await();
            SearchPhaseController.ReducedQueryPhase phase = consumer.reduce();
            executor.shutdownNow();
            return phase;
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Aug 20 15:45:38 GMT 2021
    - 8.1K bytes
    - Click Count (0)
Back to Top