Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 4,942 for sameId (2.94 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultAttributesSchemaTest.groovy

            result.unsortedOrder as List == [0, 1, 2, 3]
        }
    
        static interface Flavor extends Named {}
    
        enum MyEnum {
            FOO,
            BAR
        }
    
        static Flavor flavor(String name) {
            TestUtil.objectInstantiator().named(Flavor, name)
        }
    
        static abstract class ConcreteNamed implements Named {
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 16.9K 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/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc

    ====
    <1> Gets a reference of type `Task` to the existing task named `check`
    <2> Registers a new untyped task named `myTask1`
    <3> Gets a reference to the existing task named `compileJava` of type `JavaCompile`
    <4> Registers a new task named `myCopy1` of type `Copy`
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  5. 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)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/StronglyTypedConfigurationAttributesResolveIntegrationTest.groovy

                        c1 { attributes { attribute(flavor, objects.named(Flavor, 'preview')); $debug } }
                        c2 { attributes { attribute(flavor, objects.named(Flavor, 'preview')); $release } }
                        c3 { attributes { attribute(flavor, objects.named(Flavor, 'full')); $debug } }
                        c4 { attributes { attribute(flavor, objects.named(Flavor, 'full')); $release } }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 48.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-metadataRule/groovy/build.gradle

            context.details.withVariant("runtime") {
                attributes {
                    attributes.attribute(OperatingSystemFamily.OPERATING_SYSTEM_ATTRIBUTE, objects.named(OperatingSystemFamily, "none"))
                    attributes.attribute(MachineArchitecture.ARCHITECTURE_ATTRIBUTE, objects.named(MachineArchitecture, "none"))
                }
            }
            nativeVariants.each { variantDefinition ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/NodeBackedModelMapSpec.groovy

        }
    
        def "named(String, Action) fails when named element requested in filtered collection with incompatible type"() {
            when:
            accessedBy { map, action -> map.withType(specialItemClass).named("item", action) }
    
            then:
            def ex = thrown InvalidModelRuleException
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 38.3K bytes
    - Viewed (0)
Back to top