- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 1,557 for comment2 (0.26 sec)
-
src/cmd/go/testdata/script/mod_indirect_nospace.txt
# https://golang.org/issue/45932: "indirect" comments missing spaces # should not be corrupted when the comment is removed. go mod tidy cmp go.mod go.mod.direct -- go.mod -- module example.net/m go 1.16 require example.net/x v0.1.0 //indirect replace example.net/x v0.1.0 => ./x -- go.mod.direct -- module example.net/m go 1.16 require example.net/x v0.1.0 replace example.net/x v0.1.0 => ./x -- m.go --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 04 20:18:55 UTC 2021 - 516 bytes - Viewed (0) -
src/go/format/format_test.go
"\n\t\t\n\n\t\t\tx := 0\n\t\t\tconst s = `\n\t\tfoo\n`\n\n\n", // no indentation removed inside raw strings // comments "/* Comment */", "\t/* Comment */ ", "\n/* Comment */ ", "i := 5 /* Comment */", // issue #5551 "\ta()\n//line :1", // issue #11276 "\t//xxx\n\ta()\n//line :2", // issue #11276 "\ta() //line :1\n\tb()\n", // issue #11276
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 20 03:54:46 UTC 2021 - 4.5K bytes - Viewed (0) -
src/go/printer/testdata/declarations.input
} func _(x, y bool) { } func _(bool, // comment int) { } func _(x bool, // comment y int) { } func _(x, // comment y bool) { } func _(bool, // comment // comment int) { } func _(x bool, // comment // comment y int) { } func _(x, // comment // comment y bool) { } func _(bool, // comment int) { } func _(x bool, // comment y int) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 13 22:24:31 UTC 2021 - 16.5K bytes - Viewed (0) -
src/go/printer/testdata/declarations.golden
import _ "fmt" import _ "fmt" import "foo" // a comment import "bar" // a comment import ( _ "foo" // a comment "bar" "foo" // a comment "bar" // a comment ) // comments + renames import ( "unrenamed" // a comment renamed "renameMe" . "io" /* a comment */ _ "io/ioutil" // a comment "io" // testing alignment . "os" // a comment )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 13 22:24:31 UTC 2021 - 16.2K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/interactive.go
case n == "source_path": continue case n == "nodecount" && v == "-1": comment = "default" case v == "": // Add quotes for empty values. v = `""` } if comment != "" { comment = commentStart + " " + comment } args = append(args, fmt.Sprintf(" %-25s = %-20s %s", n, v, comment)) } sort.Strings(args) ui.Print(strings.Join(args, "\n")) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 18:58:12 UTC 2022 - 10.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/list_issue_56509.txt
# Test that a directory with an .s file that has a comment that can't # be parsed isn't matched as a go directory. (This was happening because # non-go files with unparsable comments were being added to InvalidGoFiles # leading the package matching code to think there were Go files in the # directory.) cd bar go list ./... ! stdout . cd .. [short] skip # Test that an unparsable .s file is completely ignored when its name
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 21:02:24 UTC 2022 - 740 bytes - Viewed (0) -
src/cmd/cgo/ast.go
var pieces []string for _, com := range g.List { c := com.Text // Remove comment markers. // The parser has given us exactly the comment text. switch c[1] { case '/': //-style comment (no newline at the end) c = c[2:] + "\n" case '*': /*-style comment */ c = c[2 : len(c)-2] } pieces = append(pieces, c) } return strings.Join(pieces, "") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 07 16:54:27 UTC 2023 - 14.3K bytes - Viewed (0) -
.github/hub_scripts/pr_ci.sh
# # # Simple shell script for launching CI jobs using the @bot-gradle GitHub comment listener. # Uses the [hub](https://hub.github.com/) CLI command to issue API requests to GitHub. # This script must be executed from the branch associated with the PR to issue the command on. # PR_NUMBER=$(hub pr show -f '%I')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 22 15:25:21 UTC 2021 - 1K bytes - Viewed (0) -
src/go/doc/doc.go
} // Parser returns a doc comment parser configured // for parsing doc comments from package p. // Each call returns a new parser, so that the caller may // customize it before use. func (p *Package) Parser() *comment.Parser { return &comment.Parser{ LookupPackage: p.lookupPackage, LookupSym: p.lookupSym, } } // Printer returns a doc comment printer configured
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 11.2K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/LexerTest.kt
"// second file annotation //second comment, just for fun\n" + "\n" + "@file : [ SuppressWarnings Incubating Suppress(\n" + " \"unused\",\n" + " \"nothing_to_inline\"\n" + ") ]\n" + "\n" + "/* /* one more weird comment here */ */" + "package com.example\n" +
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 4.6K bytes - Viewed (0)