Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,316 for sameId (0.35 sec)

  1. src/cmd/vendor/golang.org/x/tools/internal/typeparams/common.go

    	V = aliases.Unalias(V)
    	T = aliases.Unalias(T)
    
    	// If V and T are not both named, or do not have matching non-empty type
    	// parameter lists, fall back on types.AssignableTo.
    
    	VN, Vnamed := V.(*types.Named)
    	TN, Tnamed := T.(*types.Named)
    	if !Vnamed || !Tnamed {
    		return types.AssignableTo(V, T)
    	}
    
    	vtparams := VN.TypeParams()
    	ttparams := TN.TypeParams()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. src/go/types/named_test.go

    // a named type remain the same as long as the same source and AddMethod calls
    // are presented to the type checker in the same order (go.dev/issue/61298).
    func TestMethodOrdering(t *testing.T) {
    	const src = `
    package p
    
    type T struct{}
    
    func (T) a() {}
    func (T) c() {}
    func (T) b() {}
    `
    	// should get the same method order each time
    	var methods []string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 16:29:58 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    query_or_cookie_extractor(["query_or_cookie_extractor"])
    
    read_query["/items/"]
    
    query_extractor --> query_or_cookie_extractor --> read_query
    ```
    
    ## Using the same dependency multiple times
    
    If one of your dependencies is declared multiple times for the same *path operation*, for example, multiple dependencies have a common sub-dependency, **FastAPI** will know to call that sub-dependency only once per request.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/AttributesToMapConverter.java

            if (attributeValue == null) {
                throw new IllegalStateException("No attribute value for " + attribute);
            }
    
            if (attributeValue instanceof Named) {
                return ((Named) attributeValue).getName();
            } else if (attributeValue instanceof Object[]) {
                // don't bother trying to handle primitive arrays specially
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. src/plugin/plugin.go

    //     using exactly the same version of the toolchain, the same build
    //     tags, and the same values of certain flags and environment
    //     variables.
    //
    //   - Similar crashing problems are likely to arise unless all common
    //     dependencies of the application and its plugins are built from
    //     exactly the same source code.
    //
    //   - Together, these restrictions mean that, in practice, the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 19:46:10 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. src/os/stat.go

    package os
    
    import "internal/testlog"
    
    // Stat returns a [FileInfo] describing the named file.
    // If there is an error, it will be of type [*PathError].
    func Stat(name string) (FileInfo, error) {
    	testlog.Stat(name)
    	return statNolog(name)
    }
    
    // Lstat returns a [FileInfo] describing the named file.
    // If the file is a symbolic link, the returned FileInfo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 973 bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r42/BuildProgressTaskActionsCrossVersionSpec.groovy

            task.descendant("Snapshot inputs and outputs before executing task ':custom'")
            task.descendant("Snapshot outputs after executing task ':custom'")
        }
    
        def "task actions implemented in annotated methods are named after the method"() {
            given:
            buildFile << """
            task custom(type: CustomTask)
    
            class CustomTask extends DefaultTask {
                @TaskAction void doSomethingAmazing() { }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/samples/incubating/java/jvm-multi-project-with-code-coverage-standalone/groovy/code-coverage-report/build.gradle

    reporting {
        reports {
            testCodeCoverageReport(JacocoCoverageReport) { // <.>
                testType = TestSuiteType.UNIT_TEST
            }
        }
    }
    // end::create_report[]
    
    tasks.named('check') {
        dependsOn tasks.named('testCodeCoverageReport', JacocoReport) // <.>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 470 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/samples/incubating/java/jvm-multi-project-with-code-coverage-distribution/groovy/application/build.gradle

    }
    
    dependencies {
        implementation project(':list')
        implementation project(':utilities')
    }
    
    application {
        mainClass = 'org.gradle.sample.Main'
    }
    
    tasks.named('check') {
        dependsOn tasks.named('testCodeCoverageReport', JacocoReport) // <2>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 363 bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheConventionMappingIntegrationTest.groovy

            configurationCacheRun 'myTask'
    
            and: 'convention mapping is ignored just the same'
            configurationCacheRun 'myTask'
        }
    
        def "restores convention mapped task input property explicitly set to null"() {
            given:
            withConventionMappingForPropertyOfType String, '"42"'
            buildFile << '''
                tasks.named("ok") {
                    inputProperty = null
                }
            '''
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top