Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 311 - 320 of 736 for depende (0.2 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/TestWithDependenciesPlugin.java

    import org.gradle.api.tasks.SourceSetContainer;
    
    import java.io.File;
    import java.util.Map;
    import java.util.stream.Collectors;
    
    import static java.util.Arrays.stream;
    
    /**
     * A plugin to run tests that depend on other plugins or modules.
     * <p>
     * This plugin will add the plugin-metadata and properties files for each
     * dependency to the test source set.
     */
    public class TestWithDependenciesPlugin implements Plugin<Project> {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.2K bytes
    - Click Count (0)
  2. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateFixedIssuesInReleaseNotes.kt

        val number: Int,
        val title: String,
        @SerializedName("html_url") val htmlUrl: String
    )
    
    
    const val FIXED_ISSUES_INTRO = "The following issues were resolved:"
    
    
    @DisableCachingByDefault(because = "Depends on GitHub API")
    abstract class UpdateFixedIssuesInReleaseNotes : DefaultTask() {
    
        @get:Internal
        abstract val releaseNotes: RegularFileProperty
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:49:33 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java

         * @return a non-null string describing the source location
         */
        @Nonnull
        String getLocation();
    
        /**
         * Resolves a new source relative to this one.
         * <p>
         * The resolution strategy depends on the source type:
         * <ul>
         *   <li>File sources resolve against their parent directory</li>
         *   <li>URL sources resolve against their base URL</li>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 29 09:46:53 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/io/CharSinkTest.java

          TestCharSink okSink = new TestCharSink();
          assertThrows(IOException.class, () -> failSource.copyTo(okSink));
          // ensure writer was closed IF it was opened (depends on implementation whether or not it's
          // opened at all if source.newReader() throws).
          assertTrue(
              "stream not closed when copying from source with option: " + option,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  5. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsProblem.java

         */
        enum Severity {
            FATAL, //
            ERROR, //
            WARNING //
        }
    
        /**
         * Gets the hint about the source of the problem. While the syntax of this hint is unspecified and depends on the
         * creator of the problem, the general expectation is that the hint provides sufficient information to the user to
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  6. src/cmd/addr2line/addr2line_test.go

    		t.Fatalf("addr2line_test.go and %s are not same file", srcPath)
    	}
    	if want := "102"; srcLineNo != want {
    		t.Fatalf("line number = %v; want %s", srcLineNo, want)
    	}
    }
    
    // This is line 101. The test depends on that.
    func TestAddr2Line(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    
    	tmpDir := t.TempDir()
    
    	// Build copy of test binary with debug symbols,
    	// since the one running now may not have them.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Sep 06 13:23:48 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/io/CharSinkTest.java

          TestCharSink okSink = new TestCharSink();
          assertThrows(IOException.class, () -> failSource.copyTo(okSink));
          // ensure writer was closed IF it was opened (depends on implementation whether or not it's
          // opened at all if source.newReader() throws).
          assertTrue(
              "stream not closed when copying from source with option: " + option,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/tutorial/security/first-steps.md

    ///
    
    變數 `oauth2_scheme` 是 `OAuth2PasswordBearer` 的實例,但同時它也是「可呼叫的」(callable)。
    
    它可以這樣被呼叫:
    
    ```Python
    oauth2_scheme(some, parameters)
    ```
    
    因此它可以配合 `Depends` 使用。
    
    ### 如何使用 { #use-it }
    
    現在你可以在相依性中傳入 `oauth2_scheme` 與 `Depends` 搭配。
    
    {* ../../docs_src/security/tutorial001_an_py310.py hl[12] *}
    
    此相依性會提供一個 `str`,指派給「路徑操作函式」的參數 `token`。
    
    FastAPI 會知道可以使用這個相依性,在 OpenAPI(以及自動產生的 API 文件)中定義一個「安全性方案」。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  9. docs/zh/docs/tutorial/security/first-steps.md

    ///
    
    `oauth2_scheme` 变量是 `OAuth2PasswordBearer` 的一个实例,同时它也是“可调用”的。
    
    可以像这样调用:
    
    ```Python
    oauth2_scheme(some, parameters)
    ```
    
    因此,它可以与 `Depends` 一起使用。
    
    ### 使用 { #use-it }
    
    现在你可以通过 `Depends` 将 `oauth2_scheme` 作为依赖传入。
    
    {* ../../docs_src/security/tutorial001_an_py310.py hl[12] *}
    
    该依赖会提供一个 `str`,赋值给*路径操作函数*的参数 `token`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/io/ByteSinkTest.java

          TestByteSink okSink = new TestByteSink();
          assertThrows(IOException.class, () -> failSource.copyTo(okSink));
          // ensure stream was closed IF it was opened (depends on implementation whether or not it's
          // opened at all if source.newInputStream() throws).
          assertTrue(
              "stream not closed when copying from source with option: " + option,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.8K bytes
    - Click Count (0)
Back to Top