Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 516 for depende (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

      public void testLog2HalfEven() {
        for (BigInteger x : POSITIVE_BIGINTEGER_CANDIDATES) {
          int halfEven = BigIntegerMath.log2(x, HALF_EVEN);
          // Now figure out what rounding mode we should behave like (it depends if FLOOR was
          // odd/even).
          boolean floorWasEven = (BigIntegerMath.log2(x, FLOOR) & 1) == 0;
          assertEquals(BigIntegerMath.log2(x, floorWasEven ? HALF_DOWN : HALF_UP), halfEven);
        }
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Nov 19 01:35:24 GMT 2025
    - 27.1K bytes
    - Click Count (0)
  2. docs/zh/docs/advanced/websockets.md

    <img src="/img/tutorial/websockets/image03.png">
    
    您可以发送(和接收)多条消息:
    
    <img src="/img/tutorial/websockets/image04.png">
    
    所有这些消息都将使用同一个 WebSocket 连
    
    接。
    
    ## 使用 `Depends` 和其他依赖项
    
    在 WebSocket 端点中,您可以从 `fastapi` 导入并使用以下内容:
    
    * `Depends`
    * `Security`
    * `Cookie`
    * `Header`
    * `Path`
    * `Query`
    
    它们的工作方式与其他 FastAPI 端点/ *路径操作* 相同:
    
    {* ../../docs_src/websockets/tutorial002_an_py310.py hl[68:69,82] *}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  3. docs/ja/docs/tutorial/security/get-current-user.md

    ## 現在のユーザーの注入
    
    ですので、 `get_current_user` に対して同様に *path operation* の中で `Depends` を利用できます。
    
    {* ../../docs_src/security/tutorial002.py hl[31] *}
    
    Pydanticモデルの `User` として、 `current_user` の型を宣言することに注意してください。
    
    その関数の中ですべての入力補完や型チェックを行う際に役に立ちます。
    
    /// tip | 豆知識
    
    リクエストボディはPydanticモデルでも宣言できることを覚えているかもしれません。
    
    ここでは `Depends` を使っているおかげで、 **FastAPI** が混乱することはありません。
    
    ///
    
    /// check | 確認
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 5.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/WinErrorTest.java

     * The interface has no instance methods, so the tests focus on
     * value correctness and array integrity.  A tiny Mockito example
     * demonstrates that the interface can be mocked if another class
     * depends on it.
     */
    public class WinErrorTest {
    
        @Nested
        @DisplayName("Constant value checks")
        class ConstantValues {
            @Test
            void successIsZero() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  5. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/CheckContributorsInReleaseNotes.kt

     */
    
    package gradlebuild.buildutils.tasks
    
    import org.gradle.api.tasks.TaskAction
    import org.gradle.work.DisableCachingByDefault
    import java.util.TreeSet
    
    
    @DisableCachingByDefault(because = "Depends on GitHub API")
    abstract class CheckContributorsInReleaseNotes : AbstractCheckOrUpdateContributorsInReleaseNotes() {
        @TaskAction
        fun check() {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 28 08:29:24 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/Maven3CompatDependenciesValidator.java

                            PluginValidationManager.IssueLocality.EXTERNAL,
                            session,
                            pluginArtifact,
                            "Plugin depends on the deprecated Maven 2.x compatibility layer, which will be not supported in Maven 4.x");
                }
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  7. cmd/format-meta.go

    	formatMetaVersionV1 = "1"
    )
    
    // format.json currently has the format:
    // {
    //   "version": "1",
    //   "format": "XXXXX",
    //   "XXXXX": {
    //
    //   }
    // }
    // Here "XXXXX" depends on the backend, currently we have "fs" and "xl" implementations.
    // formatMetaV1 should be inherited by backend format structs. Please look at format-fs.go
    // and format-xl.go for details.
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 1.7K bytes
    - Click Count (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/handler/ArtifactHandler.java

        String getLanguage();
    
        /**
         * Specifies if the artifact contains java classes and can be added to the classpath.
         * Whether the artifact should be added to the classpath depends on other
         * dependency properties.
         *
         * @return if the artifact can be added to the class path
         *
         * @deprecated A value of {@code true} does not mean that the dependency should
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  9. migrator/migrator.go

    				if rel.Field.IgnoreMigration {
    					continue
    				}
    				if c := rel.ParseConstraint(); c != nil && c.Schema == dep.Statement.Schema && c.Schema != c.ReferenceSchema {
    					dep.Depends = append(dep.Depends, c.ReferenceSchema)
    				}
    
    				if rel.Type == schema.HasOne || rel.Type == schema.HasMany {
    					beDependedOn[rel.FieldSchema] = true
    				}
    
    				if rel.JoinTable != nil {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Oct 26 12:31:09 GMT 2025
    - 29.7K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/annotations/Beta.java

     * annotation implies nothing about the quality or performance of the API in question, only the fact
     * that it is not "API-frozen."
     *
     * <p>It is generally safe for <i>applications</i> to depend on beta APIs, at the cost of some extra
     * work during upgrades. However it is generally inadvisable for <i>libraries</i> (which get
     * included on users' CLASSPATHs, outside the library developers' control) to do so.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 1.8K bytes
    - Click Count (0)
Back to Top