Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 7,138 for sameId (0.15 sec)

  1. src/go/types/validtype.go

    // struct named S which contains a field of named type F contains (the memory
    // of) F in S, leading to the nest S->F. If a type appears in its own nest
    // (say S->F->S) we have an invalid recursive type. The path list is the full
    // path of named types in a cycle, it is only needed for error reporting.
    func (check *Checker) validType0(pos token.Pos, typ Type, nest, path []*Named) bool {
    	typ = Unalias(typ)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/NamedDomainObjectCollection.java

         *
         * @param e the item to add to the collection
         * @return {@code true} if the item was added, or {@code} false if an item with the same name already exists.
         */
        @Override
        boolean add(T e);
    
        /**
         * Adds any of the given objects to the collection that do not have the same name as any existing element.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 12:50:52 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitSpockIntegrationTest.groovy

                    ${testFrameworkDependencies}
                }
    
                testing {
                    suites {
                        // Must explicitly use `named` to avoid being rewritten by JUnitPlatformTestRewriter.rewriteBuildFile
                        named('test') {
                            useSpock()
                            dependencies {
                                // Required to use Spock mocking
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/services/internal/BuildServiceRegistryInternal.java

    public interface BuildServiceRegistryInternal extends BuildServiceRegistry {
        /**
         * @param maxUsages Same semantics as {@link SharedResource#getMaxUsages()}.
         */
        BuildServiceProvider<?, ?> register(String name, Class<? extends BuildService<?>> implementationType, @Nullable BuildServiceParameters parameters, int maxUsages);
    
        /**
         * Same as #register(name, implementationType, parameters, maxUsages), but conditional.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 20:25:05 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultPolymorphicDomainObjectContainerTest.groovy

            when:
            def fred = container.named("fred", Person)
            def bob = container.named("bob", AgeAwarePerson) {
                it.age = 50
            }
            then:
            fred.present
            fred.get().name == "fred"
            bob.present
            bob.get().age == 50
    
            when:
            container.named("bob") {
                it.age = 100
            }
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 10 22:34:19 UTC 2021
    - 16K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/plugins/NativeComponentModelPluginTest.groovy

            registry
                .mutate(NativeToolChainRegistry) { it.add toolChain("tc") }
                .mutate(PlatformContainer) { it.add named(NativePlatformInternal, "platform") }
                .mutate(BuildTypeContainer) { it.add named(BuildType, "bt") }
                .mutate(FlavorContainer) { it.add named(Flavor, "flavor1") }
    
            then:
            single(toolChains).name == 'tc'
            platforms.size() == 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:55 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-ivyMetadataRule/groovy/build.gradle

        @Inject
        IvyVariantDerivationRule(ObjectFactory objectFactory) {
            jarLibraryElements = objectFactory.named(LibraryElements, LibraryElements.JAR)
            libraryCategory = objectFactory.named(Category, Category.LIBRARY)
            javaRuntimeUsage = objectFactory.named(Usage, Usage.JAVA_RUNTIME)
            javaApiUsage = objectFactory.named(Usage, Usage.JAVA_API)
        }
    
        void execute(ComponentMetadataContext context) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-ivyMetadataRule/kotlin/build.gradle.kts

        private val javaApiUsage: Usage
    
        init {
            jarLibraryElements = objectFactory.named(LibraryElements.JAR)
            libraryCategory = objectFactory.named(Category.LIBRARY)
            javaRuntimeUsage = objectFactory.named(Usage.JAVA_RUNTIME)
            javaApiUsage = objectFactory.named(Usage.JAVA_API)
        }
    
        override fun execute(context: ComponentMetadataContext) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-metadataRule/kotlin/build.gradle.kts

            context.details.withVariant("runtime") {
                attributes {
                    attributes.attribute(OperatingSystemFamily.OPERATING_SYSTEM_ATTRIBUTE, objects.named("none"))
                    attributes.attribute(MachineArchitecture.ARCHITECTURE_ATTRIBUTE, objects.named("none"))
                }
            }
            nativeVariants.forEach { variantDefinition ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  10. build-logic/buildquality/src/main/kotlin/gradlebuild.arch-test.gradle.kts

        isCanBeConsumed = false
        attributes {
            attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category.LIBRARY))
            attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage.JAVA_API))
            attribute(Bundling.BUNDLING_ATTRIBUTE, objects.named(Bundling.EXTERNAL))
            attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(LibraryElements.CLASSES))
        }
    }
    notForAccessorGeneration {
        dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:29:44 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top