Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 1,253 for functions (0.05 seconds)

  1. docs/zh-hant/docs/tutorial/stream-json-lines.md

    如果你宣告了回傳型別,FastAPI 會用它來進行資料的**驗證**、在 OpenAPI 中**文件化**、**過濾**,並使用 Pydantic 進行**序列化**。
    
    /// tip
    
    由於 Pydantic 會在 **Rust** 端進行序列化,宣告回傳型別可獲得比未宣告時高得多的**效能**。
    
    ///
    
    ### 非 async 的*路徑操作函式* { #non-async-path-operation-functions }
    
    你也可以用一般的 `def` 函式(沒有 `async`),同樣用 `yield`。
    
    FastAPI 會確保正確執行,不會阻塞事件迴圈。
    
    因為這種情況下函式不是 async,正確的回傳型別會是 `Iterable[Item]`:
    
    {* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[27:30] hl[28] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:33:04 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       * elements. The generated map is sorted by the natural ordering of the keys.
       *
       * <p>If the mapped keys contain duplicates, an {@code IllegalArgumentException} is thrown when
       * the collection operation is performed. (This differs from the {@code Collector} returned by
       * {@link Collectors#toMap(Function, Function)}, which throws an {@code IllegalStateException}.)
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 54.7K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/hash/FarmHashFingerprint64.java

      }
    
      @Override
      public int bits() {
        return 64;
      }
    
      @Override
      public String toString() {
        return "Hashing.farmHashFingerprint64()";
      }
    
      // End of public functions.
    
      @VisibleForTesting
      static long fingerprint(byte[] bytes, int offset, int length) {
        if (length <= 32) {
          if (length <= 16) {
            return hashLength0to16(bytes, offset, length);
          } else {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  4. internal/hash/reader_test.go

    package hash
    
    import (
    	"bytes"
    	"encoding/base64"
    	"encoding/hex"
    	"fmt"
    	"io"
    	"testing"
    
    	"github.com/minio/minio/internal/ioutil"
    )
    
    // Tests functions like Size(), MD5*(), SHA256*()
    func TestHashReaderHelperMethods(t *testing.T) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  5. docs/zh/docs/tutorial/server-sent-events.md

    {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[1:25] hl[10:12,23] *}
    
    /// tip | 提示
    
    由于 Pydantic 会在**Rust** 端序列化它,相比未声明返回类型,你将获得更高的**性能**。
    
    ///
    
    ### 非 async 的*路径操作函数* { #non-async-path-operation-functions }
    
    你也可以使用常规的 `def` 函数(没有 `async`),并以同样的方式使用 `yield`。
    
    FastAPI 会确保其正确运行,从而不阻塞事件循环。
    
    由于此时函数不是 async,正确的返回类型应为 `Iterable[Item]`:
    
    {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[28:31] hl[29] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:29:48 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/Tables.java

              V,
              I extends Table<R, C, V>>
          Collector<T, ?, I> toTable(
              java.util.function.Function<? super T, ? extends R> rowFunction,
              java.util.function.Function<? super T, ? extends C> columnFunction,
              java.util.function.Function<? super T, ? extends V> valueFunction,
              java.util.function.Supplier<I> tableSupplier) {
        return TableCollectors.<T, R, C, V, I>toTable(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 24.9K bytes
    - Click Count (0)
  7. cmd/veeam-sos-api.go

    //     Agents to directly backup to object storage.
    //
    // An object storage system can implement one, multiple, or all functions.
    //
    //   - Optional (mandatory if <IAMSTS> is true): Set Endpoints for IAM and STS processing.
    //
    //   - Optional: Set server preferences for Backup & Replication parallel sessions, batch size of deletes, and block sizes (before
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 15 00:34:56 GMT 2024
    - 8.8K bytes
    - Click Count (0)
  8. okhttp/api/jvm/okhttp.api

    	public abstract fun tag (Ljava/lang/Class;)Ljava/lang/Object;
    	public abstract fun tag (Ljava/lang/Class;Lkotlin/jvm/functions/Function0;)Ljava/lang/Object;
    	public abstract fun tag (Lkotlin/reflect/KClass;)Ljava/lang/Object;
    	public abstract fun tag (Lkotlin/reflect/KClass;Lkotlin/jvm/functions/Function0;)Ljava/lang/Object;
    	public abstract fun timeout ()Lokio/Timeout;
    }
    
    public abstract interface class okhttp3/Call$Factory {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 72.3K bytes
    - Click Count (0)
  9. docs/ja/docs/tutorial/server-sent-events.md

    /// tip | 豆知識
    
    Pydantic が**Rust** 側でシリアライズを行うため、戻り値の型を宣言しない場合に比べて大幅に**高性能**になります。
    
    ///
    
    ### 非 async の *path operation 関数* { #non-async-path-operation-functions }
    
    通常の `def` 関数(`async` なし)も使用でき、同様に `yield` を使えます。
    
    イベントループをブロックしないよう、FastAPI が正しく実行されるように調整します。
    
    この場合は関数が async ではないため、適切な戻り値の型は `Iterable[Item]` です:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:55:22 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  10. cmd/bucket-policy-handlers_test.go

    		}
    	}
    
    	// Test for Anonymous/unsigned http request.
    	// Bucket policy related functions doesn't support anonymous requests, setting policies shouldn't make a difference.
    	bucketPolicyStr := fmt.Sprintf(bucketPolicyTemplate, bucketName, bucketName)
    	// create unsigned HTTP request for PutBucketPolicyHandler.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 32.9K bytes
    - Click Count (0)
Back to Top