Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 644 for newsize (0.18 sec)

  1. src/cmd/vendor/golang.org/x/mod/modfile/print.go

    		p.printf("%s", strings.TrimSpace(com.Token))
    		p.newline()
    	}
    
    	for i, stmt := range f.Stmt {
    		switch x := stmt.(type) {
    		case *CommentBlock:
    			// comments already handled
    			p.expr(x)
    
    		default:
    			p.expr(x)
    			p.newline()
    		}
    
    		for _, com := range stmt.Comment().After {
    			p.printf("%s", strings.TrimSpace(com.Token))
    			p.newline()
    		}
    
    		if i+1 < len(f.Stmt) {
    			p.newline()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 00:48:59 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/TestWithTempFiles.kt

        protected
        fun file(fileName: String): File =
            tempFolder.testDirectory.file(fileName)
    
        protected
        fun newFile(fileName: String): File =
            tempFolder.testDirectory.createFile(fileName)
    
        protected
        fun newFile(fileName: String, text: String): File =
            newFile(fileName).apply { writeText(text) }
    
        protected
        fun newFolder(vararg folderNames: String): File =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/printer.go

    		p.print(n.Tok, blank, _Lparen)
    		if len(n.Decls) > 0 {
    			p.print(newline, indent)
    			for _, d := range n.Decls {
    				p.printNode(d)
    				p.print(_Semi, newline)
    			}
    			p.print(outdent)
    		}
    		p.print(_Rparen)
    
    	// files
    	case *File:
    		p.print(_Package, blank, n.PkgName)
    		if len(n.DeclList) > 0 {
    			p.print(_Semi, newline, newline)
    			p.printDeclList(n.DeclList)
    		}
    
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 07:17:27 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  4. test/fixedbugs/issue22164.go

    // Test error recovery after missing closing parentheses in lists.
    
    package p
    
    func f() {
    	x := f(g() // ERROR "unexpected newline"
    	y := 1
    }
    
    func g() {
    }
    
    func h() {
    	x := f(g() // ERROR "unexpected newline"
    }
    
    func i() {
    	x := []int{1, 2, 3 // ERROR "unexpected newline"
    	y := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 01:04:56 UTC 2017
    - 458 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/samples/incubating/build-organization/publishing-convention-plugins/kotlin/convention-plugins/src/test/kotlin/com/myorg/JavaConventionPluginTest.kt

            testProjectDir.newFolder("src", "main", "java", "com", "myorg")
            testProjectDir.newFile("src/main/java/com/myorg/Foo.java").writeText("""
                package com.myorg;
    
                public class Foo {
                    @Deprecated
                    public void deprecatedMethod() {}
                }
            """)
    
            testProjectDir.newFile("src/main/java/com/myorg/Bar.java").writeText("""
                package com.myorg;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/samples/build-organization/multi-project-with-convention-plugins/kotlin/buildSrc/src/test/kotlin/com/example/JavaConventionPluginTest.kt

            testProjectDir.newFolder("src", "main", "java", "com", "example")
            testProjectDir.newFile("src/main/java/com/example/Foo.java").writeText("""
                package com.example;
    
                public class Foo {
                    @Deprecated
                    public void deprecatedMethod() {}
                }
            """)
    
            testProjectDir.newFile("src/main/java/com/example/Bar.java").writeText("""
                package com.example;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. src/fmt/scan_test.go

    		{"space vs newline 1000", "1 \n2", "%d\n%d", 2, true},
    		{"space vs newline 1001", "1 \n2", "%d\n %d", 2, true},
    		{"space vs newline 1010", "1 \n2", "%d \n%d", 2, true},
    		{"space vs newline 1011", "1 \n2", "%d \n %d", 2, true},
    		{"space vs newline 1100", "1 \n 2", "%d\n%d", 2, true},
    		{"space vs newline 1101", "1 \n 2", "%d\n %d", 2, true},
    		{"space vs newline 1110", "1 \n 2", "%d \n%d", 2, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 20:25:13 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  8. test/fixedbugs/issue32133.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    // errors for the //line-adjusted code below
    // ERROR "newline in string"
    // ERROR "newline in character literal|newline in rune literal"
    // ERROR "newline in string"
    // ERROR "string not terminated"
    
    //line :10:1
    import "foo
    
    //line :19:1
    func _() {
    	0x // ERROR "hexadecimal literal has no digits"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 05 00:40:38 UTC 2020
    - 718 bytes
    - Viewed (0)
  9. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/configurations/renderer/ConsoleConfigurationReportRenderer.java

                writeDescription("The following Attributes have compatibility rules defined.");
                newLine();
                try {
                    depth++;
                    attributesWithCompatibilityRules.forEach(a -> writeAttribute(maxC, a, false));
                    newLine();
                } finally {
                    depth--;
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 12 16:17:12 UTC 2022
    - 18.3K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/samples/build-organization/publishing-convention-plugins/kotlin/convention-plugins/src/test/kotlin/com/myorg/JavaConventionPluginTest.kt

            testProjectDir.newFolder("src", "main", "java", "com", "myorg")
            testProjectDir.newFile("src/main/java/com/myorg/Foo.java").writeText("""
                package com.myorg;
    
                public class Foo {
                    @Deprecated
                    public void deprecatedMethod() {}
                }
            """)
    
            testProjectDir.newFile("src/main/java/com/myorg/Bar.java").writeText("""
                package com.myorg;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top