Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 394 for realize (0.25 sec)

  1. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/model/internal/fixture/ModelRegistryHelperExtension.java

        }
    
        public static Object realize(ModelRegistry modelRegistry, String path) {
            return modelRegistry.realize(ModelPath.nonNullValidatedPath(path), ModelType.UNTYPED);
        }
    
        public static <T> T realize(ModelRegistry modelRegistry, String path, Class<T> type) {
            return modelRegistry.realize(ModelPath.nonNullValidatedPath(path), ModelType.of(type));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  2. test/fixedbugs/bug327.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Conversion between identical interfaces.
    // Issue 1647.
    
    // The compiler used to not realize this was a no-op,
    // so it generated a call to the non-existent function runtime.convE2E.
    
    package main
    
    type (
    	a interface{}
    	b interface{}
    )
    
    func main() {
    	x := a(1)
    	z := b(x)
    	_ = z
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 454 bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelRegistry.java

         * @param type the type to project the node as
         * @param <T> the type to project the node as
         * @return the node as the given type
         */
        <T> T realize(ModelPath path, ModelType<T> type);
        <T> T realize(String path, ModelType<T> type);
        <T> T realize(String path, Class<T> type);
    
        /**
         * Get the fully defined model element at the given path.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. platforms/jvm/toolchains-jvm/src/main/java/org/gradle/jvm/toolchain/internal/DefaultJavaToolchainResolverRegistry.java

                }
                realizedRepositories.add(realize(repository));
            }
        }
    
        private RealizedJavaToolchainRepository realize(JavaToolchainRepository repository) {
            Class<? extends JavaToolchainResolver> repositoryClass = getResolverClass(repository);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 28 16:17:59 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  5. platforms/software/platform-base/src/testFixtures/groovy/org/gradle/test/fixtures/plugin/AbstractLanguagePluginSpec.groovy

        abstract String getLanguageId()
    
        def "registers transformation for language"() {
            when:
            dsl {
                apply plugin: pluginClass
            }
    
            then:
            def transform = realize("languageTransforms").find { it.languageName == languageId }
    
            transform != null
            transform.sourceSetType == languageSourceSet
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r50/ModelProgressEventsCrossVersionSpec.groovy

            def buildModelOperation = listener.operation("Build model 'org.gradle.tooling.model.GradleProject' for root project 'root'")
            def tasks = buildModelOperation.descendants {
                it.descriptor.displayName.startsWith("Realize task")
            }
            !tasks.empty
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/plugins/ComponentBasePluginTest.groovy

            when:
            dsl {
                apply plugin: ComponentBasePlugin
                model {
                    baseComponent(ComponentSpec) {
                    }
                }
            }
    
            then:
            realize("baseComponent") instanceof ComponentSpec
        }
    
        def "adds a 'components' container to the project model"() {
            when:
            dsl {
                apply plugin: ComponentBasePlugin
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. platforms/software/platform-base/src/test/groovy/org/gradle/language/base/plugins/LanguageBasePluginTest.groovy

            dsl {
                apply plugin: LanguageBasePlugin
                model {
                    baseSourceSet(LanguageSourceSet) {
                    }
                }
            }
    
            then:
            realize("baseSourceSet") instanceof LanguageSourceSet
        }
    
        def "adds a 'sources' container to the project model"() {
            when:
            dsl {
                apply plugin: LanguageBasePlugin
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. platforms/ide/ide-native/src/main/java/org/gradle/ide/visualstudio/internal/VisualStudioProjectResolver.java

            // Looks in the correct project registry for this binary
            VisualStudioExtension visualStudioExtension = getComponentModel(nativeBinary).realize("visualStudio", VisualStudioExtension.class);
            VisualStudioProjectRegistry projectRegistry = ((VisualStudioExtensionInternal) visualStudioExtension).getProjectRegistry();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractDomainObjectCollectionSpec.groovy

            // Realize all object of type `type`
            def element = container.withType(type).iterator().next()
    
            when:
            def didRemoved = container.remove(element)
    
            then:
            didRemoved
    
            and:
            0 * _
        }
    
        def "will execute remove action when removing external provider only for realized elements"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 52.4K bytes
    - Viewed (0)
Back to top