Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 745 for naked (0.17 sec)

  1. src/go/types/lookup.go

    	return 0, false
    }
    
    type instanceLookup struct {
    	// buf is used to avoid allocating the map m in the common case of a small
    	// number of instances.
    	buf [3]*Named
    	m   map[*Named][]*Named
    }
    
    func (l *instanceLookup) lookup(inst *Named) *Named {
    	for _, t := range l.buf {
    		if t != nil && Identical(inst, t) {
    			return t
    		}
    	}
    	for _, t := range l.m[inst.Origin()] {
    		if Identical(inst, t) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/task_configuration_avoidance.adoc

    | link:{javadocPath}/org/gradle/api/tasks/TaskCollection.html#named-java.lang.String-[TaskCollection.named()]
    | Returns a `TaskProvider` instead of a `Task`.
    
    | link:{javadocPath}/org/gradle/api/tasks/TaskCollection.html#withType-java.lang.Class-[TaskCollection.withType()]
    | Ok to use. If chained `withType().getByName()`, use `TaskCollection.named()` instead. +
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 27 23:45:25 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  3. 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)
  4. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/internal/DefaultBinaryNamingSchemeTest.groovy

        }
    
        def "ignores variant dimension with only one value"() {
            def original = createNamingScheme("parent", "role", [])
            def a = named("a")
            def b = named("b")
            def c = named("c")
    
            expect:
            def scheme = original.withVariantDimension(a, [a, b]).withVariantDimension(c, [c])
            scheme.variantDimensions == ["a"]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 10K bytes
    - Viewed (0)
  5. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenGradleModuleMetadataPublishIntegrationTest.groovy

                        name: 'api',
                        usage: objects.named(Usage, 'api'),
                        dependencies: configurations.implementation.allDependencies,
                        attributes: testAttributes))
    
                comp.usages.add(new TestUsage(
                        name: 'impl',
                        usage: objects.named(Usage, 'api'),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 07:21:42 UTC 2023
    - 29.4K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

                }
            }
        }
    
        @Singleton
        @Named(Lifecycle.CLEAN)
        static class CleanLifecycleProvider extends BaseLifecycleProvider {
            CleanLifecycleProvider() {
                super(Lifecycle.CLEAN);
            }
        }
    
        @Singleton
        @Named(Lifecycle.DEFAULT)
        static class DefaultLifecycleProvider extends BaseLifecycleProvider {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 13:45:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testsuites/dependencies/TestSuitesKotlinDSLDependenciesIntegrationTest.groovy

                        val integTest by registering(JvmTestSuite::class) {
                            useJUnit()
                        }
                    }
                }
    
                tasks.named("check") {
                    dependsOn(testing.suites.named("integTest"))
                }
    
                tasks.register("checkConfiguration") {
                    dependsOn("test", "integTest")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 11 16:25:08 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/model/NamedObjectInstantiator.java

            return FACTORY_ID;
        }
    
        @Override
        public <T> T fromState(Class<T> type, Object state) {
            return Named.class.isAssignableFrom(type)
                ? uncheckedCast(named(uncheckedCast(type), (String) state))
                : null;
        }
    
        public <T extends Named> T named(final Class<T> type, final String name) throws ObjectInstantiationException {
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/DefaultValueSnapshotterTest.groovy

        }
    
        def "creates snapshot for named managed type"() {
            def instantiator = TestUtil.objectInstantiator()
            def value = instantiator.named(Thing, "value1")
            def value1 = instantiator.named(Thing, "value1")
            def value2 = instantiator.named(Thing, "value2")
            def value3 = instantiator.named(Named, "value1")
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.5K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/derived/DerivedVariantsResolutionIntegrationTest.groovy

                            attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category, Category.DOCUMENTATION))
                            attribute(Bundling.BUNDLING_ATTRIBUTE, objects.named(Bundling, Bundling.EXTERNAL))
                            attribute(DocsType.DOCS_TYPE_ATTRIBUTE, objects.named(DocsType, DocsType.SOURCES))
                            attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage, Usage.JAVA_RUNTIME))
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 16.1K bytes
    - Viewed (0)
Back to top