Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for realizes (0.24 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r61/GradleProjectBuilderOptionsCrossVersionSpec.groovy

    import org.gradle.tooling.model.GradleProject
    import org.gradle.tooling.model.idea.IdeaProject
    
    @TargetGradleVersion(">=6.1")
    class GradleProjectBuilderOptionsCrossVersionSpec extends ToolingApiSpecification {
    
        def "realizes #description when fetching GradleProject with option value #optionDescription"() {
            buildFile << """
                tasks.create("a") {
                    println "realizing non-lazy task"
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/RuleSourceApplicationTest.groovy

            project.apply plugin: 'custom-rule-source'
    
            then:
            project.modelRegistry.realize("foo", String) == "bar"
        }
    
        def "can apply a rule source by type"() {
            when:
            def project = buildProject()
            project.apply type: CustomRuleSource
    
            then:
            project.modelRegistry.realize("foo", String) == "bar"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/passes.h

        std::optional<StringRef> tf2xla_fallback_device_type = std::nullopt,
        bool prefer_tf2xla = false);
    
    // Legalizes TF/XLA communication ops (TF dialect) to HLO dialect communication
    // ops.
    std::unique_ptr<OperationPass<ModuleOp>> CreateLegalizeTFCommunicationPass();
    
    // Legalizes TF/XLA collective ops (TF dialect) to HLO dialect collective
    // ops.
    std::unique_ptr<OperationPass<ModuleOp>> CreateLegalizeTFCollectivePass();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/HasInternalProtocol.java

     *
     * This should only be used on a type that is always assumed to also implement the internal protocol by Gradle internals.
     *
     * This exists to help anyone reading the source code realise that there is an internal component to the type.
     */
    @Retention(RetentionPolicy.SOURCE)
    @Target({ElementType.TYPE})
    public @interface HasInternalProtocol {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r51/TaskOriginCrossVersionSpec.groovy

            task(':build').originPlugin.displayName == "org.gradle.language.base.plugins.LifecycleBasePlugin"
        }
    
        def "reports task origin for lazily realized tasks"() {
            given:
            buildFile << """
                tasks.register('lazyTask') {
                    doLast { println 'nothing to see here' }
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredFileAccess.groovy

        static UndeclaredFileAccess fileReadLines(String filePath) {
            new UndeclaredFileAccess(filePath) {
                @Override
                String getKotlinExpression() {
                    "File(\"$filePath\").readLines()"
                }
    
                @Override
                String getJavaExpression() {
                    """((Supplier<Object>) () -> {
                        try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/binaryinfo/NMToolFixture.groovy

        }
    
        List<BinaryInfo.Symbol> listSymbols(File binaryFile) {
            def process = (findExe('nm') + ['-a', '-f', 'posix', binaryFile.absolutePath]).execute(environments, null)
            def lines = process.inputStream.readLines()
            return lines.collect { line ->
                // Looks like on Linux:
                // _main t 0 0
                //
                // Looks like on Windows (MinGW):
                // main T 0000000000401550
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. testing/architecture-test/build.gradle.kts

     */
    abstract class ReorderArchUnitRulesTask : DefaultTask() {
        @get:OutputFile
        abstract var ruleFile: File
    
        @TaskAction
        fun resortStoredRules() {
            val lines = ruleFile.readLines()
            val sortedLines = lines.sortedBy { line ->
                // We sort by the rule name
                line.substringBefore("=")
            }
    
            if (lines != sortedLines) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/SystemClassLoaderTest.groovy

                            println "$noInfoHeading"
                        }
                    }
                }
            """
    
            when:
            succeeds "loadClasses"
    
            then:
            def lines = output.readLines()
            if (lines.find { it == noInfoHeading }) { return }
    
            lines.find { it == heading } // here for nicer output if the output isn't what we expect
            def headingIndex = lines.indexOf(heading)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultProperty.java

        @Override
        protected boolean isDefaultConvention() {
            return getConventionSupplier() == NOT_DEFINED;
        }
    
        @Override
        protected String describeContents() {
            // NOTE: Do not realize the value of the Provider in toString().  The debugger will try to call this method and make debugging really frustrating.
            return String.format("property(%s, %s)", type.getName(), describeValue());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top