Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 2,729 for ninit (0.07 sec)

  1. src/cmd/go/testdata/script/work_init_gowork.txt

    # Test that the GOWORK environment variable flag is used by go work init.
    
    ! exists go.work
    go work init
    exists go.work
    
    env GOWORK=$GOPATH/src/foo/foo.work
    ! exists foo/foo.work
    go work init
    exists foo/foo.work
    
    env GOWORK=
    cd foo/bar
    ! go work init
    stderr 'already exists'
    
    # Create directories to make go.work files in.
    -- foo/dummy.txt --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 16 15:58:47 UTC 2022
    - 367 bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/decls1.go

    func (*T) m1() {}
    func (x T) m2() {}
    func (x *T) m3() {}
    
    // Initialization functions
    func init() {}
    func init /* ERROR "no arguments and no return values" */ (int) {}
    func init /* ERROR "no arguments and no return values" */ () int { return 0 }
    func init /* ERROR "no arguments and no return values" */ (int) int { return 0 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/reporting/model/ModelReportIntegrationTest.groovy

              | Value:  \ttask ':help\'
              | Creator: \tProject.<init>.tasks.help()
              | Rules:
                 ⤷ copyToTaskContainer
        + init
              | Type:   \torg.gradle.buildinit.tasks.InitBuild
              | Value:  \ttask ':init\'
              | Creator: \tProject.<init>.tasks.init()
              | Rules:
                 ⤷ copyToTaskContainer
        + javaToolchains
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:32:55 UTC 2024
    - 22K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheInitScriptsIntegrationTest.groovy

            outputDoesNotContain 'initscript2!'
            configurationCache.assertStateStored()
        }
    
        def "invalidates cache upon adding init script to Gradle home"() {
    
            requireOwnGradleUserHomeDir()
    
            given:
            gradleUserHomeDirFile('init.d/initscript1.gradle.kts').tap {
                text = 'println("initscript1!")'
            }
            buildFile << '''
                task build
            '''
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/work_nowork.txt

    ! go work use
    stderr '^go: no go\.work file found\n\t\(run ''go work init'' first or specify path using GOWORK environment variable\)$'
    
    ! go work use .
    stderr '^go: no go\.work file found\n\t\(run ''go work init'' first or specify path using GOWORK environment variable\)$'
    
    ! go work edit
    stderr '^go: no go\.work file found\n\t\(run ''go work init'' first or specify path using GOWORK environment variable\)$'
    
    ! go work edit -go=1.18
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 16 15:58:47 UTC 2022
    - 783 bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/promotion/PublishRelease.kt

        promotedBranch: String,
        init: PublishRelease.() -> Unit = {}
    ) : PublishGradleDistributionFullBuild(
        promotedBranch = promotedBranch,
        prepTask = prepTask,
        promoteTask = promoteTask,
        triggerName = "ReadyforRelease",
        gitUserEmail = "%gitUserEmail%",
        gitUserName = "%gitUserName%",
        extraParameters = "-PconfirmationCode=%confirmationCode%"
    ) {
        init {
            params {
                text(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 05 00:08:14 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  7. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/BuildInitPluginIntegrationTest.groovy

            when:
            succeeds('init', '--type', 'java-application', '--dsl', GROOVY.toString().toLowerCase())
    
            then:
    
            targetDir.file("settings.gradle").assertContents(containsString(userManual("multi_project_builds").getUrl()))
        }
    
        def "gives decent error message when triggered with unknown init-type"() {
            when:
            fails('init', '--type', 'some-unknown-library')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 13:39:44 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/internal/project/ProjectBuildFileIntegrationTest.groovy

            output.contains "init script applied" // ensure we actually tested something
        }
    
        def "buildSrc project.buildFile is non null when does not exist"() {
            given:
            executer.requireOwnGradleUserHomeDir()
            file("buildSrc/settings.gradle").createFile()
    
            expect:
            !buildFile.exists()
    
            when:
            executer.gradleUserHomeDir.file("init.d/init.gradle") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. mockwebserver/api/mockwebserver3.api

    	public fun <init> ()V
    	public abstract fun dispatch (Lmockwebserver3/RecordedRequest;)Lmockwebserver3/MockResponse;
    	public fun peek ()Lmockwebserver3/MockResponse;
    	public fun shutdown ()V
    }
    
    public final class mockwebserver3/MockResponse {
    	public static final field Companion Lmockwebserver3/MockResponse$Companion;
    	public fun <init> ()V
    	public fun <init> (I)V
    	public fun <init> (ILokhttp3/Headers;)V
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 03 21:59:45 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/temp.go

    )
    
    // initStackTemp appends statements to init to initialize the given
    // temporary variable to val, and then returns the expression &tmp.
    func initStackTemp(init *ir.Nodes, tmp *ir.Name, val ir.Node) *ir.AddrExpr {
    	if val != nil && !types.Identical(tmp.Type(), val.Type()) {
    		base.Fatalf("bad initial value for %L: %L", tmp, val)
    	}
    	appendWalkStmt(init, ir.NewAssignStmt(base.Pos, tmp, val))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top