Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 311 for resync (0.04 sec)

  1. guava-gwt/src-super/com/google/common/escape/super/com/google/common/escape/Platform.java

        // ThreadLocal is not available to GWT, so we always reuse the same
        // instance.  It is always safe to return the same instance because
        // javascript is single-threaded, and only used by blocks that doesn't
        // involve async callbacks.
        return CHAR_BUFFER;
      }
    
      private Platform() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  2. docs/ja/docs/tutorial/background-tasks.md

    **FastAPI** は、`BackgroundTasks` 型のオブジェクトを作成し、そのパラメーターに渡します。
    
    ## タスク関数の作成
    
    バックグラウンドタスクとして実行される関数を作成します。
    
    これは、パラメーターを受け取ることができる単なる標準的な関数です。
    
    これは `async def` または通常の `def` 関数であり、**FastAPI** はこれを正しく処理します。
    
    ここで、タスク関数はファイル書き込みを実行します (メール送信のシミュレーション)。
    
    また、書き込み操作では `async` と `await` を使用しないため、通常の `def` で関数を定義します。
    
    {* ../../docs_src/background_tasks/tutorial001.py hl[6:9] *}
    
    ## バックグラウンドタスクの追加
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/first-steps.md

    Neste caso, é uma função `assíncrona`.
    
    ---
    
    Você também pode defini-la como uma função normal em vez de `async def`:
    
    {* ../../docs_src/first_steps/tutorial003.py hl[7] *}
    
    /// note | Nota
    
    Se você não sabe a diferença, verifique o [Async: *"Com pressa?"*](../async.md#com-pressa){.internal-link target=_blank}.
    
    ///
    
    ### Passo 5: retorne o conteúdo
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Jan 09 20:41:07 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/first-steps.md

    これは、Pythonの関数です。
    
    この関数は、`GET`オペレーションを使ったURL「`/`」へのリクエストを受け取るたびに**FastAPI**によって呼び出されます。
    
    この場合、この関数は`async`関数です。
    
    ---
    
    `async def`の代わりに通常の関数として定義することもできます:
    
    {* ../../docs_src/first_steps/tutorial003.py hl[7] *}
    
    /// note | 備考
    
    違いが分からない場合は、[Async: *"急いでいますか?"*](../async.md#_1){.internal-link target=_blank}を確認してください。
    
    ///
    
    ### Step 5: コンテンツの返信
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/background-tasks.md

    It is just a standard function that can receive parameters.
    
    It can be an `async def` or normal `def` function, **FastAPI** will know how to handle it correctly.
    
    In this case, the task function will write to a file (simulating sending an email).
    
    And as the write operation doesn't use `async` and `await`, we define the function with normal `def`:
    
    {* ../../docs_src/background_tasks/tutorial001.py hl[6:9] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/background-tasks.md

    É apenas uma função padrão que pode receber parâmetros.
    
    Pode ser uma função `async def` ou `def` normal, o **FastAPI** saberá como lidar com isso corretamente.
    
    Nesse caso, a função de tarefa gravará em um arquivo (simulando o envio de um e-mail).
    
    E como a operação de gravação não usa `async` e `await`, definimos a função com `def` normal:
    
    {* ../../docs_src/background_tasks/tutorial001.py hl[6:9] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Nov 10 17:23:38 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. docs/es/docs/tutorial/background-tasks.md

    Es solo una función estándar que puede recibir parámetros.
    
    Puede ser una función `async def` o una función normal `def`, **FastAPI** sabrá cómo manejarla correctamente.
    
    En este caso, la función de tarea escribirá en un archivo (simulando el envío de un email).
    
    Y como la operación de escritura no usa `async` y `await`, definimos la función con un `def` normal:
    
    {* ../../docs_src/background_tasks/tutorial001.py hl[6:9] *}
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. cmd/metacache-manager.go

    	trash:   make(map[string]metacache),
    }
    
    type metacacheManager struct {
    	mu      sync.RWMutex
    	init    sync.Once
    	buckets map[string]*bucketMetacache
    	trash   map[string]metacache // Recently deleted lists.
    }
    
    const metacacheMaxEntries = 5000
    
    // initManager will start async saving the cache.
    func (m *metacacheManager) initManager() {
    	// Add a transient bucket.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/CommonServerMessageBlockResponse.java

     *
     * @author mbechler
     */
    public interface CommonServerMessageBlockResponse extends CommonServerMessageBlock, Response {
    
        /**
         * Checks if this is an asynchronous response.
         *
         * @return is an async response
         */
        boolean isAsync();
    
        /**
         *
         * @return the next response
         */
        @Override
        CommonServerMessageBlockResponse getNextResponse();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. cmd/metrics-v3-cluster-iam.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"sync/atomic"
    	"time"
    )
    
    const (
    	lastSyncDurationMillis                 = "last_sync_duration_millis"
    	pluginAuthnServiceFailedRequestsMinute = "plugin_authn_service_failed_requests_minute"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu May 02 08:20:42 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top