Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 1,265 for operation (0.11 sec)

  1. guava/src/com/google/common/hash/Striped64.java

       * which is still better than alternatives.
       *
       * Per-thread hash codes are initialized to random values.
       * Contention and/or table collisions are indicated by failed
       * CASes when performing an update operation (see method
       * retryUpdate). Upon a collision, if the table size is less than
       * the capacity, it is doubled in size unless some other thread
       * holds the lock. If a hashed slot is empty, and lock is
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/generate-clients.md

    ### 客户端方法名称
    
    现在生成的方法名像 `createItemItemsPost` 看起来不太简洁:
    
    ```TypeScript
    ItemsService.createItemItemsPost({name: "Plumbus", price: 5})
    ```
    
    ...这是因为客户端生成器为每个 *路径操作* 使用OpenAPI的内部 **操作 ID(operation ID)**。
    
    OpenAPI要求每个操作 ID 在所有 *路径操作* 中都是唯一的,因此 FastAPI 使用**函数名**、**路径**和**HTTP方法/操作**来生成此操作ID,因为这样可以确保这些操作 ID 是唯一的。
    
    但接下来我会告诉你如何改进。 🤓
    
    ## 自定义操作ID和更好的方法名
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. docs/zh/docs/advanced/security/oauth2-scopes.md

    ///
    
    **FastAPI** 的 `fastapi.security.oauth2` 里包含了所有 OAuth2 身份验证流工具。
    
    ## 装饰器 `dependencies` 中的 `Security`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/BloomFilter.java

      interface Strategy extends java.io.Serializable {
    
        /**
         * Sets {@code numHashFunctions} bits of the given bit array, by hashing a user element.
         *
         * <p>Returns whether any bits changed as a result of this operation.
         */
        <T extends @Nullable Object> boolean put(
            @ParametricNullness T object,
            Funnel<? super T> funnel,
            int numHashFunctions,
            LockFreeBitArray bits);
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/bigger-applications.md

    我们还可以添加一个 `tags` 列表和额外的 `responses` 列表,这些参数将应用于此路由器中包含的所有*路径操作*。
    
    我们可以添加一个 `dependencies` 列表,这些依赖项将被添加到路由器中的所有*路径操作*中,并将针对向它们发起的每个请求执行/解决。
    
    /// tip
    
    请注意,和[*路径操作装饰器*中的依赖项](dependencies/dependencies-in-path-operation-decorators.md){.internal-link target=_blank}很类似,没有值会被传递给你的*路径操作函数*。
    
    ///
    
    最终结果是项目相关的路径现在为:
    
    * `/items/`
    * `/items/{item_id}`
    
    ...如我们所愿。
    
    * 它们将被标记为仅包含单个字符串 `"items"` 的标签列表。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  6. cmd/bucket-lifecycle.go

    	}
    
    	// Now, delete object from hot-tier namespace
    	if _, err := objectAPI.DeleteObject(ctx, oi.Bucket, oi.Name, opts); err != nil {
    		return err
    	}
    
    	// Send audit for the lifecycle delete operation
    	defer auditLogLifecycle(ctx, *oi, ILMExpiry, tags, traceFn)
    
    	eventName := event.ObjectRemovedDelete
    	if oi.DeleteMarker {
    		eventName = event.ObjectRemovedDeleteMarkerCreated
    	}
    	objInfo := ObjectInfo{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/security/oauth2-jwt.md

    /// tip
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python hl_lines="90-107"
    {!> ../../docs_src/security/tutorial004.py!}
    ```
    
    ////
    
    ## Update the `/token` *path operation*
    
    Create a `timedelta` with the expiration time of the token.
    
    Create a real JWT access token and return it.
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="118-133"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:45:10 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/math/BigIntegerMath.java

         * This iteration has the following two properties:
         *
         * a) every iteration (except potentially the first) has guess >= floor(sqrt(x)). This is
         * because guess' is the arithmetic mean of guess and x / guess, sqrt(x) is the geometric mean,
         * and the arithmetic mean is always higher than the geometric mean.
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  9. internal/config/identity/plugin/config.go

    }
    
    // AuthNErrorResponse - represents an error response from the authN plugin.
    type AuthNErrorResponse struct {
    	Reason string `json:"reason"`
    }
    
    // AuthNResponse - represents a result of the authentication operation.
    type AuthNResponse struct {
    	Success *AuthNSuccessResponse
    	Failure *AuthNErrorResponse
    }
    
    const (
    	minValidityDurationSeconds int = 900
    	maxValidityDurationSeconds int = 365 * 24 * 3600
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. docs/em/docs/advanced/security/oauth2-scopes.md

    **FastAPI** 🔌 🚙 🌐 👫 Oauth2️⃣ 🤝 💧 `fastapi.security.oauth2`.
    
    ## `Security` 👨‍🎨 `dependencies`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top