Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 771 - 780 of 1,477 for function (0.38 seconds)

  1. docs/zh-hant/docs/advanced/generate-clients.md

    你可以**修改**這些操作 ID 的**產生方式**,讓它們更簡潔,並在用戶端中得到**更簡潔的方法名稱**。
    
    在這種情況下,你需要用其他方式確保每個操作 ID 都是**唯一**的。
    
    例如,你可以確保每個 *路徑操作* 都有標籤,接著根據**標籤**與 *路徑操作* 的**名稱**(函式名稱)來產生操作 ID。
    
    ### 自訂唯一 ID 產生函式 { #custom-generate-unique-id-function }
    
    FastAPI 會為每個 *路徑操作* 使用一個**唯一 ID**,它會被用於**操作 ID**,以及任何請求或回應所需的自訂模型名稱。
    
    你可以自訂該函式。它接收一個 APIRoute 並回傳字串。
    
    例如,下面使用第一個標籤(你通常只會有一個標籤)以及 *路徑操作* 的名稱(函式名稱)。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 9.1K bytes
    - Click Count (0)
  2. internal/s3select/unused-errors.go

    		cause:      err,
    	}
    }
    
    func errIllegalSQLFunctionArgument(err error) *s3Error {
    	return &s3Error{
    		code:       "IllegalSqlFunctionArgument",
    		message:    "Illegal argument was used in the SQL function.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errMultipleDataSourcesUnsupported(err error) *s3Error {
    	return &s3Error{
    		code:       "MultipleDataSourcesUnsupported",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 17.5K bytes
    - Click Count (0)
  3. fastapi/params.py

                **extra,
            )
    
    
    @dataclass(frozen=True)
    class Depends:
        dependency: Callable[..., Any] | None = None
        use_cache: bool = True
        scope: Literal["function", "request"] | None = None
    
    
    @dataclass(frozen=True)
    class Security(Depends):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/base/Verify.java

     *   <li>Use of {@link java.util.Objects#requireNonNull(Object)} is generally discouraged, since
     *       {@link #verifyNotNull(Object)} and {@link Preconditions#checkNotNull(Object)} perform the
     *       same function with more clarity.
     * </ul>
     *
     * <h3>Warning about performance</h3>
     *
     * <p>Remember that parameter values for message construction must all be computed eagerly, and
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  5. docs/ja/docs/features.md

    型を使った標準的な Python を記述します:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declare a variable as a str
    # and get editor support inside the function
    def main(user_id: str):
        return user_id
    
    
    # A Pydantic model
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    これは次のように使えます:
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  6. cmd/bucket-metadata.go

    	LifecycleConfigUpdatedAt         time.Time
    	NotificationConfigUpdatedAt      time.Time
    	BucketTargetsConfigUpdatedAt     time.Time
    	BucketTargetsConfigMetaUpdatedAt time.Time
    	// Add a new UpdatedAt field and update lastUpdate function
    
    	// Unexported fields. Must be updated atomically.
    	policyConfig           *policy.BucketPolicy
    	notificationConfig     *event.Config
    	lifecycleConfig        *lifecycle.Lifecycle
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  7. CHANGELOG/CHANGELOG-1.11.md

    * Add RequestedToCapacityRatioPriority priority function. Function is parametrized with set of points mapping node utilization (0-100) to score (0-10). ([#63929](https://github.com/kubernetes/kubernetes/pull/63929), [@losipiuk](https://github.com/losipiuk))
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Feb 06 06:04:15 GMT 2020
    - 328.4K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/util/DES.java

            squashBytesToInts(cipherText, cipherOff, tempInts, 0, 2);
            des(tempInts, tempInts, decryptKeys);
            spreadIntsToBytes(tempInts, 0, clearText, clearOff, 2);
        }
    
        // The DES function.
        private void des(final int[] inInts, final int[] outInts, final int[] keys) {
    
            int fval, work, right, leftt;
            int round;
            int keysi = 0;
    
            leftt = inInts[0];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  9. internal/grid/types.go

    type ArrayOf[T RoundTripper] struct {
    	aPool sync.Pool     // Arrays
    	ePool bpool.Pool[T] // Elements
    }
    
    // NewArrayOf returns a new ArrayOf.
    // You must provide a function that returns a new instance of T.
    func NewArrayOf[T RoundTripper](newFn func() T) *ArrayOf[T] {
    	return &ArrayOf[T]{
    		ePool: bpool.Pool[T]{New: func() T {
    			return newFn()
    		}},
    	}
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/CompactHashSet.java

    import java.util.LinkedHashSet;
    import java.util.NoSuchElementException;
    import java.util.Objects;
    import java.util.Set;
    import java.util.Spliterator;
    import java.util.Spliterators;
    import java.util.function.Consumer;
    import org.jspecify.annotations.Nullable;
    
    /**
     * CompactHashSet is an implementation of a Set. All optional operations (adding and removing) are
     * supported. The elements can be any objects.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 24.7K bytes
    - Click Count (0)
Back to Top