Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 2,729 for ninit (0.15 sec)

  1. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/GroovyApplicationInitIntegrationTest.groovy

        @Override
        String subprojectName() { 'app' }
    
        def "creates sample source if no source present with #scriptDsl build scripts"() {
            when:
            run('init', '--type', 'groovy-application', '--dsl', scriptDsl.id, '--java-version', JavaVersion.current().majorVersion)
    
            then:
            subprojectDir.file("src/main/groovy").assertHasDescendants(SAMPLE_APP_CLASS)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_init_path.txt

    env GO111MODULE=on
    
    ! go mod init .
    stderr '^go: malformed module path ".": is a local import path$'
    
    cd x
    go mod init example.com/x
    
    cd ../y
    go mod init m
    
    -- x/main.go --
    package main
    
    func main() {}
    
    -- y/main.go --
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 24 20:57:01 UTC 2021
    - 248 bytes
    - Viewed (0)
  3. analysis/analysis-api/testData/components/compilerFacility/compilation/classKinds.ir.txt

          ENUM_ENTRY name:NORTH
            init: EXPRESSION_BODY
              ENUM_CONSTRUCTOR_CALL 'private constructor <init> () [primary] declared in <root>.Direction'
          ENUM_ENTRY name:SOUTH
            init: EXPRESSION_BODY
              ENUM_CONSTRUCTOR_CALL 'private constructor <init> () [primary] declared in <root>.Direction'
          ENUM_ENTRY name:WEST
            init: EXPRESSION_BODY
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Apr 04 09:35:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. test/ken/rob1.go

    type Integer struct {
    	val int
    }
    
    func (this *Integer) Init(i int) *Integer {
    	this.val = i
    	return this
    }
    
    func (this *Integer) Print() string {
    	return string(this.val + '0')
    }
    
    func main() {
    	list := new(List)
    	list.Init()
    	for i := 0; i < 10; i = i + 1 {
    		integer := new(Integer)
    		integer.Init(i)
    		list.Insert(integer)
    	}
    
    	r := list.Print()
    	if r != "9876543210" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 1.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/packaging/common/scripts/postinst

            else
                /etc/init.d/fess restart || true
            fi
    
        # older suse linux distributions do not ship with systemd
        # but do not have an /etc/init.d/ directory
        # this tries to start the fess service on these
        # as well without failing this script
        elif [ -x /etc/rc.d/init.d/fess ] ; then
            /etc/rc.d/init.d/fess restart || true
        fi
        echo " OK"
    fi
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Dec 10 01:24:02 UTC 2015
    - 3.1K bytes
    - Viewed (0)
  10. 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)
Back to top