Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 670 for dependente (0.08 seconds)

  1. docs/ru/docs/tutorial/background-tasks.md

    * Любые именованные аргументы, которые должны быть переданы функции задачи (`message="some notification"`).
    
    ## Встраивание зависимостей { #dependency-injection }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/TimeLimiter.java

       * the caller when the timeout elapses; aborting the target method call is of secondary concern.
       * The particular nature and strength of the guarantees made by the proxy is
       * implementation-dependent. However, it is important that each of the methods on the target
       * object behaves appropriately when its thread is interrupted.
       *
       * <p>For example, to return the value of {@code target.someMethod()}, but substitute {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  3. guava/src/com/google/common/cache/Cache.java

      ConcurrentMap<K, V> asMap();
    
      /**
       * Performs any pending maintenance operations needed by the cache. Exactly which activities are
       * performed -- if any -- is implementation-dependent.
       */
      void cleanUp();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 8K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ThirdPartyAuditTask.java

    import org.elasticsearch.gradle.dependencies.CompileOnlyResolvePlugin;
    import org.gradle.api.DefaultTask;
    import org.gradle.api.JavaVersion;
    import org.gradle.api.artifacts.Configuration;
    import org.gradle.api.artifacts.Dependency;
    import org.gradle.api.file.FileCollection;
    import org.gradle.api.file.FileTree;
    import org.gradle.api.provider.Property;
    import org.gradle.api.specs.Spec;
    import org.gradle.api.tasks.CacheableTask;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jun 17 08:59:22 GMT 2021
    - 16.2K bytes
    - Click Count (0)
  5. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/YamlRestCompatTestPluginFuncTest.groovy

                checkout(new File(projectDir, "checkoutDir"))
            }
            """
    
            buildFile << """
                apply plugin: 'elasticsearch.yaml-rest-compat-test'
    
                // avoids a dependency problem in this test, the distribution in use here is inconsequential to the test
                import org.elasticsearch.gradle.testclusters.TestDistribution;
    
                dependencies {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 16.4K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Packaging.java

     *     <li>{@code war}: Packages the project as a Web Application Archive (WAR) file.</li>
     *     <li>{@code pom}: Indicates that the project does not produce a deployable artifact but is used for dependency management or as an aggregator.</li>
     *     <li>{@code maven-plugin}: Packages the project as a Maven plugin.</li>
     * </ul>
     *
     * <h2>Usage Example</h2>
     *
     * <pre>
     * {@code
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  7. docs/zh/docs/advanced/testing-dependencies.md

    常见实例是调用外部第三方身份验证应用。
    
    向第三方应用发送令牌,然后返回经验证的用户。
    
    但第三方服务商处理每次请求都可能会收费,并且耗时通常也比调用写死的模拟测试用户更长。
    
    一般只要测试一次外部验证应用就够了,不必每次测试都去调用。
    
    此时,最好覆盖调用外部验证应用的依赖项,使用返回模拟测试用户的自定义依赖项就可以了。
    
    ### 使用 `app.dependency_overrides` 属性 { #use-the-app-dependency-overrides-attribute }
    
    对于这些用例,**FastAPI** 应用支持 `app.dependency_overrides` 属性,该属性就是**字典**。
    
    要在测试时覆盖原有依赖项,这个字典的键应当是原依赖项(函数),值是覆盖依赖项(另一个函数)。
    
    这样一来,**FastAPI** 就会调用覆盖依赖项,不再调用原依赖项。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:37:57 GMT 2026
    - 2K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/resources/forbidden/third-party-audit.txt

    # listed in the module's build.gradle file:
    #
    #   thirdPartyAudit.excludes = [
    #    // uses internal java api: sun.misc.Unsafe
    #    'org.foo.Bar',
    #    // missing class!
    #    'com.missing.dependency.WTF',
    #    // ...
    #   ]
    #
    # Wildcards are not allowed, excludes must be exact. The build also fails with
    # the message "Invalid exclusions, nothing is wrong with these classes" if
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/SmbResourceLocatorTest.java

                assertEquals("server/", root.getName());
            }
        }
    
        @Mock
        DfsReferralData dfs;
        @Mock
        Address addr;
    
        @Test
        @DisplayName("Mockito interaction – dependent objects are called appropriately")
        void testInteractionsWithStubbedDependencies() throws Exception {
            String url = "smb://server/share/";
            DummySmbResourceLocator loc = new DummySmbResourceLocator(url);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

            assertEquals("boom", ex.getMessage(), "Exception message should be preserved");
            verifyNoInteractions(mockDir);
        }
    
        /**
         * Interaction with dependency: implementation can use directory's methods to make decisions.
         * Tests a filter that uses directory path information.
         */
        @Test
        @DisplayName("filter can use SmbFile directory for decision logic")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.3K bytes
    - Click Count (0)
Back to Top