- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 265 for sleeps (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/org/codelibs/fess/auth/chain/CommandChain.java
} } currentProcess = null; } } /** * Monitor thread that handles process timeout and termination. * This thread sleeps for the specified timeout duration and terminates the process if it hasn't finished. */ protected static class MonitorThread extends Thread { /** The process to monitor. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 14.4K bytes - Click Count (0) -
cmd/data-scanner.go
t := time.Now() return func() { doneAt := time.Now() d.Sleep(ctx, doneAt.Sub(t)) } } // Sleep sleeps the specified time multiplied by the sleep factor. // If the factor is updated the sleep will be done again with the new factor. func (d *dynamicSleeper) Sleep(ctx context.Context, base time.Duration) { for { // Grab current values d.mu.RLock()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 45.5K bytes - Click Count (0) -
internal/ringbuffer/ring_buffer_test.go
rb.Reset() done := make(chan struct{}) go func() { defer close(done) time.Sleep(10 * time.Millisecond) fn() }() rb.CloseWithError(errors.New("test error")) <-done rb.Reset() done = make(chan struct{}) go func() { defer close(done) fn() }() time.Sleep(10 * time.Millisecond) rb.CloseWithError(errors.New("test error")) <-done }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 26.7K bytes - Click Count (0) -
cmd/utils.go
return len(s) >= len(prefix) && (s[0:len(prefix)] == prefix || strings.EqualFold(s[0:len(prefix)], prefix)) } func ptr[T any](a T) *T { return &a } // sleepContext sleeps for d duration or until ctx is done. func sleepContext(ctx context.Context, d time.Duration) error { select { case <-ctx.Done(): return ctx.Err() case <-time.After(d): } return nil }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 33K bytes - Click Count (0) -
docs/ru/docs/tutorial/first-steps.md
# Первые шаги { #first-steps } Самый простой файл FastAPI может выглядеть так: {* ../../docs_src/first_steps/tutorial001_py310.py *} Скопируйте это в файл `main.py`. Запустите сервер в режиме реального времени: <div class="termy"> ```console $ <font color="#4E9A06">fastapi</font> dev <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span> Starting development server 🚀Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 18.7K bytes - Click Count (0) -
docs/es/docs/tutorial/first-steps.md
# Primeros Pasos { #first-steps } El archivo FastAPI más simple podría verse así: {* ../../docs_src/first_steps/tutorial001_py310.py *} Copia eso en un archivo `main.py`. Ejecuta el servidor en vivo: <div class="termy"> ```console $ <font color="#4E9A06">fastapi</font> dev <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span> Starting development server 🚀Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 13.9K bytes - Click Count (0) -
docs/fr/docs/tutorial/first-steps.md
# Démarrer { #first-steps } Le fichier **FastAPI** le plus simple possible pourrait ressembler à ceci : {* ../../docs_src/first_steps/tutorial001_py310.py *} Copiez cela dans un fichier `main.py`. Démarrez le serveur en direct : <div class="termy"> ```console $ <font color="#4E9A06">fastapi</font> dev <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span> Starting development server 🚀Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 15.1K bytes - Click Count (0) -
docs/pt/docs/tutorial/first-steps.md
# Primeiros Passos { #first-steps } O arquivo FastAPI mais simples pode se parecer com: {* ../../docs_src/first_steps/tutorial001_py310.py *} Copie o conteúdo para um arquivo `main.py`. Execute o servidor ao vivo: <div class="termy"> ```console $ <font color="#4E9A06">fastapi</font> dev <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span> Starting development server 🚀Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 14.2K bytes - Click Count (0) -
docs/zh/docs/tutorial/first-steps.md
# 第一步 { #first-steps } 最简单的 FastAPI 文件可能像下面这样: {* ../../docs_src/first_steps/tutorial001_py310.py *} 将其复制到 `main.py` 文件中。 运行实时服务器: <div class="termy"> ```console $ <font color="#4E9A06">fastapi</font> dev <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span> Starting development server 🚀 Searching for package file structure from directoriesCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 13.3K bytes - Click Count (0) -
docs/ja/docs/tutorial/security/first-steps.md
# セキュリティ - 最初の一歩 { #security-first-steps } あるドメインに、**バックエンド** APIを持っているとしましょう。 そして、別のドメインか同じドメインの違うパス(またはモバイルアプリケーションの中)に **フロントエンド**を持っています。 さらに、フロントエンドが**ユーザー名**と**パスワード**を使って、バックエンドで認証する方法を用意したいです。 **FastAPI**では、これを**OAuth2**を使用して構築できます。 ですが、ちょっとした必要な情報を探すために、長い仕様のすべてを読む必要はありません。 **FastAPI**が提供するツールを使って、セキュリティを制御してみましょう。 ## どう見えるか { #how-it-looks } まずはこのコードを使って、どう動くか観察します。その後で、何が起こっているのか理解しましょう。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 10.8K bytes - Click Count (0)