Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,873 for ninit (0.05 sec)

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

    # Regression test for https://go.dev/issue/51448.
    # 'go work init . .. foo/bar' should produce a go.work file
    # with the same paths as 'go work init; go work use -r ..',
    # and it should have 'use .' rather than 'use ./.' inside.
    
    cd dir
    
    go work init . .. foo/bar
    mv go.work go.work.init
    
    go work init
    go work use -r ..
    cmp go.work go.work.init
    
    cmpenv go.work $WORK/go.work.want
    
    -- go.mod --
    module example
    go 1.18
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 26 17:53:40 UTC 2023
    - 571 bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintCheckerTest.kt

                        File("init.gradle.kts") to TestHashCodes.hashCodeFrom(1),
                        File("added.init.gradle.kts") to TestHashCodes.hashCodeFrom(2)
                    )
                ),
                equalTo("init script 'added.init.gradle.kts' has been added")
            )
        }
    
        @Test
        fun `added init scripts are reported`() {
            assertThat(
                invalidationReasonForInitScriptsChange(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/stmt.go

    		if n.Typecheck() == 0 {
    			base.Fatalf("missing typecheck: %+v", n)
    		}
    
    		init := ir.TakeInit(n)
    		n = walkExpr(n, &init)
    		if n.Op() == ir.ONAME {
    			// copy rewrote to a statement list and a temp for the length.
    			// Throw away the temp to avoid plain values as statements.
    			n = ir.NewBlockStmt(n.Pos(), init)
    			init = nil
    		}
    		if len(init) > 0 {
    			switch n.Op() {
    			case ir.OAS, ir.OAS2, ir.OBLOCK:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 15:42:30 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/KotlinBuildScriptPatternTest.kt

                Script("my.settings.gradle.kts", ScriptType.SETTINGS),
                Script("init.gradle.kts", ScriptType.INIT),
                Script("my.init.gradle.kts", ScriptType.INIT),
                Script("build.gradle.kts", ScriptType.BUILD),
                Script("no-settings.gradle.kts", ScriptType.BUILD),
                Script("no-init.gradle.kts", ScriptType.BUILD),
                Script("anything.gradle.kts", ScriptType.BUILD),
            )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  5. analysis/analysis-api/testData/components/compilerFacility/compilation/classKinds.txt

        private final field subtrahend: int
        public method <init>(p0: int, p1: int): void
        public final method getMinuend(): int
        public final method getSubtrahend(): int
        public final inner class Operation$Subtract
    }
    
    public abstract class Operation {
        // source: 'classKinds.kt'
        private method <init>(): void
        public synthetic method <init>(p0: kotlin.jvm.internal.DefaultConstructorMarker): void
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Dec 21 15:34:34 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/walk/convert.go

    	n.X = cheapExpr(n.X, init)
    	ptr, len := backingArrayPtrLen(n.X)
    	return mkcall("slicebytetostring", n.Type(), init, a, ptr, len)
    }
    
    // walkBytesToStringTemp walks an OBYTES2STRTMP node.
    func walkBytesToStringTemp(n *ir.ConvExpr, init *ir.Nodes) ir.Node {
    	n.X = walkExpr(n.X, init)
    	if !base.Flag.Cfg.Instrumenting {
    		// Let the backend handle OBYTES2STRTMP directly
    		// to avoid a function call to slicebytetostringtmp.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinInitScriptIntegrationTest.kt

            )
        }
    
        @Test
        fun `Kotlin init scripts from init dir can add buildscript repositories to projects`() {
    
            val testRepositoryDir = file("test-repository").apply { mkdirs() }
    
            val guh = file("gradle-user-home").apply { mkdirs() }
            guh.withFolders {
                "init.d" {
                    withFile(
                        "init.gradle.kts",
                        """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Sep 24 17:45:43 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/ProcessInInitScriptIntegrationTest.groovy

            exec().groovy               | "exec.init.gradle"
            javaexec().groovy           | "exec.init.gradle"
            processBuilder().groovy     | "exec.init.gradle"
            stringArrayExecute().groovy | "exec.init.gradle"
            runtimeExec().groovy        | "exec.init.gradle"
            exec().kotlin               | "exec.init.gradle.kts"
            javaexec().kotlin           | "exec.init.gradle.kts"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r26/BuildProgressCrossVersionSpec.groovy

    import org.gradle.tooling.ProjectConnection
    
    class BuildProgressCrossVersionSpec extends ToolingApiSpecification {
        def "generates init script operation when there are init scripts"() {
            file("init.gradle") << "println 'init'"
    
            when:
            def events = ProgressEvents.create()
            withConnection {
                ProjectConnection connection ->
                    connection.newBuild()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. src/internal/types/testdata/check/decls0.go

    )
    
    
    // declarations of init
    const _, init /* ERROR "cannot declare init" */ , _ = 0, 1, 2
    type init /* ERROR "cannot declare init" */ struct{}
    var _, init /* ERROR "cannot declare init" */ int
    
    func init() {}
    func init /* ERROR "missing function body" */ ()
    
    func _() { const init = 0 }
    func _() { type init int }
    func _() { var init int; _ = init }
    
    // invalid array types
    type (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top