Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 663 for main2 (0.1 sec)

  1. platforms/core-configuration/model-groovy/src/integTest/groovy/org/gradle/model/dsl/ModelMapDslIntegrationTest.groovy

                println "configure test"
                value = $.things.main.value
            }
            create('main')
        }
        things {
            named('main') {
                println "configure main"
                value = "12"
            }
        }
    }
    '''
            when:
            succeeds "show"
    
            then:
            outputContains('''configure main
    configure test
    ''')
            outputContains("value = 12")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/sourceset/GeneratedSourcesIntegrationTest.groovy

        def "generator task produces sources for dependent source set with headers only"() {
            given:
            // Write sources to src/main, headers to src/input
            def app = new CHelloWorldApp()
            app.executable.writeSources(file("src/main"))
            app.library.sourceFiles*.writeToDir(file("src/main"))
            app.library.headerFiles*.writeToDir(file("src/input"))
            degenerateInputSources()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppIncrementalBuildIntegrationTest.groovy

            def header1 = file("app/src/main/headers/hello1.h")
            def header2 = file("app/src/main/headers/hello2.h")
            def header3 = file("app/src/main/headers/hello3.h")
            def unused = file("app/src/main/headers/ignoreme.h")
    
            when:
            file("app/src/main/headers/hello.h") << """
                #if 0
                #include "def1.h"
                #else
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 40.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/tests/merge_initializer_function_ops_to_main.mlir

    // CHECK-NOT: @NoOp()
    
      func.func @main() attributes {tf.entry_function = {inputs = "", outputs = ""}, tf_saved_model.exported_names = ["main"]} {
        tf_executor.graph {
          tf_executor.fetch
        }
        return
      }
    // Sanity check: The main function's signature & attributes have not changed.
    // CHECK: func.func @main()
    // CHECK-SAME: tf_saved_model.exported_names = ["main"]
    
    // CHECK: tf_executor.graph
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/promote_resources_to_args.mlir

    }
    
    
    // -----
    
    // Tests main function with multiple blocks.
    
    // expected-error@+1 {{expects function 'main' to have 1 block, got 2}}
    func.func @main() {
      cf.br ^bb1
    ^bb1:
      func.return
    }
    
    // -----
    
    // Tests main function is terminated with a non MLIR ReturnOp.
    
    // expected-error@+1 {{expects function 'main' to have a MLIR ReturnOp}}
    func.func @main() {
    ^bb0:
      tf_device.return
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryWithBothLinkagePublishingIntegrationTest.groovy

            def main = repo.module('some.group', 'test', '1.2')
            main.assertPublished()
            main.assertArtifactsPublished("test-1.2-cpp-api-headers.zip", "test-1.2.pom", "test-1.2.module")
            main.artifactFile(classifier: 'cpp-api-headers', type: 'zip').assertIsCopyOf(headersZip)
    
            main.parsedPom.scopes.isEmpty()
    
            def mainMetadata = main.parsedModuleMetadata
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/LibraryDependenciesIntegrationTest.groovy

            succeeds "mainExecutable"
    
            then:
            executable("build/exe/main/main").exec().out == app.englishOutput
        }
    
        @ToBeFixedForConfigurationCache
        def "can use map notation to reference library in different project"() {
            given:
            def app = new CppHelloWorldApp()
            app.executable.writeSources(file("exe/src/main"))
            app.library.writeSources(file("lib/src/hello"))
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftApplicationIntegrationTest.groovy

            sharedLibrary("hello/build/lib/main/debug/Hello").assertExists()
            sharedLibrary("log/build/lib/main/debug/Log").assertExists()
            executable("build/exe/main/debug/App").assertExists()
            installation("build/install/main/debug").exec().out == app.expectedOutput
            sharedLibrary("build/install/main/debug/lib/Hello").file.assertExists()
            sharedLibrary("build/install/main/debug/lib/Log").file.assertExists()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 12:43:37 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  9. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSingleProjectIntegrationTest.groovy

            projectFile.assertHasComponentSources(app.library, "src/main")
            projectFile.projectConfigurations.keySet() == projectConfigurations
            projectFile.projectConfigurations.values().each {
                assert it.macros == "TEST;foo=bar"
                assert it.includePath == filePath("src/main/public", "src/main/headers")
                assert it.buildCommand.endsWith("gradle\" :link${it.name.capitalize()}")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryPublishingIntegrationTest.groovy

            def main = repo.module('some.group', 'test', '1.2')
            main.assertPublished()
            main.assertArtifactsPublished("test-1.2-cpp-api-headers.zip", "test-1.2.pom", "test-1.2.module")
            main.artifactFile(classifier: 'cpp-api-headers', type: 'zip').assertIsCopyOf(headersZip)
    
            main.parsedPom.scopes.isEmpty()
    
            def mainMetadata = main.parsedModuleMetadata
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 12:57:50 UTC 2024
    - 39.8K bytes
    - Viewed (0)
Back to top