- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,557 for comment2 (3.04 sec)
-
.github/actions/comment-docs-preview-in-pr/app/main.py
logging.info(f"Using comments URL: {url}") response = httpx.post( url, headers=github_headers, json={ "body": f"📝 Docs preview for commit {use_pr.head.sha} at: {settings.input_deploy_url}" }, ) if not (200 <= response.status_code <= 300): logging.error(f"Error posting comment: {response.text}") sys.exit(1)
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Jan 09 15:02:53 UTC 2024 - 2.1K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/printer.go
} case ctrlSymbol: switch x { case none, semi /*, comment*/ : panic("unreachable") case newline: // TODO(gri) need to handle mandatory newlines after a //-style comment if !p.linebreaks { x = blank } } p.addWhitespace(x, "") // case *Comment: // comments are not Nodes // p.addWhitespace(comment, x.Text) 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) -
src/go/parser/parser.go
endline = p.file.Line(p.pos) for p.tok == token.COMMENT && p.file.Line(p.pos) <= endline+n { var comment *ast.Comment comment, endline = p.consumeComment() list = append(list, comment) } // add comment group to the comments list comments = &ast.CommentGroup{List: list} p.comments = append(p.comments, comments) return } // Advance to the next non-comment token. In the process, collect
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 08 20:07:50 UTC 2023 - 72.2K bytes - Viewed (0) -
src/cmd/go/internal/imports/build.go
line = bytes.TrimSpace(line[i+len(bStarSlash):]) continue Comments } continue Lines } if bytes.HasPrefix(line, bSlashSlash) { continue Lines } if bytes.HasPrefix(line, bSlashStar) { inSlashStar = true line = bytes.TrimSpace(line[len(bSlashStar):]) continue Comments } // Found non-comment text. break Lines } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 30 18:50:57 UTC 2023 - 10.4K bytes - Viewed (0) -
src/go/ast/walk.go
switch n := node.(type) { // Comments and fields case *Comment: // nothing to do case *CommentGroup: walkList(v, n.List) case *Field: if n.Doc != nil { Walk(v, n.Doc) } walkList(v, n.Names) if n.Type != nil { Walk(v, n.Type) } if n.Tag != nil { Walk(v, n.Tag) } if n.Comment != nil { Walk(v, n.Comment) } case *FieldList:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:34:10 UTC 2024 - 6.4K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/dumper.go
p.indent++ first := true if n != nil { p.printf("\n") first = false // p.printf("Span: %s\n", n.Span()) // if c := *n.Comments(); c != nil { // p.printf("Comments: ") // p.dump(reflect.ValueOf(c), nil) // a Comment is not a Node // p.printf("\n") // } } for i, n := 0, typ.NumField(); i < n; i++ { // Exclude non-exported fields because their
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 08 17:32:14 UTC 2021 - 4.5K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/WritePropertiesIntegrationTest.groovy
when: runProps() then: file("output.properties").text == "" } def "empty properties with comment are written properly"() { given: buildFile << """ task props(type: WriteProperties) { comment = "Line comment" outputFile = file("output.properties") } """ when: runProps() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 19 13:03:22 UTC 2023 - 6K bytes - Viewed (0) -
src/cmd/doc/doc_test.go
`Comment about exported constant`, // No comment for single constant. `Comment about exported variable`, // No comment for single variable. `Comment about block of constants`, // No comment for constant block. `Comment about block of variables`, // No comment for variable block. `Comment before ConstOne`, // No comment for first entry in constant block.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 19:16:55 UTC 2023 - 31.2K bytes - Viewed (0) -
cni/pkg/ipset/nldeps_linux.go
if ipsetErr, ok := err.(nl.IPSetError); ok && ipsetErr == nl.IPSET_ERR_EXIST { return nil } return err } func (m *realDeps) destroySet(name string) error { err := netlink.IpsetDestroy(name) return err } func (m *realDeps) addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 30 18:07:05 UTC 2024 - 3.9K bytes - Viewed (0) -
src/go/parser/parser_test.go
// f3 lead comment f3 int // f3 line comment f4 int /* not a line comment */ ; f5 int ; // f5 line comment f6 int ; /* f6 line comment */ f7 int ; /*f7a*/ /*f7b*/ //f7c } `, ParseComments) if err != nil { t.Fatal(err) } checkFieldComments(t, f, "T.F1", "/* F1 lead comment *///", "/* F1 */// line comment") checkFieldComments(t, f, "T.F2", "// F2 lead// comment", "// F2 line comment")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 31 20:26:14 UTC 2024 - 24.6K bytes - Viewed (0)