Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 2,199 for ninit (0.9 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/configuration/ExecuteUserLifecycleListenerBuildOperationIntegrationTest.groovy

            ]
    
            initFile << addGradleListeners('init')
    
            when:
            run()
    
            then:
            def projectsEvaluated = operations.only(NotifyProjectsEvaluatedBuildOperationType)
            verifyExpectedNumberOfExecuteListenerChildren(projectsEvaluated, 1)
            verifyHasChildren(projectsEvaluated, initScriptAppId, 'init', expectedGradleOps)
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/core-plugins/build_init_plugin.adoc

    // limitations under the License.
    
    [[build_init_plugin]]
    = Build Init Plugin
    
    
    The Build Init plugin can be used to create a new Gradle build. It supports creating brand new Gradle builds of various types as well as converting existing Apache Maven builds to Gradle.
    
    [[sec:sample_usage]]
    == Sample usage
    
    ```bash
    gradle init \
      --type java-application \
      --dsl kotlin \
      --test-framework junit-jupiter \
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:43 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/authoring-builds/directory_layout.adoc

    ====
    include::sample[dir="snippets/initScripts/disableCacheCleanup/kotlin",files="gradleUserHome/init.d/cache-settings.gradle.kts"]
    include::sample[dir="snippets/initScripts/disableCacheCleanup/groovy",files="gradleUserHome/init.d/cache-settings.gradle"]
    ====
    
    NOTE: Cache cleanup settings can only be configured via init scripts and should be placed under the `init.d` directory in Gradle User Home.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 23:00:38 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/flatbuffer_translate.cc

        llvm::cl::location(experimental_prune_unreachable_nodes_unconditionally),
        llvm::cl::init(false));
    
    // NOLINTNEXTLINE
    static opt<std::string> input_arrays_flag(
        "input-arrays",
        llvm::cl::desc(
            "List of input tensors, if different from the default inputs"),
        llvm::cl::init(""));
    
    // NOLINTNEXTLINE
    static opt<std::string> output_arrays_flag(
        "output-arrays",
        llvm::cl::desc(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. tests/upsert_test.go

    	}
    
    	DB.Where(&User{Name: "find or init"}).Assign("age", 44).FirstOrInit(&user4)
    	if user4.Name != "find or init" || user4.ID != 0 || user4.Age != 44 {
    		t.Errorf("user should be initialized with search value and assign attrs")
    	}
    
    	DB.Save(&User{Name: "find or init", Age: 33})
    	DB.Where(&User{Name: "find or init"}).Attrs("age", 44).FirstOrInit(&user5)
    	if user5.Name != "find or init" || user5.ID == 0 || user5.Age != 33 {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Sep 05 07:39:19 UTC 2022
    - 11.4K bytes
    - Viewed (0)
  6. src/internal/types/testdata/check/vardecl.go

    var _, _ int = 1, 2
    var _ int = 1, 2 /* ERROR "extra init expr 2" */
    var _, _ int = 1 /* ERRORx `assignment mismatch: [1-9]+ variables but.*[1-9]+ value(s)?` */
    var _, _, _ /* ERROR "missing init expr for _" */ int = 1, 2
    
    var (
    	_, _ = 1, 2
    	_ = 1, 2 /* ERROR "extra init expr 2" */
    	_, _ = 1 /* ERRORx `assignment mismatch: [1-9]+ variables but.*[1-9]+ value(s)?` */
    	_, _, _ /* ERROR "missing init expr for _" */ = 1, 2
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-groovy/src/integTest/groovy/org/gradle/model/dsl/internal/transform/NestedModelDslUsageIntegrationSpec.groovy

            where:
            code << [
                    "subprojects",
                    "project(':a')",
                    "if (true)"
            ]
        }
    
        def "model block can be used from init script"() {
            when:
            file("init.gradle") << """
                ${testPluginImpl()}
    
                allprojects {
                    apply type: TestPlugin
    
                    model {
                        strings {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  8. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/JavaLibraryInitIntegrationTest.groovy

        def "defaults to Kotlin build scripts"() {
            when:
            run ('init', '--type', 'java-library' )
    
            then:
            dslFixtureFor(KOTLIN).assertGradleFilesGenerated()
        }
    
        def "creates sample source if no source present with #scriptDsl build scripts"() {
            def dslFixture = dslFixtureFor(scriptDsl)
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 11.8K bytes
    - Viewed (1)
  9. src/cmd/compile/internal/coverage/cover.go

    	}
    
    	// Tack the call onto the start of our init function. We do this
    	// early in the init since it's possible that instrumented function
    	// bodies (with counter updates) might be inlined into init.
    	cnames.InitFn.Body.Prepend(assign)
    }
    
    // addInitHookCall generates a call to runtime/coverage.initHook() and
    // inserts it into the package main init function, which will kick off
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 21:55:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/cover_coverprofile_multipkg.txt

    # Make sure resulting profile is digestible.
    go tool cover -func=cov.p
    
    # No extraneous extra files please.
    ! exists _cover_.out
    
    -- a/a.go --
    package a
    
    func init() {
    	println("package 'a' init: launch the missiles!")
    }
    
    func AFunc() int {
    	return 42
    }
    -- a/a_test.go --
    package a
    
    import "testing"
    
    func TestA(t *testing.T) {
    	if AFunc() != 42 {
    		t.Fatalf("bad!")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 17:02:36 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top