- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 579 for COMMENT (0.1 sec)
-
platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/RegexBackedCSourceParserTest.groovy
} def "ignores comment after directive"() { when: sourceFile << """ #include "test1" // A comment here #include "test2" /* A comment here */ #include "test3" /* A comment here */ #include <system1> // A comment here #include <system2> /* A comment here */ #include <system3> /* A comment here */ #include MACRO1 // A comment here #include MACRO2 /*
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 34.3K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/interactive.go
} // Add comments for all sample types in profile. comment = "[" + strings.Join(st, " | ") + "]" 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))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 18:58:12 UTC 2022 - 10.6K bytes - Viewed (0) -
pkg/proxy/nftables/helpers_test.go
add element ip testing no-endpoint-nodeports { tcp . 3001 comment "ns2/svc2:p80" : drop } add element ip testing no-endpoint-services { 1.2.3.4 . tcp . 80 comment "ns2/svc2:p80" : drop } add element ip testing no-endpoint-services { 192.168.99.22 . tcp . 80 comment "ns2/svc2:p80" : drop } `) var testExpected = dedent.Dedent(` add table ip testing { comment "rules for kube-proxy" ; }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 02 09:57:47 UTC 2024 - 48.5K bytes - Viewed (0) -
src/go/doc/comment/parse.go
// license that can be found in the LICENSE file. package comment import ( "slices" "strings" "unicode" "unicode/utf8" ) // A Doc is a parsed Go doc comment. type Doc struct { // Content is the sequence of content blocks in the comment. Content []Block // Links is the link definitions in the comment. Links []*LinkDef } // A LinkDef is a single link definition.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 33.5K bytes - Viewed (0) -
src/encoding/csv/reader.go
// or the Unicode replacement character (0xFFFD). Comma rune // Comment, if not 0, is the comment character. Lines beginning with the // Comment character without preceding whitespace are ignored. // With leading whitespace the Comment character becomes part of the // field, even if TrimLeadingSpace is true. // Comment must be a valid rune and must not be \r, \n, // or the Unicode replacement character (0xFFFD).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:32:28 UTC 2024 - 14.2K bytes - Viewed (0) -
src/go/ast/ast.go
type Comment struct { Slash token.Pos // position of "/" starting the comment Text string // comment text (excluding '\n' for //-style comments) } func (c *Comment) Pos() token.Pos { return c.Slash } func (c *Comment) End() token.Pos { return token.Pos(int(c.Slash) + len(c.Text)) } // A CommentGroup represents a sequence of comments // with no other tokens and no empty lines between. type CommentGroup struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 28 21:32:41 UTC 2024 - 35.6K bytes - Viewed (0) -
platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/BuildScriptBuilderKotlinTest.groovy
builder.methodInvocation(null, "foo", "bar") builder.propertyAssignment("has comment", "foo", "bar") builder.propertyAssignment(null, "foo", 123) builder.propertyAssignment(null, "foo", false) def b1 = builder.block(null, "block1") b1.methodInvocation("comment", "method1") b1.methodInvocation("comment", "method2") b1.methodInvocation(null, "method3")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 18 14:16:33 UTC 2023 - 16.1K bytes - Viewed (0) -
src/main/config/eclipse/formatter/java.xml
<setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries" value="true"/> <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters" value="insert"/> <setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter" value="insert"/>
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Sun Sep 17 06:39:42 UTC 2017 - 30.5K 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) -
platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/BuildScriptBuilderGroovyTest.groovy
builder.methodInvocation(null, "foo", "bar") builder.propertyAssignment("has comment", "foo", "bar") builder.propertyAssignment(null, "foo", 123) builder.propertyAssignment(null, "foo", false) def b1 = builder.block(null, "block1") b1.methodInvocation("comment", "method1") b1.methodInvocation("comment", "method2") b1.methodInvocation(null, "method3")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 18 14:16:33 UTC 2023 - 16.2K bytes - Viewed (0)